Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparing objects to a text string

Status
Not open for further replies.

intrex

IS-IT--Management
Apr 14, 2002
70
US
Hello,

I am very new to vbscript so bare with me here.

I am trying to compare an object to a text string. The object comes from an xml file.

If (objXMLDoc.documentElement.childNodes(1).childNodes(7))="No Detailed Status Available" Then

I know that this doesn't really make sense, I just posted it for an example of what I am tring to acheive.

Also I want to be able to make objects point to a text string. Would I do this using the set function?

set match = "monday"

Any help would be greatly appreciated.

intrex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top