Re: Common Dialog - Change file extension
- From: "Dave" <Nobody@xxxxxxxxxxx>
- Date: Wed, 10 Aug 2005 15:22:16 +0100
"Bob Butler" <tiredofit@xxxxxxxxxx> wrote in message
news:e$zF5WbnFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> "Dave" <Nobody@xxxxxxxxxxx> wrote in message
> news:%23bVjaTbnFHA.3256@xxxxxxxxxxxxxxxxxxxx
>> A tricky area, for plain text files you are 100% right, but for files
>> whose format is distinct then the extension is the first thing the
>> operating system has to identify the file type.
>> Giving a BMP file the extension .PICCY or .BMAP or anything but .BMP
>> will cause problems when you want to open it.
>
> You have a point but in cases where there is a need to limit extensions it
> can make sense for the app to validate that what was typed is one of the
> valid choices and possibly prompt the user if they said something else.
> What I object to is the app just appending what it wants to what I typed
> and
> not telling me that it changed it.
>
> If my choices are Bitmap, JPeg or GIF and I have the drop-down set at
> "Bitmap files" but type in "test.gif" then I expect the app to save
> "test.gif" and not "test.gif.bmp".
Fair enough, it's down to the programmer to deal with each situation
intelligently.
We're doomed........................
Dave.
.
- References:
- Common Dialog - Change file extension
- From: Elmo Watson
- Re: Common Dialog - Change file extension
- From: MikeD
- Re: Common Dialog - Change file extension
- From: Randy Birch
- Re: Common Dialog - Change file extension
- From: Rick Rothstein [MVP - Visual Basic]
- Re: Common Dialog - Change file extension
- From: Bob Butler
- Re: Common Dialog - Change file extension
- From: Dave
- Re: Common Dialog - Change file extension
- From: Bob Butler
- Common Dialog - Change file extension
- Prev by Date: Re: VisualBasic Books
- Next by Date: Re: Common Dialog - Change file extension
- Previous by thread: Re: Common Dialog - Change file extension
- Next by thread: Re: Common Dialog - Change file extension
- Index(es):
Relevant Pages
|