VB API not able to connect -- some error-- help
Hi,
i have all set up VB api in my pc along with i have marked vb reference in creo as well but when i try to run below code i am getting error;
'globale Variablen:
Dim asyncConnection As IpfcAsyncConnection
Dim cAC As CCpfcAsyncConnection
Dim hSession As IpfcBaseSession
Dim hCurMdl As IpfcModel
Function Connect2ProE() As Boolean
Set cAC = New CCpfcAsyncConnection
Set asyncConnection = cAC.Connect(Null, Null, Null, Null)
Set hSession = asyncConnection.session
Connect2ProE = True
End Function
Private Sub but_connect_proe_Click()
bProeConnect = Connect2ProE()
End Sub


your help really be appreciated. Thanks

