PDA

Click to See Complete Forum and Search --> : Using CommDialog 2000 on WinNT4/Win95/98


juliomont
Nov 20th, 2000, 06:00 PM
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]

noble
Nov 29th, 2000, 11:34 AM
It may have a different name within the API. Within a declare function of an API, you see

Declare Function GetDiskFreeSpace Lib "kernel32"
Alias "GetDiskFreeSpaceA" (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.