Hey guys,
Im a bit of a newb with Visual Basic. Anyway, Im currently playing around with deleting and modifying controls. Ive created a program where you have to enter a path location for a file you would like to delete and then press a botton to delete it using the "KILL" command.
I wanted to expand this program, so Im trying to add a "BROWSE" function instead of having to type the entire file location yourself manually into the text box.
It would make it alot easier and practical (even though I know you could just select the file in windows and hit the delete key).
Im trying to use an "OpenFileDialog" I dunno if thats the write thing to do. My father whos a programmer suggest I use an API Call to do it. But im fooling around and I discovered OpenFileDialog.
I dunno how do run it though. I cant figure out how to run the diolog and then, when the user chooses a file, how to put the path of that file in Textbox1.text.
ANY HELP WOULD HELP!!!
Im a bit of a newb with Visual Basic. Anyway, Im currently playing around with deleting and modifying controls. Ive created a program where you have to enter a path location for a file you would like to delete and then press a botton to delete it using the "KILL" command.
I wanted to expand this program, so Im trying to add a "BROWSE" function instead of having to type the entire file location yourself manually into the text box.
It would make it alot easier and practical (even though I know you could just select the file in windows and hit the delete key).
Im trying to use an "OpenFileDialog" I dunno if thats the write thing to do. My father whos a programmer suggest I use an API Call to do it. But im fooling around and I discovered OpenFileDialog.
I dunno how do run it though. I cant figure out how to run the diolog and then, when the user chooses a file, how to put the path of that file in Textbox1.text.
ANY HELP WOULD HELP!!!