05-16-2010, 04:13 AM
ok i went to access, made a button which opens vb6. what do i do in vb6 to get cmd? i need this for school as they have blocked .bat and .exe files.
Thanks
Thanks
How do you get CMD to come up with vb6?
|
05-16-2010, 04:13 AM
ok i went to access, made a button which opens vb6. what do i do in vb6 to get cmd? i need this for school as they have blocked .bat and .exe files.
Thanks
05-16-2010, 05:51 AM
I don't really know VB6 but I used google and found this which might help you..
Code: Dim sYourCommand as String In this example, you would create a textfile which included a command that you want to run on the CMD. sYourCommand = "\LOCATION\yourcommand.txt" Next line of code would then open the cmd and run the command.. Alternatively you could just do Code: Shell("cmd.exe") I'm not entirely sure this correct as I don't code in VB6 but I hope this helps.
05-16-2010, 09:09 AM
05-18-2010, 09:13 AM
Shell "C:\Windows\system32\cmd.exe"
I think that is it Not positive though. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[Request] - Convert Excel formula to VB6 Code | Carb0n F1ber | 15 | 6,807 |
05-18-2015, 11:46 PM Last Post: longwest |
|
vb6.0 SSTab control disappeared | DanB | 0 | 1,296 |
12-29-2012, 10:24 AM Last Post: DanB |
|
[HELP][VB6] Comparing md5/file size? | Cloud203 | 5 | 2,418 |
02-04-2012, 02:47 PM Last Post: Denny Crane |
|
VB6 | PickYourShow0.1 BETA | BreShiE | 29 | 7,373 |
01-11-2012, 02:44 AM Last Post: BreShiE |
|
[VB6] Shopping List | BreShiE | 3 | 1,548 |
12-30-2011, 07:51 PM Last Post: BreShiE |