Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Re: More 7.9.x to VX translations

$
0
0

Finally getting another chance to poke at this some more.

 

Adding a reference to VisualBasic and using

Interaction.CreateObject

appears to be heading in the right direction.

 

I can now create new instances of PCB layout and xDx Designer but that's about it.  Everything else crashes or throws an error.

 

Working:

Interaction.CreateObject ("MGCPCB.ExpeditionPCBApplication");

Interaction.CreateObject ("Viewdraw.Application");

 

Code works but tool ends up crashing:

Interaction.CreateObject ("LibraryManager.Application");

 

Does not work:

all the things that I need to work.

Interaction.CreateObject ("CellEditorAddin.CellEditorDlg”);

Interaction.CreateObject("MGCPCBLibraries.PartsEditorDlg");

None of the automation engines work either.

 

Adding the ".16" after the object name for vx.1.1 only changes the error from an "unhandled exception" to "could not create ActiveX component." Additionally, running all of these commands inside or outside of the "MGC PCB Command Window VX.1.1" makes no difference for me.


Viewing all articles
Browse latest Browse all 4541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>