Community Tip - You can change your system assigned username to something more personal in your community settings. X
How startup application (.dll or .exe) with VBapi in Creo Parametric 2.0?
Solved! Go to Solution.
The way the VBAPI works is that an external program is started and either starts Creo or finds a link to a running copy of Creo. The external program adds the button to the menu and then waits using a Listener to report that the button was pushed. When the button is pushed the external program does whatever it's told to do when the button is pushed.
From the Creo interface you can't directly attach an external program - you can start a mapkey that runs an OS script. See http://communities.ptc.com/message/192718#192718 as an example.
What are you trying to do?
The VB API doesn't start anything. What language are you using to access the PTC session through the API?
It's from that language that you will start other applications.
Also, a dll is also not an application, it is a library of functions.
Hi, David Schenken
OK, my objetive is: Execute application (test.exe) through of menu Creo Parametric.
Note: I'm using C#, with VBAPI. I created menu ribbon, but I can not add an event to the button to call this executable (test.exe).
You can help me?
The way the VBAPI works is that an external program is started and either starts Creo or finds a link to a running copy of Creo. The external program adds the button to the menu and then waits using a Listener to report that the button was pushed. When the button is pushed the external program does whatever it's told to do when the button is pushed.
From the Creo interface you can't directly attach an external program - you can start a mapkey that runs an OS script. See http://communities.ptc.com/message/192718#192718 as an example.
Great Answer!
Thanks Dude!