Skip to main content
1-Visitor
July 5, 2013
Question

Upgrading my VBA code to Creo 2.0

  • July 5, 2013
  • 2 replies
  • 2361 views

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.

2 replies

1-Visitor
November 7, 2013

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

Anyone can help on this changes?

1-Visitor
January 31, 2014

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,

1-Visitor
April 30, 2015

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