Inserts a Win32 resource file in the output file.
The name of the resource file to add to your output file. Enclose the file name in quotation marks (" ") if it contains a space.
You can create a Win32 resource file with the Microsoft Windows Resource Compiler (RC).
A Win32 resource can contain version or bitmap (icon) information that helps identify your application in File Explorer. If you do not specify
-win32resource, the compiler generates version information based on the assembly version. The
-win32icon options are mutually exclusive.
-win32resource option is not available from within the Visual Studio development environment; it is available only when compiling from the command line.
The following code compiles
In.vb and attaches a Win32 resource file,
vbc -win32resource:rf.res in.vb