/win32resource:filename
A Win32 resource file can be created with the Resource Compiler. The Resource Compiler is invoked when you compile a Visual C++ program; a .res file is created from the .rc file.
A Win32 resource can contain version or bitmap (icon) information that would help identify your application in the Windows Explorer. If you do not specify /win32resorce, the compiler will generate version information based on the assembly version. The /win32resource and /win32icon options are mutually exclusive.
See /linkresource (to reference) or /resource (to attach) a NGWS runtime resource file.
Compile in.vb
and attach a Win32 resource file rf.res
to produce in.exe
:
vbc /win32resource:rf.res in.vb