Ok, after searching around, I've seen a couple of examples of code similar to the following:
Create a reference to mach3.exe, then:
Public objMach As mach4.IMach4 'Access the embedded type library
Private Sub test() 'Simple test sub
Set objMach = GetObject(, "Mach4.Document") 'Create the object
objMach.LoadGCodeFile "c:\mach3\gcode\roadrunner.tap" 'Load Gcode
Set objMach = Nothing 'dereference Mach3 object
End Sub
My problem is that each time this program gets to the GetObject line, I get an error message "Runtime error 429: ActiveX component can't create object"
I know that Mach3.exe is properly referenced, because it's interface's methods and events show up.
No one else has reported this problem, so here's my question: Am I getting this error because I'm using the trial version of Mach 3?
VB6 says something about this error occuring when a license key is not found.
Any light you can shed on this matter would be greatly appreciated