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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Setting Up a VB Application

CAD_user
13-Aquamarine

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?

1 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

Thanks, now it worked.
Top Tags