Question:
What is the command to run a file from VB?
top2000no
2006-09-21 18:34:20 UTC
I dont need Shell command.. Coz i m tryin to run a vbs file !!!

HELPPP FAST!
Four answers:
dabsani
2006-09-21 18:55:59 UTC
Your question is not clear enough for me to give you the precise answer. But here, I answer it anyway. I just hope that it's what your looking for:



1) To run a file from VB without using the 'Shell' command, you can use 'ShellExecute'. It's an API command. You can download all download all the API command here: http://allapi.net



2) If you just want to run a project in VB IDE, go to 'Run' menu and select 'Start' or just press the shortcut key, F5.



For free VB source codes, visit: http://smartcoder.awardspace.com





KaBalweg

http://smartcoder.awardspace.com
Mongs
2006-09-22 01:40:52 UTC
I don't excatly get your question, but if you want to run your application jsut press f5 and it should start, depending on what vb you have.



If you want to do a function or something just declare the funtion and then type the function where you want it to be run.



or, if you want your vb application to do something... you can use this



Fileopen(1, "file-location", openmode.output)
itguru5354
2006-09-22 01:45:01 UTC
WshShell.run
Dr M
2006-09-22 01:43:07 UTC
Read about "shell" command


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...