Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CommandDialog control (XP)

    I have a database on a machine which has Access Developer XP. The database contains the CommandDialog control.

    When I use the database on another machine which does not have the developer installed, the CommandDialog control vanishes.

    What do I do to transfer this control to the other machine?

    Thanks in advance!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: CommandDialog control (XP)

    I assume that you mean the Common Dialog control. The file behind this is comdlg32.ocx in the system folder (C:WindowsSystem32 under Windows XP). You will have to copy this file to the target PC, and register it using regsvr32.exe.

    What do you use the common dialog for? Access 2002 has a new built-in FileDialog that can be used to display Open and Save As dialogs. It is also possible to use Windows API calls to present these dialogs; this will work in older Access versions too, and requires nothing extra to be installed.

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CommandDialog control (XP)

    Hans,
    Thanks for the info - how do I access this new FileDialog tool? I did a search on VB Help and it turned up squat.
    Thanks again.

  4. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: CommandDialog control (XP)

    Go into the VB editor, click on the object browser, and search for filedialog. You'll find one that is a member of the Access application object. If you select that and hit F1, it will take you to the help topic.
    Charlotte

  5. #5
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CommandDialog control (XP)

    Thanks Charlotte, I found it!

Posting Permissions

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