Konrad
2007-02-26 10:59:00 UTC
Hello everybody,
I've been using ShellExecute for many years, and now users started to
report it doesn't work - i.e. opening documents/programs from one of my
application doesn't work for them.
What I'm doing is:
int
nRet=(int)ShellExecute(NULL,NULL,sFullPathToProgram,_T(""),NULL,SW_SHOWNORMAL);
And the return code is 31 (SE_ERR_NOASSOC - the file isn't associated
with any program) - this happens to documents (like .txt) as well as
applications - but in most situations this are actually links to
documents/programs.
I just have no idea what to do about - googling doesn't help.
environment: vc 7.0, WinXP pro
p.s. some of users mention that this began with the installation of IE
7.0 but some of them say they still have IE 6.0, so I'm not sure if this
may be the isuue.
I've been using ShellExecute for many years, and now users started to
report it doesn't work - i.e. opening documents/programs from one of my
application doesn't work for them.
What I'm doing is:
int
nRet=(int)ShellExecute(NULL,NULL,sFullPathToProgram,_T(""),NULL,SW_SHOWNORMAL);
And the return code is 31 (SE_ERR_NOASSOC - the file isn't associated
with any program) - this happens to documents (like .txt) as well as
applications - but in most situations this are actually links to
documents/programs.
I just have no idea what to do about - googling doesn't help.
environment: vc 7.0, WinXP pro
p.s. some of users mention that this began with the installation of IE
7.0 but some of them say they still have IE 6.0, so I'm not sure if this
may be the isuue.