In the mainframe menubar I have a HOWTO option under the help menu, I want the function to open a text file using notepad or some other default txt viewer. How do I launch a program and open a file from within my application? thanks.
::ShellExecute( NULL, "open", "notepad", "c:\\files\\whatsup.txt", NULL, SW_NORMAL); -There are only 10 types of people in the world, those who understand binary and those who don't-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.