Login | |
|
 |
RE: Object doesn't support this property or method?? - 11/8/2008 4:41:53 AM
|
|
 |
|
| |
TNO
Posts: 1402
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
A couple nitpicks first for future reference: This is an old COM object, and may not be supported in the near future. (I don't think there is even a Type Library in Windows Vista any more for this). So, replace this: CreateObject("Microsoft.XMLDOM") with this: CreateObject("MSXML2.DomDocument.3.0") this version is cross compatible across all current windows versions and expected in the next version. You don't need to write literal tags to a file either, you can do it in memory with the DOM. Take a look at this: http://www.w3schools.com/dom/default.asp also, use UTF-8 as the encoding
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Object doesn't support this property or method?? - 11/9/2008 2:24:35 AM
|
|
 |
|
| |
TKS
Posts: 187
Score: 0
Joined: 5/16/2008
Status: offline
|
@ ehvbs -- Took me some time to understand whats going on in your code, but I think I got it down pat now. Thanks! @ TNO -- Done and bookmarked. Thanks!
|
|
| |
|
|
|
|
|