Re: File Association in Dialog-Based Application
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Sun, 26 Oct 2008 13:53:20 -0600
Thanks. I just didn't have much info on making the required registry changes in a way that would be reliable long-term.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
"David Lowndes" <DavidL@xxxxxxxxxxxxxxx> wrote in message news:mt47g41cc57utcksj8qp6lo4ibfba3c56b@xxxxxxxxxx
>Has anyone seen any info on how to associated a file type with mydialog-based application?
In order to use RegisterShellFileTypes(), I must add my document template
using AddDocTemplates(). But AddDocTemplates() can't be called without a
CDocument class.
Jonathan,
I think you just have to do it by adding the registry values manually
(or through your application's setup program).
See "File Types" in MSDN.
Dave
.
- References:
- File Association in Dialog-Based Application
- From: Jonathan Wood
- Re: File Association in Dialog-Based Application
- From: David Lowndes
- File Association in Dialog-Based Application
- Prev by Date: RE: How to write a MFC Doc/View application that can accep Add-Ons
- Next by Date: Re: How to suppress SW_MAXIMIZE flag?
- Previous by thread: Re: File Association in Dialog-Based Application
- Next by thread: Re: File Association in Dialog-Based Application
- Index(es):
Relevant Pages
|