Create Shortcuts for Files and Applications with Parameters

Category:
Files and Directories
Type:
Snippets
Difficulty:
Advanced

Author: Skrol 29

Version Compatibility: Visual Basic 5

More information:
The usual code to create shortcuts does not allow one to create a shortcut for a program with parameters. This code enables you to create a shortcut anywhere for any command line with any parameters, the icons you want, the default folder you want and the window mode you want. Enjoy.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: