Results 1 to 1 of 1
  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2017
    South Africa (in the middle)

    A little bit of MSDN .CHM files info

    I did this this afternoon, for myself and others. Just an idea - nothing fancy:

    Name:  Image 052.jpg
Views: 189
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:

    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

    Project: Project MSDN.zip
    Last edited by Inside; Aug 26th, 2017 at 05:00 AM. Reason: Adding Project
    Programmers are very patient people....while programming....but don't expect them to be patient all the time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width