Skip to content

Planet-Source-Code/tonygg-attaching-help-to-apps__1-33349

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Attaching Help to Apps

Description

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.

More Info

Submitted On
By TonyGG
Level Intermediate
User Rating 4.8 (29 globes from 6 users)
Compatibility VB 6.0
Category Coding Standards
World Visual Basic
Archive File

Source Code

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published