VBA run-time error -2147352567(80020009)
Hi all~
I am a beginner of PROE.
I've been trying to connect creo parametric by using Excel VBA.
Below is my sample code.
Dim asyncConnection As IpfcAsyncConnection
Dim cAC As CCpfcAsyncConnection
Dim session As IpfcBaseSession
Dim descModel As IpfcModelDescriptor
Dim descModelCreate As CCpfcModelDescriptor
Dim model As IpfcModel
Dim workDir As String
workDir = "C:\Program Files\Creo 2.0\Parametric\bin\parametric.exe"
Set cAC = New CCpfcAsyncConnection
Set asyncConnection = cAC.Start(workDir, "Working Directory")
And then, I got an run time error like below.
run-time error -2147352567(80020009)
pfcExceptions::XToolkitGeneralError
What is this error, and how to resolve this error?

