Attaching Help to Apps
A shell command could be used to do this as *.chm file excute by clicking on them. Below is the shell command to use. Also shows how to shell execute a string variable. More info on Help and what you could with it. Goto. http://www.smountain.com/c_VBHelp.htm.
AI
Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Zdrojový kód
http://www.smountain.com/c_VBHelp.htm Option Explicit Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub CmdHelp_Click() Dim Stg1 As String 'shell the help file Stg1 = App.Path & "\" & "mshelp.chm" 'exchange with your help file name ShellExecute hwnd, "open", Stg1, "", "", vbNormalFocus End Sub
Původní komentáře (3)
Obnoveno z Wayback Machine