Results 1 to 2 of 2

Thread: cdlOFNCreatePrompt FLAG Does Not Work

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2007
    Posts
    1

    cdlOFNCreatePrompt FLAG Does Not Work

    The cdlOFNCreatePrompt (&H2000) is supposed to generate a prompt for the user to create a New File that does not exist. I can't get it to do anything at all! There is no extra prompt. Whether I use this flag or not, the Dialog Box appears to be identical.


    With CommonDialog1
    .filename = ""
    .InitDir = gsappPath
    .DialogTitle = "Create New Database File"
    .Flags = &H2000
    .CancelError = True
    .Filter = "Database Files (*.mdb)|*.mdb"
    .ShowSave
    End With

    Newfilename = .filename

    Has anyone used this flag and experienced a Create New File Prompt?




    /

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: cdlOFNCreatePrompt FLAG Does Not Work

    Welcome to the forums.

    You are exactly correct. The cdlOFNCreatePrompt flag doesn't change the behaviour of the dialog box when using .ShowSave. It never has, and this was never fixed.

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