Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instance Object with Random Name Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Instance Object with Random Name Problem
Divers
Thread ID:
00638538
Message ID:
00638538
Vues:
42
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform