Hi All,
I am running Microstation Connect Edition Version 10.17.02.61 and am having issues with a macro that was previously developed in Microsation Powerdraft v8i.
I am getting an error saying VBA interface error: failed creating the comp manager - 0x80040583 when trying to load in the macro in the VBA manager.
I can send the MVBA file through if needed for review, but if anyone has pointers on how to rectify the issue then they would be greatly appreciated.
Thanks,
Kieran
Kieran Rutter said:am having issues with a macro that was previously developed in Microsation Powerdraft v8i
Can you run other VBA macros in MicroStation CONNECT? That is, is your problem specific to your old macro or a general VBA problem?
Regards, Jon Summers LA Solutions
Jon Summers said:am having issues with a macro
Can you do something really simple...
YourProjectName
Public Sub Main () Const ProcedureName As String = "Main" Debug.Print ProcedureName ShowMessage ProcedureName, ProcedureName End Sub
Run that in the IDE in using debug, then run from the key-in window using vba run [YourProjectName].Main
vba run [YourProjectName].Main
Hi Jon,
I can't even get microstation connect to create a new vba project for some reason, still having the interface error come up.
Kieran Rutter said:I can't even get microstation connect to create a new vba project for some reason, still having the interface error come up
Occasionally an automated Windows update breaks VBA. Try repairing your MicroStation installation.
Also, If you install Microsoft Office 32-bit after Microstation, it will break vba. Repairing Microstaton or reinstalling VBA 64-bit would help.
--Robert
Answer Verified By: Kieran Rutter
Turns out this was the culprit. I had an older version of Access Database which prevented a 64-bit office being installed. Got rid of that and got everything updated to 64-bit and we are now fully functioning with VBA.