Results 1 to 2 of 2

Thread: Common Dialog-object

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    Westminster, Md.
    Posts
    163

    Common Dialog-object

    I'm attempting to instantiate a Common Dialog box via code.. however it doesnt' appear that this is an option. The code will execute before any forms are loaded from within the Sub Main () so there's no forms in memory to put an object on. I'm trying to use this as a pointer to a Database and if the user doesn't specify or it's not found the program should terminate before anything is loaded. Any suggestions?

    ie:

    DIM objCommon as CommonDialog

    Set objCommon = New ????

    Eiredrake

  2. #2
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Go here...

    http://www.vbworld.com/files/commondialog/

    There's a full story on how to use the cmddialog API, and lots of info on the regular ocx too.

    hope this helps

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