Too many arguments to Sub New()

  • 15 years ago

    hie
    i am trying to read an xml document using a XmlTextReader as below


    Dim objtxtRdr As xmlTextReader = New xmlTextReader(TextBox1.text, XmlNodeType.Document, Nothing)
    the part in brackets is underlined and this messsage is dispalyed when i rollover it "too many arguments to Sub New"
    any help or suggestions

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter” - Eric Raymond