I did this this afternoon, for myself and others. Just an idea - nothing fancy:
![Name: Image 052.jpg
Views: 37
Size: 51.9 KB]()
The form (only one), with the .frx with pictures and icon: Project MSDN.zip
The main code to load the .chm file was not mine, but was taken from this site. I see the code here posted in 2004 by someone (http://www.vbforums.com/showthread.p...t=shellexecute #2, by RobDog888).
...which was then changed by Shaitan00 #3, which I took and inserted into my program:
The rest was just magic - on the outside :D
The form (only one), with the .frx with pictures and icon: Project MSDN.zip
The main code to load the .chm file was not mine, but was taken from this site. I see the code here posted in 2004 by someone (http://www.vbforums.com/showthread.p...t=shellexecute #2, by RobDog888).
...which was then changed by Shaitan00 #3, which I took and inserted into my program:
Code:
By RobDog888
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 Const SW_SHOWNORMAL As Long = 1
Private Const SW_SHOWMAXIMIZED As Long = 3
Private Const SW_SHOWMINIMIZED As Long = 2
& by: Shaitan00
Dim lRet As Long
lRet = ShellExecute(Me.hwnd, vbNullString, "Help.pdf", vbNullString, "C:\", SW_SHOWNORMAL)