There are a couple of ways: try looking up the [tt]ShellExecute()[/tt] and [tt]CreateProcess()[/tt] functions on MSDN. You can use these to launch other applications and open their files. For example, if you want to stick button on your about box that takes the user to your web site, you could use [tt]ShellExecute()[/tt] and pass in your web address URL as the argument - it will automatically open the user's default browser and navigate to your web site, eg:
Ahhh, I just realized you're using a much older version of VC++!!! Although I thought this function had been around for time - perhaps you are missing an import library. I don't have a copy or ever used such an old version of VC++ so I can know for sure but it sounds like you are missing the import library for this function.
programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
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.