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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to configure VB API for multiple versions of Creo in a machine

sahmeds
10-Marble

How to configure VB API for multiple versions of Creo in a machine

Hi,

 

I'm trying to configure multiple versions of creo (Creo 8 and Creo 10) in a machine and i need to access vb api of each version based on the user action such as open. as per the instructions i had added pro_comm_msg.exe of Creo 10 to environment variables. my doubt is that how to setup the same for Creo 8?

 

And will the COM classes and interfaces will be segregated for both the version and both can work parallelly?

3 REPLIES 3


@sahmeds wrote:

as per the instructions i had added pro_comm_msg.exe of Creo 10 to environment variables.


Not required. Delete manually added variable.

In bin\*.psf this variable is set for each version of Creo:

ENV=PRO_COMM_MSG_EXE=%PRO_DIRECTORY%\%PRO_MACHINE_TYPE%\obj\pro_comm_msg.exe

 

I'm not sure what to do with  vb_api_register.bat.

Perhaps, register only for latest version of  the Creo.

Use classes and compile the application separately for each version.

Hi, Thanks for the reply. the problem is that if i compile with multiple versions separately, there are API/Class mismatch.

So, in deployed machine, both the versions of vb api/classes is required.

Hi @sahmeds,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.

Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,

Catalina
PTC Community Moderator
Announcements


Top Tags