|
From: "behzad" bn at on 14 Apr 2008 04:28 Hi, I have an application , it does not register itself to windows file manager ( I mean , if I double click on a document of my application type, it does not open) How can I make it register itself, Thanks,
From: M. Shoaib Surya on 14 Apr 2008 05:40 CWinApp::RegisterShellFileTypes() is the answer. You would also need to call EnableShellOpen before calling RegisterShellFileTypes(). Check MSDN for more details: http://msdn2.microsoft.com/en-us/library/538tbk4a(VS.80).aspx Regards, Shoaib. "behzad" <bn at yahoo.com> wrote in message news:%23F4AZmgnIHA.5472(a)TK2MSFTNGP03.phx.gbl... > Hi, > I have an application , it does not register itself to windows file > manager ( I mean , if I double click on a document of my application type, > it does not open) > How can I make it register itself, > > Thanks, >
From: Igor Tandetnik on 14 Apr 2008 08:00 "behzad" <bn at yahoo.com> wrote in message news:%23F4AZmgnIHA.5472(a)TK2MSFTNGP03.phx.gbl > I have an application , it does not register itself to windows file > manager ( I mean , if I double click on a document of my application > type, it does not open) > How can I make it register itself, http://msdn2.microsoft.com/en-us/library/cc147473.aspx -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
From: "behzad" bn at on 14 Apr 2008 08:48 I already have these lines, what else could be the problem ? Thanks, "M. Shoaib Surya" <shoaibsurya(a)hotmail.com> wrote in message news:OHh0$RhnIHA.1212(a)TK2MSFTNGP05.phx.gbl... > CWinApp::RegisterShellFileTypes() is the answer. You would also need to > call EnableShellOpen before calling RegisterShellFileTypes(). > > Check MSDN for more details: > http://msdn2.microsoft.com/en-us/library/538tbk4a(VS.80).aspx > > Regards, > Shoaib. > > "behzad" <bn at yahoo.com> wrote in message > news:%23F4AZmgnIHA.5472(a)TK2MSFTNGP03.phx.gbl... >> Hi, >> I have an application , it does not register itself to windows file >> manager ( I mean , if I double click on a document of my application >> type, it does not open) >> How can I make it register itself, >> >> Thanks, >> > >
From: David Wilkinson on 14 Apr 2008 09:19
behzad wrote: > I already have these lines, what else could be the problem ? Did you define your document string (IDR_MAINFRAME)? -- David Wilkinson Visual C++ MVP |