Common Dialog Control

indyaries

Registered User.
Local time
Today, 18:16
Joined
Apr 22, 2002
Messages
102
Greetings,

I am using Access 97 SR2 on a Windows NT machine.

I'm wanting to TRY to use the Common Dialog Control so the user can open a file from a directory, and also save as to a directory.

I have verified that my Commdlg.dll is on my PC. Here is what Microsoft said of the location of the Commdlg.dll:
"Commdlg.dll must be in your Microsoft Windows \System directory."

Here is where they reside on my PC:
C:\WINNT\system
C:\WINNT\system32

When I try to use the control, I get this error:

"You don't have the license required to use this ActiveX control."

Does anyone have any suggestions? This is a U.S. Government system.

Bob in Indy
 
Thank you Peter,

I had already seen those sites. So, are you saying that by using that code I can circumvent the error I'm getting on the Common Dialog?

If nothing else, I would like to have something that would allow the user to name a text file that is going into a specific directory. When the file is exported (using a specification, and using the transfertext of a macro), I would like the user to be able to name the file whatever they want.

If this can be accomplished without using the Common Dialog, fine.

Thanks again for your reply !!

Bob in Indy
 

Users who are viewing this thread

Back
Top Bottom