Hi I havea vb program connecting to Creo Session.I use this program to update Creo Session parameters. I would like to add a button to Creo interface so that I could launch my vb program. I've tried the Add Button function in VB API Example installed with Creo. When I click the "Add Button" button I get an pfcException::XToolkitNotFound error. Basically it fails here:
'=========================================================== ===========
'Command is created which will be associated with the button. The class
'implementing the actionlistener must be given as input.
'=========================================================== ===========
buttonListener = New GatherInputListener()
inputCommand = aC.Session.UICreateCommand("INPUT", buttonListener)
I have installed the the Creo Toolkit with Creo so I don't think that is the problem. Can anybody maybe help me to try an create a listener button in Creo for opening my vb Program?
Thanks
'=========================================================== ===========
'Command is created which will be associated with the button. The class
'implementing the actionlistener must be given as input.
'=========================================================== ===========
buttonListener = New GatherInputListener()
inputCommand = aC.Session.UICreateCommand("INPUT", buttonListener)
I have installed the the Creo Toolkit with Creo so I don't think that is the problem. Can anybody maybe help me to try an create a listener button in Creo for opening my vb Program?
Thanks