janice_175 Posted November 19, 2004 Share Posted November 19, 2004 heyo im a greenhorn on vb.net.. thus i nid programming help in calling an external .exe program. i tried Shell("shutdown2.exe") but it cant work. any other suggestions on how this can be done?at the same time, the program im workin on is supposed to be able to let the user select the day and time then link to the shutdown2.exe which is goin to be executed usign cmd prompt. any idea how shld i go about doin this? thanks alot Link to comment Share on other sites More sharing options...
CoffeeFiend Posted November 19, 2004 Share Posted November 19, 2004 I'd use the process class instead of the old VB6-like Shell function (it's part of Microsoft.VisualBasic.Comaptibility namespace, 'nuff said...)That's one of the very few posts that would actually belong to the programming section (why does it always have to be ppl that want help with batchfiles or other non-programming related stuff who post in there instead? ) Link to comment Share on other sites More sharing options...
janice_175 Posted November 19, 2004 Author Share Posted November 19, 2004 so sorry.. new here.. dint explore that far into this webbie... hehez.. thanks alot anyway Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now