Is there any way to remove the border from an embedded browser control?

We are developing a new application which includes an Microsoft Web Browser object embedded into the form design.

Everything is working perfectly - We can navigate to the desired web files, and re-size the control to fit nicely in the appropriate spot on the form.

However, there is a large border around the control with a greyed-out scroll bar on the right (because the content does not exceed the length of the control itself).

I believe we’ll have more room for the actual content, not to mention greatly improve the look of the form, if we can get rid of that unnecessary border.

I have tried modifying all of the control’s properties, but nothing seems to work. I checked other databases that use such controls (eg. perweb.nsf), but they all size the control to the window size (thereby negating the visual intrusion of the borders).

Can anyone suggest a technique I can use to remove the borders from the control?

Any advice would be greatly appreciated!

Subject: Is there any way to remove the border from an embedded browser control?

I ran into the same issue today, so if anyone else wants to know, use the scroll=“no” attribute on the tag e.g.

Set ie = Source.GetObject( “Microsoft Web Browser” )

ie.Navigate “about:blank”

ie.document.write |

Hello world

|