Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Dim File


Message #1 by "F-J Mattmann" <f-j.mattmann@e...> on Fri, 2 Aug 2002 07:59:56
Hi, can anyone help me,
What is wrong with this code?:
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
sub Page_load(obj As Object, E as EventArgs)

    dim Filen as new File("D:/Framat/Testfile.txt")

    objReader=Filen.OpenText
    response.Write(objReader.Read & "<br>")
    objReader.Close
end sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''

I get the response: 
System.IO.File.Private Overloads Sub New()' is not accessible in this 
context because it is 'Private'

  Return to Index