Hello Everyone,
For a project at work we are planning to use the VB API of Creo 2.0 to automate some engineering processes. I have set up Creo Parametric 2.0 (M110) and it works so far. I have also successfully run vb_api_register.bat and have added the correct reference to the VB API examples project. In the Object Browser of Visual Studio I can explore the methods, classes, interfaces and so on that the API has to offer. I am missing three interfaces though:
CCpfcAsyncConnection, IpfcAsyncConnection and IpfcAsyncActionListener are missing.
All else seems to be there for the examples to work, but can't test them since these three types are not defined by the API.
Best Regards
Hans
Solved! Go to Solution.
The solution was really simple: Running the vb_api_register.bat with an account that has admin-rights is not enough if UAC is turned on. You have to force the UAC-prompt to appear by right clicking the batch file and selecting "Run As Administrator". Otherwise it will just end without any message telling that it was unsuccessful.
The solution was really simple: Running the vb_api_register.bat with an account that has admin-rights is not enough if UAC is turned on. You have to force the UAC-prompt to appear by right clicking the batch file and selecting "Run As Administrator". Otherwise it will just end without any message telling that it was unsuccessful.