Link to home
Start Free TrialLog in
Avatar of B_B_Boris
B_B_Boris

asked on

Create a hyperlink in a C# 2005 project to a html page contained in the project

Hi there

I've written a Window application in Visual C# 2005 which displays a form. This form contains a WebBrowser control. I have also in the solution a html page called HTMLPage3.htm

I'd like to fill the web browser with an image having a hyperlink to HTMLPage3.htm

How can I do that ?

The line below doesn't work.

Thanks in advance
webBrowser1.DocumentText = "<a href=\"HTMLPage3.htm\"><img  src=\"http://.../image.gif\" /></a>";

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial