Jump to content

calling external .exe program using vb.net


janice_175

Recommended Posts

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


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? :realmad:)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...