The Big Blue Sky Forum Index The Big Blue Sky
...To Satisfy Todd's need for Power!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB help

 
Post new topic   Reply to topic    The Big Blue Sky Forum Index -> Programming
View previous topic :: View next topic  
Author Message
StaRbUck42
Admirable


Joined: 23 Feb 2004
Posts: 484
Location: Somewhere on a small blue planet on the edge of a small galaxy that's a part of an infinite universe

PostPosted: Mon Aug 21, 2006 9:29 am    Post subject: VB help Reply with quote

anyone know how to run a command (like C:\folder\aProgram.exe -arg) in visual basic? in C++ it was something like System("cmd"), but where is it in VB?
_________________
"I love deadlines, I love the whooshing noise they make as they go by"
-Douglass Adams

"God help us, we're in the hands of engineers."
--Ian Malcolm, Jurassic Park

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
bluesky74656
Site Admin


Joined: 18 Dec 2004
Posts: 931
Location: Terra Atlantus

PostPosted: Mon Aug 21, 2006 9:49 am    Post subject: Reply with quote

http://www.google.com/search?q=vb%20run%20command

Enjoy!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
StaRbUck42
Admirable


Joined: 23 Feb 2004
Posts: 484
Location: Somewhere on a small blue planet on the edge of a small galaxy that's a part of an infinite universe

PostPosted: Mon Aug 21, 2006 10:07 am    Post subject: Reply with quote

odd...for some reason i never thought to actually do a search for it
_________________
"I love deadlines, I love the whooshing noise they make as they go by"
-Douglass Adams

"God help us, we're in the hands of engineers."
--Ian Malcolm, Jurassic Park

Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
quark_m13
uber-geek


Joined: 30 Apr 2003
Posts: 2262
Location: 41

PostPosted: Mon Aug 21, 2006 10:24 am    Post subject: Reply with quote

Its really really simple: (in VB6)
Code:

Shell "C:\Windows\system32\calc.exe"

NOTE: this is non-blocking, it wont wait for the command to finish, if you want a blocking version you have to use the windows api
_________________
ミュ
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    The Big Blue Sky Forum Index -> Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group