NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

/win32icon (Import a .ico File)

Inserts a .ico file in the output file, which gives the output file the desired appearance in the Windows Explorer. /win32icon:filename

Arguments

filename
The .ico file that you want to add to your output file.

Remarks

A .ico file can be created with the Resource Compiler. The Resource Compiler is invoked when you compile a Visual C++ program; a .ico file is created from the .rc file. The /win32icon and the /win32resource options are mutually exclusive.

See /linkresource (to reference) or /resource (to attach) a NGWS runtime resource file. See /win32resource to import a .res file.

Example

Compile in.vb and attach a .ico file rf.ico to produce in.exe:

vbc /win32icon:rf.ico in.vb

See Also

Visual Basic Compiler Options