VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add Command Line(s) to your App

by Megagix (2 Submissions)
Category: Coding Standards
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (17 Votes)

This code is simple and easy! This code allows you to run command from the start menu. EXAMPLE: Start> Run> C:\Folder\MyApp.Exe /NoSplash

Side Effects
I have found NO Side Effects yet, but if you have ANY problems you can Download the Demo I am SURE this code works though! If you have any doubts then download the demo and run this (INCLUDE QUOTES!) "C:\WINDOWS\Profiles\Jason Barnes\Desktop\Project1.exe" /Nosplash

Rate Add Command Line(s) to your App

' Just add this code to your Project...
' You can Change Commands and Functions
Private Sub Form_Load()
If Command = "/hide" then
'Function Here
ElseIf Command = "/BLACKback" then
Me.BackColor = &H0&
end if
End Sub

Download this snippet    Add to My Saved Code

Add Command Line(s) to your App Comments

No comments have been posted about Add Command Line(s) to your App. Why not be the first to post a comment about Add Command Line(s) to your App.

Post your comment

Subject:
Message:
0/1000 characters