Hey guys,
I'm a bit of a newb with Visual Basic. Anyway, I'm currently playing around with deleting and modifying controls. I've 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 I'm 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).
I'm 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 i'm fooling around and I discovered OpenFileDialog.
I dunno how do run it though. I can't 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!!!
I'm a bit of a newb with Visual Basic. Anyway, I'm currently playing around with deleting and modifying controls. I've 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 I'm 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).
I'm 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 i'm fooling around and I discovered OpenFileDialog.
I dunno how do run it though. I can't 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!!!