From: Webbiz on
On Wed, 10 Mar 2010 13:14:43 -0800, Karl E. Peterson <karl(a)exmvps.org>
wrote:

>Webbiz wrote:
>> I've run into a little problem with my current project.
>>
>> I created a file and gave it my own filetype of .fdr.
>>
>> Problem: When the user goes to download this file, it shows up in the
>> download directory dialog as "myfile.unk". In other words, it has the
>> .unk filetype because my Windows system does not know what a .fdr file
>> is.
>>
>> Is there a way via code to add the .fdr filetype to the system?
>
>You can create a file association, certainly. That'd be what to
>google.

Karl, I always Google 'before' I ask a question here. It's common
sense and courtesy. It's when I get frustrated of trying to find 'the'
answer that I post it here.

Thanks. :-)
Webbiz
From: Webbiz on
On Wed, 10 Mar 2010 16:33:58 -0500, "C. Kevin Provance" <*@*.*> wrote:

>
>"Webbiz" <nospam(a)noway.com> wrote in message news:at2gp5d9akg1upd9naab1f6ptq32hlt7mc(a)4ax.com...
>: I'm considering creating a folder under the user's DOCUMENTS
>: directory.
>:
>: How do you get the PATH to the users DOCUMENTS directory regardless of
>: what version of Windows they are running on?
>:
>: XP appears to be "Documents and Settings" and Windows 7 is "Library"?
>:
>: A tad confused.
>
>I do believe the answer to that question is in Karl's article.

The problem of finding the path to Documents is solved. It wasn't as
big a deal as I had thought.


However, I still can't find an answer to my FileType issue. I need to
somehow register my filetype of .fdr with Windows OS as associated
with my app. I don't want to have to have the user do this manually.

Yes, I've Googled this one to death. Whether I'm not using the right
keywords or what, I don't know.

Does anyone have knowledge of how to do this?

Thanks.

Webbiz



From: Karl E. Peterson on
Webbiz wrote:
> On Wed, 10 Mar 2010 13:14:43 -0800, Karl E. Peterson <karl(a)exmvps.org>
> wrote:
>
>> Webbiz wrote:
>>> I've run into a little problem with my current project.
>>>
>>> I created a file and gave it my own filetype of .fdr.
>>>
>>> Problem: When the user goes to download this file, it shows up in the
>>> download directory dialog as "myfile.unk". In other words, it has the
>>> .unk filetype because my Windows system does not know what a .fdr file
>>> is.
>>>
>>> Is there a way via code to add the .fdr filetype to the system?
>>
>> You can create a file association, certainly. That'd be what to
>> google.
>
> Karl, I always Google 'before' I ask a question here. It's common
> sense and courtesy. It's when I get frustrated of trying to find 'the'
> answer that I post it here.

Yeah, I understand. Finding the magic word combo is sometimes only
intuitive *after* you've found it. <g>

--
..NET: It's About Trust!
http://vfred.mvps.org


From: Karl E. Peterson on
Webbiz wrote:
> The problem of finding the path to Documents is solved. It wasn't as
> big a deal as I had thought.

Good.

> However, I still can't find an answer to my FileType issue. I need to
> somehow register my filetype of .fdr with Windows OS as associated
> with my app.

That's *not* what you said in your initial post! My sense is you're
assuming you know what the problem is, but not really. That's always
going to be trouble. If you're not sure what the difference is between
what you just said, and what you originally said, ask. If you are,
please clarify what you're *really* after.

--
..NET: It's About Trust!
http://vfred.mvps.org


From: Bob Butler on

"Webbiz" <nospam(a)noway.com> wrote in message
news:hm1gp5hr86ljd8f8jkp4i6rtn3ha111esg(a)4ax.com...
> I've run into a little problem with my current project.
>
> I created a file and gave it my own filetype of .fdr.
>
> Problem: When the user goes to download this file, it shows up in the
> download directory dialog as "myfile.unk". In other words, it has the
> .unk filetype because my Windows system does not know what a .fdr file
> is.
>
> Is there a way via code to add the .fdr filetype to the system?
>
>
> Problem 2:
>
> I want the user to download this .fdr file to his application
> directory.

Maybe the best option would be to create your own download utility, perhaps
built in to the application itself.