> It wasn't working. Nothing was showing up on screen. Then I
> realised that
> the filetype is "ICS" which would not be registered as a true
> file type. I
> am not in a position to play around with the registry in the
> HKEY_CLASSES_ROOT node. So I need an alternative to open up this
> filename.ics file in the normal text editor.
>
> How can I do it? (apart from renaming the file as .txt) ??
You could extract the program associated with .TXT files from the registry
and name that explicitly in ShellExecute()... still a bit of an assumption,
but if they have nothing set up for .TXT then they deserve nothing to happen
{:v)
(If ShellExecute() fails, you can simply tell them where the file is and to
manually edit it).
--
Jason Teagle
[EMAIL PROTECTED]
_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription
changes, and list archive.