Print Page | Close Window

Type mismatch error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2831
Printed Date: 16 September 2024 at 4:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Type mismatch error
Posted By: oyalhi
Subject: Type mismatch error
Date Posted: 01 September 2005 at 5:00pm

After succesfully creating my application I made an EXE file, then I ran the EXE file and got an error: Run-time error '13', Type mismatch.  Amazaed at this error, I opened up VB and tried to run the code, I got the same error.  The line giving me the error is:

Set g_panInvoiceGroup = DockingPaneManager.CreatePane(ID_PANE_INVOICE_GROUP, 500, 600, DockTopOf, Nothing)

This is just a simple command.  There is the following define:

Private Const ID_PANE_INVOICE_GROUP      As Long = 1002

I have a valid licence, I am using v9.60.  What could be wrong?  Any ideas?  I am stuck really.

Thanks,




Replies:
Posted By: oyalhi
Date Posted: 01 September 2005 at 5:06pm

Well, I solved it, I had the following variable:

Public g_panLog  As Pane

I had to change it to:

Public g_panLog  As XtremeDockingPane.Pane

Because, another control was using the same object name 'Pane'.  I guess during compaliation, that reference became a higher priority.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net