Anyone know how to do it? cause i'm trying to cut my program down to an even smaller size.
Printable View
Anyone know how to do it? cause i'm trying to cut my program down to an even smaller size.
You could use the ShellExecute() API, this will open a file with its associated application and most if not all users should have some form of "HLP" file viewer:Code: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 Command1_Click()
ShellExecute 0, "OPEN", "C:\Help\HelpFile.hlp", "", "", 1
End Sub