Dear Ehsan

> Use AssocQueryString( ) to get the application associated 
> with .txt files, and use it to open the text file into that 
> application.

Thank you for this suggestion. I never knew it existed.  Looking it up in
the MSDN shows that it has a rather complex API.

I decided to follow Carlos' suggestion and add a multiline Cedit control
(read only) to the bottom of my dialogue and read the file in and display it
there.  It works very well.

But thank you for letting me know about this function. If I need to use it,
I will ask again and the API.

Thanks.

Andrew


This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to