Results 1 to 2 of 2

Thread: Common Dialog Question (newbie)

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Location
    China Lake, CA
    Posts
    12

    Common Dialog Question (newbie)

    Short version: How do you initialize the filename for a common dialog box?

    Long version: I've an application I'm playing around with. Obviously, it has a common dialog box. I would like the dialog box to open with a default filename "pre-selected" (ie, text appearing in the filename box). Alas, I've yet to find any definative guide on what all the properties for the common dialog do and just setting the .FileName attribute to my string doesn't appear to work. Ideas?

    TIA.

  2. #2
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391
    Are you sure it didnt work?

    If I set .Filename = "MyFile.txt" then call .ShowOpen, "MyFile.txt" is the filename listed there.
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

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