|
-
Oct 6th, 2002, 10:08 AM
#1
Thread Starter
Member
XML Reader
Why is this not possible :
Dim objXmlReader As XmlTextReader()
objXmlReader = New XmlTextReader("Filename")
but this is:
Dim objXmlReader As XmlTextReader = New XmlTextReader("Filename")
-
Oct 8th, 2002, 03:25 AM
#2
Member
Re: XML Reader
Originally posted by Josch
Why is this not possible :
Dim objXmlReader As XmlTextReader()
objXmlReader = New XmlTextReader("Filename")
but this is:
Dim objXmlReader As XmlTextReader = New XmlTextReader("Filename")
In the first one, you're creating an array of XmlTextReaders... this should work:
VB Code:
Dim objXmlReader As XmlTextReader
objXmlReader = New XmlTextReader("Filename")
Matthew Draper
[email protected]
"Genius may have its limitations, but stupidity is not thus handicapped." - Elbert Hubbard
"I like long walks, especially when they are taken by people who annoy me." - Noel Coward
-
Oct 8th, 2002, 12:00 PM
#3
Thread Starter
Member
Re: Re: XML Reader
You are right, sorry for that stupit mistake.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|