Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Type mismatch error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Type mismatch error

 Post Reply Post Reply
Author
Message
oyalhi View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2005
Location: Turkey
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote oyalhi Quote  Post ReplyReply Direct Link To This Post Topic: Type mismatch error
    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
Back to Top
oyalhi View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2005
Location: Turkey
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote oyalhi Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.211 seconds.