cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

VB API Example not working

AK_9776674
9-Granite

VB API Example not working

Hi All,

 

I am new to Creo VB API, recently installed it with Creo version 7.0.9.0. I am trying out the example Async_Mode_Example.xls in folder C:\Program Files\PTC\Creo 7.0.9.0\Common Files\vbapi\vbapi_examples. 

But when I open the file, provide the path to parametric.exe file and click on 'Run Async' button, a dialog box pops up with the following message - 

Process Failed : Unknown error occured.

Error No: -2147352567

Error: pfcExceptions::XToolkitNotFound

 

I checked that that the 'PRO_DIRECTORY' and 'PRO_COMM_MSG_EXE' variables are set correctly. I am not sure how to start nmsd executable. I just opened a creo parametric session and tried again but same error.

 

Please help with this issue. Snapshot attached.

 

Thanks,

Apoorva

 

1 REPLY 1

 Hi,

 

Have a look at the following article - "Toolkit VB API executing the method: pfcSession.RegistServer() throws error message "Run-time error ‘2147352567 (80020009)’: pfcExceptions::XToolBatInputs" in Creo Parametric": https://www.ptc.com/en/support/article/cs356293 

Announcements


Top Tags