Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove border from web browser control

Status
Not open for further replies.

leearach2004

Technical User
Dec 8, 2005
86
GB
Hi there just wondering if anyone new if it was possible to remove the 3d border that automaticly appears in a web browser control using vb.net

It does not show up on the screen but it appears when u run the application

I have scourde the internet to know avail

hope somone can help me

lee
 
Hi there i am using .net framework 2.0

hope you can help

lee
 
Hi,

the default borderstyle is set to none. I do not see any property to change the border style. To make it 3D, simply and the webbrowser control in a panel, and set the panel's borderstyle to fixed3D

 
i am using visual studio.net and add the axwebbrowser control which is fine but when it is run it shows a 3d border arounf the control, it is that i need to remove

lee
 
Its probebly me being stupid but I have .net 2.0 installed and .net1.4 and .net 1.1 and i use visual studio.net

lee
 
.NET frameworks 1.1 (2003) and 2.0 (2005) can co-exist. You use the apropriate one depending on the version of the visual studio. The axbrowser is a COM control, found in 2003 version. So, with what version of visual studio are you developing ? 2003 or 2005 ?
 
Are you sure that your control is not in a container, e.g. a panel; which can have a 3D border style ? By default the COM axwebbrowserhas no border.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top