Results 1 to 3 of 3

Thread: Word: Save As Dialog changing?

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Switzerland
    Posts
    53

    Post

    Hi

    I have a problem with the Save As Dialog in Word.

    Can i change the file-type-list in the Save As dialog?
    How can i change the file-type-list?

    Thanks a lot
    Scand

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    It can be done by changing the Filter property of the CommonDialog control.

    Code:
    Dim strFileName As String
    
    With CommonDialog1
        .Filter = "All Text files (*.txt)|*.txt"
        .ShowSave
        strFileName = .FileName
        'Do the saving here
    End With
    The code will show the files with extension ".txt"

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Switzerland
    Posts
    53

    Post

    Thank you very much for your answer, but i can't use the commondialog.
    I have to modify the wdDialogFileSaveAs standard dialog.

    Do you now how i can do this?

    I have to do this without the commondialog. that's my problem. I think i can't change the file-type-list in the standard dialog.

    Thank anyway
    Scand

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