Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense not working. Try this...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01261329
Message ID:
01261380
Views:
9
>>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform