cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Setting Up a VB Application

CAD_user
14-Alexandrite

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?

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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_user
14-Alexandrite
(To:Ketan_Lalcheta)

Thanks, now it worked.
Announcements


Top Tags