Results 1 to 2 of 2

Thread: Using CommDialog 2000 on WinNT4/Win95/98

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Sydney, Australia
    Posts
    5

    Unhappy Any VB expert in out there??

    I am using the .OCX comm dialog available on VB6 however
    it does not display the most recent dialog used by my office 2000 application. Sometime ago I read somewhere that
    it is possible to let windows know which one to use,Any Help.....please

    [Edited by juliomont on 11-26-2000 at 05:35 PM]

  2. #2
    Hyperactive Member noble's Avatar
    Join Date
    Nov 2000
    Location
    Philly
    Posts
    471

    Maybe......?

    It may have a different name within the API. Within a declare function of an API, you see
    Code:
    Declare Function GetDiskFreeSpace Lib "kernel32"
    Alias "GetDiskFreeSpaceA"
    Code:
    (ByVal lpRootPathName As String, lpSectorsPerCluster As Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, lpTtoalNumberOfClusters As Long) As Long
    The bold section represents the name of the function within the library that you are using. Maybe that name is different with 2k allowing the user to use the older or newer dialogs.

    Also, please let me know if it is, I would like to know.

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