1.

Solve : batch program?

Answer» Hi gusy i need 2 built a program that when i press a button a batch file will run
so could any one give me the code of this program in vb or any one could told me how to deal with files in vb
Here are some steps you can follow:

1. Find the batch file you are wanting to preform when a button is pressed.
2. Right-click on it and select Create Shortcut.
3. Find the new shortcut.
4. Right-click on it and select properties.
5. If the Shortcut TAB is not visible, click on it.
6. Click on the TEXTBOX that SAYS None, next to words which say Shortcut Key:
7. Press the control button (CTRL) as well as the Alt button and your shortcut key.
8. Click Ok and...
9. You're done!Thank u DUDE but u miss UNDERSTAND me i need to build a program in visual basic that when i press the button a batch file will run not to make a shortcut for batch file so if u know the cod of this program plz give it to me
Code: [Select]shell "batchfile.bat",vbNormalFocus

Of course if it's vb.net you might need to do something else. But I assumed that when you said vb you meant vb and not vb.net.Thanks alot dude its work now i think i miss understand you
and could u tell me how to work with file in vb5 example if i wana creat a file or delete a file or modify a file ....


Discussion

No Comment Found