Re: Common Dialog - Change file extension
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Wed, 10 Aug 2005 17:55:15 -0400
"Ian King" <nobody@xxxxxxxxxxx> wrote in message
news:Xns96AEC3A98FB02nobodynowherecom@xxxxxxxxxxxxxxxx
>>
>
> Just one thought...
>
> Your code works if the given file name doesn't contain full path
> (CommonDialog.FileName returns full path to the file).
>
> GetExtension("C:\My Program 1.0\file_without_extension") doesn't return
> an empty string as it should.
>
Good point! Thanks for catching that.
--
Mike
Microsoft MVP Visual Basic
.
- References:
- Common Dialog - Change file extension
- From: Elmo Watson
- Re: Common Dialog - Change file extension
- From: MikeD
- Re: Common Dialog - Change file extension
- From: Ian King
- Common Dialog - Change file extension
- Prev by Date: Re: Async Callback (Part 2)
- Next by Date: Re: A very simple OCX Question for experts
- Previous by thread: Re: Common Dialog - Change file extension
- Next by thread: Re: Common Dialog - Change file extension
- Index(es):
Relevant Pages
|