Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1449

A little bit of MSDN .CHM files info

$
0
0
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:

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)

The rest was just magic - on the outside :D
Attached Images
 
Attached Files

Viewing all articles
Browse latest Browse all 1449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>