Starting Email & Browser From My App
Posted on 2001-08-21
What is the code that I need to use that would open a user's default email or web browser program depending upon which button they clicked on. I know I need to use the onClick event. This code must also be compatible with W2K, NT, ME, and 9x. I have heard there are issues with ShellExecute and W2K and have been told to use CreateProcess instead. Also, does my app. need to care about what happens to the email and web browser program. As far as I am concerned, I don't care when the user returns to my program. They can go back and forth between the two.
Therefore, the solution I am looking for is the code to open email and web browser using the CreateProcess API from an onClick event.