Reference to Excel 10.0 Library |
Post Reply |
Author | |
brit
Newbie Joined: 27 November 2006 Location: Korea, South Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 27 November 2006 at 11:32pm |
Hi all
I'm currently testing the Dockpane control, and have encountered some bug: I am using VB 6.0, and I need to call an excel file to store some data, print reports etc. For this, I need the reference to the Microsoft Excel 10.0 Object Library in my VB project. However, when I run the application, VB crashes with the following message
Run-Time error '12':
Type mismatch
The error points to the code for the loading of the form containing the DockPane object,
Private Sub Form_Load()
Dim D as Pane
Set D = Me.DockingPane1.CreatePane(4, 320, 60, DockRightOf, Nothing)
etc...
Any ideas for a workaround on this issue? What is causing this crash??
Thanks in advance!!
JM
|
|
brit
Newbie Joined: 27 November 2006 Location: Korea, South Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Hi all (again)
Sorry for this message, I just noticed that the previous Post tackled the same issue, and included the fine solution on top of that
Topic closed! ^^
JM
|
|
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 |