Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I am using Creo Parametric Release 6.0 and Datecode6.0.3.0
Toolkit - VB API is used to build an application to change the dimensions of a Creo model. The application connects with an existing Creo Session, opens the Creo model from given Working Directory and edits the dimensions.
We are facing difficulty in connecting with Creo in the first place.
Dim con As pfcls.IpfcAsyncConnection
Dim Casync As New pfcls.CCpfcAsyncConnection
Set Casync = New pfcls.CCpfcAsyncConnection
Set con = Casync.Connect("", "", "", 1)
Finding a Automation Error in the .Connect() line of code.
This error does not occur in my laptop but in other employee's laptop besides them having the same System version and Creo version as me.
Here are the errors that I faced
Automation Error. The server threw an exception.
pfcException:XtoolkitNotFound
We are facing difficulty in connecting with Creo in the first place.
Dim con As pfcls.IpfcAsyncConnection
Dim Casync As New pfcls.CCpfcAsyncConnection
Set Casync = New pfcls.CCpfcAsyncConnection
Set con = Casync.Connect("", "", "", 1)
Finding a Automation Error in the .Connect() line of code.
This error does not occur in my laptop but in other employee's laptop besides them having the same System version and Creo version as me.
Sometimes even the Creo Parametric Session and window Closes automatically though there is no line of code which mentions to close Creo.
Have a look at the solution here - "Calling on IpfcAsyncConnection.Connect() fails with error: "System.Runtime.InteropServices.COMException (0x80020009): pfcException::XToolkitNotFound"": https://www.ptc.com/en/support/article/cs225432
bro i install creo 9.0.0.0 student edition i installed sucessfully but when i open it shutdown and it shows because it could not run the quality agent,which is required in this edition and error is 0x06000012.
@SS_10383486 wrote:
bro i install creo 9.0.0.0 student edition i installed sucessfully but when i open it shutdown and it shows because it could not run the quality agent,which is required in this edition and error is 0x06000012.
Hi,
please read discussions mentioned in search results