Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Sub Command
Author:
Gerald Ludor
E-mail:
Click to e-mail author
Website:
http://www.trixer07.2ya.com
Submitted:
1/13/2008
Version:
VB6
Compatibility:
VB6
Category:
Miscellaneous
Views:
9025
Simple program that can create a shortcut or command prompt.
Declarations:
'none
Code:
Private Sub Command1_Click() On Error GoTo err Shell "calc.exe", vbNormalFocus Exit Sub err: MsgBox "You dont have install caculator in your Computer", vbOKOnly, vbExclamation, "CSRS version 1" End Sub Private Sub Command2_Click() On Error GoTo err Shell "notepad", vbNormalFocus Exit Sub err: MsgBox "You dont have Notepad in your Computer", vbOKOnly, vbExclamation, "CSRS version 1" End Sub Private Sub Form_Load() End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement