I'm trying to call other EXE's from my program I'm writing. Inside my project I have a folder called progs with exe's inside it. How can I call these from button clicks?
MaddTechwf
0
Junior Poster in Training
Recommended Answers
Jump to PostUse System.Diagnostics.Process class.
Process.Start("c:\windows\system32\calc.exe")
Jump to PostHey guys, here is an more advanced way to call the exe.
Process.Start(My.Application.Info.DirectoryPath & "\progs\calc.exe")
Hope that helped.
Thanks,
Marais
Jump to Post>I've seen that before, but I wasn't sure how to call an exe that is inside my program.
And we don't know where your program is? Is your program is located at "c:\folder1" or somewhere else?
To get the path of current folder (This is the location where …
All 10 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
MaddTechwf
0
Junior Poster in Training
scarcella
11
Senior Software Architect
MaddTechwf
0
Junior Poster in Training
kvprajapati
1,826
Posting Genius
Team Colleague
MaddTechwf
0
Junior Poster in Training
kvprajapati
1,826
Posting Genius
Team Colleague
arunkj101
0
Newbie Poster
arunkj101
0
Newbie Poster
betabasic
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.