Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem witth running another file
#1
hi guys i need help with this code
well i want to run a .exe file when i click on the button
i put both of the codes in but it dont work the file is at my desktop

shell ("c:\mineme.exe")

and

process.start("c:\mineme.exe")

oh and please dont say google it
thanks,
huso69
Reply
#2
I couldn't get shell to work either but I just tried process.start and it worked. Make sure you go to the specific folder it's in.

process.start("c:\program files\mineme\mineme.exe")
------------------------------------------------------------------------------------
Mini Tutorial(Credits to DevX.com) (Click to View)
Reply
#3
You could try adding the exe to your applications resources and running it from there..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [VB.NET] [Simple and easy] The application is allready running [SRC] ★ASI_F★™ 0 771 06-19-2011, 07:38 PM
Last Post: ★ASI_F★™
  [Source] Get Startup and Running Process euverve 0 806 05-12-2011, 09:45 AM
Last Post: euverve
  [HELP] Program I Made not running? Richard 8 2,386 03-26-2011, 08:45 AM
Last Post: HakkuR*
  [HELP]Code Snippet for Running a file from same folder(VB .NET)[HELP] CtrlAltxGhostx 1 641 11-04-2010, 06:04 AM
Last Post: Marik™

Forum Jump:


Users browsing this thread: 1 Guest(s)