Re: linking to a web page from MFC application



Hi!
Instead of http://yoursite.com I have the IP address (nn.nn.nn.nn). How do
i specify this in the ShellExecute command?
I'm programming in VC++ 6.0. CLinkCtrl doesn't exist - how do I use
SysLink?
Thanks!
Mechi



"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:e7%23PkZiEHHA.5028@xxxxxxxxxxxxxxxxxxxxxxx
"Mechi Fendel" <mechif@xxxxxxxxxxxx> wrote in message
news:O%23DP$vgEHHA.3188@xxxxxxxxxxxxxxxxxxxx
I built an MFC application and I need to link a line of text in the
About box to my company's internet site.

CLinkCtrl

Also, I have a button on the screen, that when pressed is supposed to
open up a page - the IP address is known.

ShellExecute(m_hWnd, 0, "http://yoursite.com";, 0, 0, SW_SHOWDEFAULT);

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925



.