Skip to main content
1-Visitor
January 11, 2023
Solved

VB API Examples not working.

  • January 11, 2023
  • 1 reply
  • 1749 views

I am using Creo Parametric Release 9.0 and Datecode9.0.2.0

Running the VB API Examples .net project I am able to connect to an existing Creo parametric session. From there I can't get any of the provided example functions to work. One thing to note when the software was installed it mentioned java was not found. Is that required to get the VB API to work? I have gone through the VB API and set the environment paths, but it is unclear what folder the PRO_DIRECTORY should be set to.

What is needed to get the VB API Examples to function?

Here are the errors that I faced
ptcExceptions::xToolKitNotFound

Best answer by MichaelW

Hi, look at this article CS224186, it sounds a valuable solution:

 

Description

  • VB API functions IpfcSession.UIAddMenu(), IpfcSession.UIAddButton() and IpfcSession.UIDisplayMessage() fail with exception XToolKitNotFound

Cause

Resolution

 

1 reply

MichaelW17-PeridotAnswer
17-Peridot
January 24, 2023

Hi, look at this article CS224186, it sounds a valuable solution:

 

Description

  • VB API functions IpfcSession.UIAddMenu(), IpfcSession.UIAddButton() and IpfcSession.UIDisplayMessage() fail with exception XToolKitNotFound

Cause

Resolution