Type mismatch error |
Post Reply |
Author | |
oyalhi
Newbie Joined: 27 January 2005 Location: Turkey Status: Offline Points: 14 |
Post Options
Thanks(0)
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, Edited by oyalhi |
|
oyalhi
Newbie Joined: 27 January 2005 Location: Turkey Status: Offline Points: 14 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |