Skip to main content
14-Alexandrite
May 13, 2019 10:03 PM UTC
Solved

Setting Up a VB Application

I'm trying to setting up creo, for vbapi.

I've followed the steps in VBUG.pdf file.

 

1st- Add the environment variable PRO_COMM_MSG_EXE =C:\Program Files\PTC\Creo 5.0.0.0\Common Files\x86e_win64\obj\pro_comm_msg.exe

 

2nd- Then I run the file: C:\Program Files\PTC\Creo 5.0.0.0\Parametric\bin\vb_api_register.bat

 

Then I should be able to add the references to my vb projetc. But there is no COM references for CREO.

 

What am I missing?

2-Explorer
May 14, 2019 9:34 AM UTC

Below should be your quick check points:

 

1. PRO_COMM_MSG_EXE path should not be having space. If path is having spaces, try to convert path as short path and set this path as environment variable value.

 

2. Hope you are setting System level Environment variable.

 

3. Hope you are running bat file with admin access.

 

-HIH

Ketan

2 replies

2-Explorer
May 14, 2019 9:34 AM UTC

Below should be your quick check points:

 

1. PRO_COMM_MSG_EXE path should not be having space. If path is having spaces, try to convert path as short path and set this path as environment variable value.

 

2. Hope you are setting System level Environment variable.

 

3. Hope you are running bat file with admin access.

 

-HIH

Ketan

Translate
CAD_user14-AlexandriteAuthor
14-Alexandrite
May 14, 2019 10:13 AM UTC
Thanks, now it worked.
Translate