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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Upgrading my VBA code to Creo 2.0

huggre
1-Newbie

Upgrading my VBA code to Creo 2.0

Hi

Im trying to upgrade some old VB.NET applications to Creo 2.0

When adding the new Creo Parametric Type Library to my project i get into some problems.

Where is the pfcls namespace?

Has it been replaced with the pfc namespace?

Where is the IpfcAsyncConnection class?

What am i missing here??, has PTC changed the VB API without updating the documentation??


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3
FC
4-Participant
4-Participant
(To:huggre)

Why to change the namespace name, I have to update all my code?

Anyone can help on this changes?

Accordingly do vbug.pdf manual distributed with Creo:

To register the COM server, run the

vb_api_register.bat file located at <creo_loadpoint>/Parametric/bin

Try to run this bat file and all class libraries for VBA should return as expected.

Beware that with Creo2 you need a custom installation to include VB support.

Hope this helps,

I confirm that the option is available in a custom installation of CREO 2.0 form DVD

Top Tags