Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense not working. Try this...
Message
De
17/10/2007 08:53:43
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
16/10/2007 18:56:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01261329
Message ID:
01261452
Vues:
12
>>>>>From the command window the following works:
>>>>>
>>>>>PUBLIC oMSDOM AS "Microsoft.XMLDOM"
>>>>>oMSDOM = CREATEOBJECT("Microsoft.XMLDOM")
>>>>>oMSDOM. <--Intellisense kicks in here as expected!!!
>>>>>
>>>>>Now in a prg, type the same thing and you'll see that no intellisense happens.
>>>>>
>>>>>If you try the following from the command window or in a prg, intellisense works:
>>>>>
>>>>>PUBLIC oHTTP AS "Microsoft.XMLHTTP"
>>>>>oHTTP = CREATEOBJECT("Microsoft.XMLHTTP")
>>>>>oHTTP.
>>>>>
>>>>>Why the inconsistency? This happens in both VFP9 SP1 and SP2.
>>>>>
>>>>>Mike
>>>>
>>>>Seems to work OK for me.
>>>
>>>I get the same result as Mike. Weird.
>>
>>Ah, I didn't realize those were too different sets of code (I read this as, "this code works from the command window but doesn't work from a PRG"). The second set of code also fails for me. I wonder if it's related to the fact that there are multiple versions of this COM component?
>
>Seems to me that if it works in the command window, it should work in the prg, or, if it doesn't work in the prg, it shouldn't work in the command window. If it works at all, then I can't see how it could be due to multiple versions.
>
>It's an inconsistency that seems pretty odd.

I agree with you 100%.

Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform