View Single Post
  #1  
Old 30-06-2006, 15:56
jabky
Guest
 
Posts: n/a
Default Run macro from VB.Net 2005

I am trying to run a macro from VB.net 2005 and I am getting the following error:
Retrieving the COM class factory for component with CLSID {4A110034-2109-4B5D-BC63-17AE8914E384} failed due to the following error: 80040154.
I have stripped out everything from the code except the following:

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myGMS As CorelDRAW.GMSManager
myGMS = New CorelDRAW.GMSManager
End Sub
End Class

If I comment out the myGMS = New CorelDRAW.GMSManager line, it does not throw the error.

Anyone know what may be causing this?
Reply With Quote