Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with CREATEOBJECT()
Message
From
01/05/2007 12:03:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/05/2007 11:52:22
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01221477
Message ID:
01221534
Views:
14
>>>I have the following code:
>>>
>>>
>>>LOCAL oDocOM AS MSXML2.DomDocument
>>>LOCAL oNode AS MSXML2.IXMLDOMNode
>>>
>>>oDocOM = CREATEOBJECT('MSXML2.DomDocument')
>>>oNode = CREATEOBJECT('MSXML2.IXMLDOMNode')
>>>
>>>
>>>It errors on the last line with "Class definition MSXML2.IXMLDOMNODE is not found."
>>>
>>>Intellisense kicks in if I type "oNode." The variable oDOcOM gets created without problem. Does anyone know what I'm doing wrong here?
>>>
>>>TIA
>>>
>>>Mike
>>
>>Mike,
>>Wouldn't you create the oNode through oDocOM? What are you doing really?
>>Cetin
>
>Cetin,
>I'm trying to call a web service that takes a "nodelist" as a parameter. I thought that I'd start by creating "nodes", add them to a "nodelist" then pass that latter to the web service.
>
>Am I way off base here?
>
>Mike

Mike,
You can create but not directly via the interface AFAIK. Instead use documentElement. You could also use plain xml to add nodes I think.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform