Specifies a resource that will be obtained from a module or library.
res://file[/type]/id |
Section | Description |
---|---|
file | Percent-encoded path and file name of the module that contains the resource. |
type | Optional. String or numerical resource type. This can be either a custom resource or one of the predefined resource types that are recognized by the FindResource function. If a numerical resource type is specified, the number of the identifier must follow a # character. If this parameter is not specified, the default resource type is RT_HTML or RT_FILE . |
id | String or numerical identifier of the resource. If a numerical identifier is specified, the actual number of the identifier, not the identifier itself, must follow a # character. See the example for more information. |
Available as of Microsoft Internet Explorer 4.0 or later.
From Internet Explorer 6 Service Pack 1 (SP1), it is no longer possible to browse a local machine from the Internet zone. For instance, if an Internet site contains a link to a local file, Internet Explorer 6 SP1 displays a blank page when a user clicks on the link. Previous versions of Windows Internet Explorer followed the link to the local file. |
#define MYBITMAP 234 // This is correct. "res://mydll.dll/#2/#234" // This is not correct. "res://mydll.dll/#2/MYBITMAP" |
The following Uniform Resource Identifier (URI) retrieves a custom "XML" resource from a resource module in the "C:\windows\system32 directory.
res://C:%5Cwindows%5Csystem32%5Cmsxml3.dll/XML/DEFAULTSS.XSL |
For additional information about the Res: and About: protocols, click the article numbers below to view the articles in the Microsoft Knowledge Base:
For additional information about the XSL stylesheet, click the article number below to view the article in the Microsoft Knowledge Base: