What am I doing wrong?
I have wrote a ptgram that has no functionality only one class. And i can't register it in creo
text directories are added protk.dat added but there is still an error.

I have wrote a ptgram that has no functionality only one class. And i can't register it in creo
text directories are added protk.dat added but there is still an error.

VB application can't operate as auxiliary application registered using protk.dat. VB application can only connecting to Creo.
So, if you want integrate auxiliary application in to Creo, then you must developing using Java (J-Link, Java OTK) or C/C++ (ProToolkit/C++ OTK).
To get responses from Creo (buttons and listeners) to VB app need to create "Full Asynchronous Mode"
From documentation: "Full asynchronous mode is identical to the simple asynchronous mode except in
the way the VB API application handles requests from Creo Parametric. In simple
asynchronous mode, it is not possible to process these requests. In full
asynchronous mode, the application implements a control loop that ‘‘listens’’ for
messages from Creo Parametric. As a result, Creo Parametric can call functions in
the application, including callback functions for menu buttons and notifications."
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.