Hi,
Can any one suggest a good link which
gives complete information on using a webbrowser control. I want to
know
1. How to set the border for the control.
2. How to set the background image for the control
3. How to restrict the context menu from popping up on the control
I tried to set the "background " attribute of the <body> tag and
assigned the string as the value for the DocumentText property of the
control. But it does'nt work. It doesn't display the image on the
webrowser. But when "bgcolor" is assigned the same way, it works! It
displays the color. What could be wrong
- Hari

how can i use the webbrowser control?
Degremont
Hi HariAdu,
I suggest you try the HowTo link on MSDN
http://msdn2.microsoft.com/en-us/library/ms229657.aspx
1. How to set the border for the control.
The web browser control does not have a border property. Here is an example of what someone did to work around it:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=49885&SiteID=1
2. How to set the background image for the control
This property is not supported. You would need to load a web page that has an image in the background. This is sort of faking it since you will actually be navigating to a blank html file with background image already set. It appears this is what you are doing. Could you check the path to the file to ensure it is correct. How about creating this dummy html file and attempting to load it in pocket IE. do you see the desired image
3. How to restrict context menu from popping up on the control
This is currently not possible from the web-browser control. This is because there is no support in the underlying control for turning off the context menu.