A VB Version of Cs printf Function Using ParamArray

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility:

More information:
The C language uses a variable number of parameters to format a string. ParamArray, used like a Variant array parameter, lets you create similar behavior. This Printf function created in VB mimics some of the functionality of the printf function in C using ParamArray.

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

Declarations:

Code: