• Log in or sign up for an account here: https://www.sythe.org/login

How Do You Make Visual Basic Open Another Program

Status
Not open for further replies.
Code:
Shell "C:\windows\notepad.exe"
This would open the standard windows application "Notepad". Just replace the file path and filename with those of the program you want to open.
 
Lol nullware was to fast for me to post the shell command :p

This is alot easier to use by the way if you have a program in the same folder as the vb program you got:
Code:
shell App.Path & "\App-Name.exe"

Hope this helps ;)
 
Oh also, when you want to open up a directory say your screenshot folder for example, use the shell command like this:
Code:
shell "explorer C:\Filepath\"
 
Member of the Month Winner
Sythe's 10th Anniversary
Wubba Lubba Dub Dub
The Mortyest Morty
Discord Verified
Sythe Awards 2012 Winner
Le Kingdoms Player
Two Factor Authentication User
Spam Forum Participant
I'm LAAAAAAAME
Signature of the Month Winner
das not it mane
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top