opening error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jovit1188
    New Member
    • Mar 2010
    • 2

    opening error

    string filename = @"C:\Wiimote Graph Points\" + textBox1.Text + " " + "xyz.txt";
    but it can't..i already use File.Open(filen ame)..
    it has an Error 1 No overload for method 'Open' takes '1' arguments..i dnt know why..
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    If you would just read about the functions you are trying to use you might understand.

    File.Open doesn't take just a filename. That's what the error is saying
    There is no method (overloaded) for File.Open that only takes one parameter (the filepath)

    Comment

    Working...