Skip to main content
14-Alexandrite
May 13, 2019
Solved

Setting Up a VB Application

  • May 13, 2019
  • 1 reply
  • 1904 views

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?

Best answer by Ketan_Lalcheta

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

1 reply

1-Visitor
May 14, 2019

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

CAD_user14-AlexandriteAuthor
14-Alexandrite
May 14, 2019
Thanks, now it worked.