daveydave400
Newcomer
Alright I want to make a simple start up program where I have a list of Names of Programs with check boxes next to them. I have it so if you click on the Yes button it uses if commands to open what ever program(s) were checked.
The First Part - I want to add a button for OpenFileDialog so if a program is not listed, then a user can select the .exe file they want to run or a .doc file instead of just word, but I have it all worked out except for I can't open the file would anyone please tell me the code to open a file from an openfiledialog box, I know its simple but for some reason I am just missing something (It is more for other programs because otherwise I can just use "The Second Part").
The Second Part - For the Yes button I want to have it so if openfiledialog1.filename = anything with a filename(or later a filtered extension) then open that filename but I cant get it to let me put *.* or *.doc. So my question is what do I put
How do I go about this? If anyone has any clue on how to fix my problem please help, much appreciated. Thanks
P.S. If anyone knows any websites that are similar to ebypass.org for getting past school district filters on websites please list some, I think my school is filtering ebypass.org now or something cuz it doesnt work there but it does at home.
The First Part - I want to add a button for OpenFileDialog so if a program is not listed, then a user can select the .exe file they want to run or a .doc file instead of just word, but I have it all worked out except for I can't open the file would anyone please tell me the code to open a file from an openfiledialog box, I know its simple but for some reason I am just missing something (It is more for other programs because otherwise I can just use "The Second Part").
The Second Part - For the Yes button I want to have it so if openfiledialog1.filename = anything with a filename(or later a filtered extension) then open that filename but I cant get it to let me put *.* or *.doc. So my question is what do I put
Code:
If OpenFileDialog1.FileName = (*.*) Then System.Diagnostics.Process.Start(OpenFileDialog1.FileName)
How do I go about this? If anyone has any clue on how to fix my problem please help, much appreciated. Thanks
P.S. If anyone knows any websites that are similar to ebypass.org for getting past school district filters on websites please list some, I think my school is filtering ebypass.org now or something cuz it doesnt work there but it does at home.