Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instance Object with Random Name Problem
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Instance Object with Random Name Problem
Miscellaneous
Thread ID:
00638538
Message ID:
00638538
Views:
43
cProcName = "oProc"+Sys(3)
&cProcName = CreateObject("ADODB.Stream")
That works, but then I get no Intellisense when I try
Eval(cProcName).
or
(cProcName).
Also, doing the following
&cProcName.Execute("a")
gives me an error
"File 'oproc42769296execute.prg' does not exist."
When I know that Execute is a method in the ADODB Connection object.

I am trying to instance the same object multiple times, each with random names/handles.

Help
Next
Reply
Map
View

Click here to load this message in the networking platform