|
-
Feb 24th, 2001, 06:30 AM
#1
Thread Starter
Member
how do i execute dos commands frm vb?
how do i send keys to dos prompt?
Also i want to move cursor or sendkeys to other m/c in a lan is it possible?
HELP!!!
-
Feb 24th, 2001, 09:35 AM
#2
DOS does is not composed of window classes and handles like windows, so you'd have to use the Shell statement to execute your command or a batch file.
-
Feb 24th, 2001, 11:59 PM
#3
Thread Starter
Member
pass commands to ms-dos
Thanks fr the replay...
i hav to compile any c++ program how do i do it?
this doesnt work
this is what i hav done:
shell "path to c++"
sendkeys "{F5}",1 'fr full screen
sendkeys "{F3}",1 ' open dialdog box
sendkeys"1.c",1 'to type program name
after that the tab key comes directly onto the text box of the open dialog box!
cant open the file!
thanks again..
-
Feb 25th, 2001, 01:26 PM
#4
If you need to execute DOS commands (as mentioned in your original post) why not just use the Shell method to open a batch file? Then in the batch file you can have all of your commands such as C:\> Compile Mygrog.cpp (or whatever command you use to compile).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|