Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB] Menu which opens a program?
#2
You can use the function Shell, included in the namespace Microsoft.VisualBasic.Compatibility.
You also have the option to use System.Diagnostics.Process, if you're using .NET.

Code:
Shell("Path to programm to execute")
' OR
System.Diagnostics.Process.Start("Path to programm to execute")

Shell()
System.Diagnostics.Process.Start()

EDIT:
You also can import the code of those programs to execute on menu click, or create a .dll and import it in your current project.
Reply


Messages In This Thread
[VB] Menu which opens a program? - by Perfects - 02-15-2011, 09:51 AM
RE: [VB] Menu which opens a program? - by Gaijin - 02-15-2011, 10:08 AM
RE: [VB] Menu which opens a program? - by Fragma - 02-15-2011, 10:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Button firefox Menu HF~Legend 2 1,524 09-08-2012, 04:20 PM
Last Post: spesificrelax
  My Menu + Background Color project [SRC] ★ASI_F★™ 4 1,442 07-12-2011, 07:26 PM
Last Post: Relapse

Forum Jump:


Users browsing this thread: 3 Guest(s)