Help::ShowHelp Method (Control^, String^)
.NET Framework (current version)
Displays the contents of the Help file at the specified URL.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- parent
-
Type:
System.Windows.Forms::Control^
A Control that identifies the parent of the Help dialog box.
- url
-
Type:
System::String^
The path and name of the Help file.
The url parameter can be of the form C:\path\sample.chm or /folder/file.htm.
The following code example demonstrates the ShowHelp method. To run this example, paste the following code into a form that contains a button named Button1.
WebPermissionSecurityPermission
for accessing an HTML Help file through an HTTP request. Associated enumeration: NetworkAccess::Connect
for accessing an HTML Help file not served from an HTTP server. Associated enumeration: UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: