Accepting a Passed Command Parameter

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Beginning
Author:
Ethan

Version Compatibility:

More information:
If you want your application/module to accept a parameter value e.g., a file or graphic for your app to process, try the Command() Function code below.

This works great for module designing or shell specific apps such as in the following:

piD = shell(AppName.exe "Hello World")

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

Declarations:

Code: