I have been using Window’s API common dialog function “GetOpenFileNameA” both from Access97 and Access2000 in Windows98. This function, as it was originally constructed, does not seem to work any more now I have changed to WindowsXP: the dialog box does not open at all.
What do I need to change/alter so that the dialog box open? (The original construction has been copied from Litwin-Getz-Gilbert’s Developer’s Handbook where it is used to open a dialog box if the structure-part of a database cannot automatically locate its data-part.)
Oh, I have called the “CommDlgExtendedError” function from the comdlg32.dll library while I was searching for the reason of the malfunction, and the function returned error value 2, but I do not know what it is. Furthermore, Access’s Err.LastDllError returned value of 87. I am none the wiser.
Thank you if you can help, Pavla.
What do I need to change/alter so that the dialog box open? (The original construction has been copied from Litwin-Getz-Gilbert’s Developer’s Handbook where it is used to open a dialog box if the structure-part of a database cannot automatically locate its data-part.)
Oh, I have called the “CommDlgExtendedError” function from the comdlg32.dll library while I was searching for the reason of the malfunction, and the function returned error value 2, but I do not know what it is. Furthermore, Access’s Err.LastDllError returned value of 87. I am none the wiser.
Thank you if you can help, Pavla.