473,626 Members | 3,305 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Missing axWebBrowser when changing position with autoscroll in vb

I have a scrollable vb.net form with a web browser (axWebBrowser) instance on
it.

All is well until I try to change the left/top (and perhaps height/width) of
the web browser on the form. If the form is scrolled so that the top of a
browser control is not showing, then the browser is lost.

The behavior is especially amusing if part of the browser is visible, and
part is above the window. The change works, but the portion of the browser
that was above the window, is lost and doesn't reappear when I page up the
window.

Forcing the window's autoscroll position to zero before changing the web
browser's parameters gives me a LOT of flickering when changing the window
size.

Any ideas?

- Malcolm
Nov 21 '05 #1
1 1665
Macolm,

In my opinion is the most simple for that axwebbrowser when you want to
resize it, is to set it docked in a panel.

(And it has a minimum size I don't know anymore what it was probalby you can
try that)

I hope this helps?

Cor
"ma*****@nospam .nospam"
I have a scrollable vb.net form with a web browser (axWebBrowser) instance
on
it.

All is well until I try to change the left/top (and perhaps height/width)
of
the web browser on the form. If the form is scrolled so that the top of a
browser control is not showing, then the browser is lost.

The behavior is especially amusing if part of the browser is visible, and
part is above the window. The change works, but the portion of the
browser
that was above the window, is lost and doesn't reappear when I page up the
window.

Forcing the window's autoscroll position to zero before changing the web
browser's parameters gives me a LOT of flickering when changing the window
size.

Any ideas?

- Malcolm

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9658
by: spencer | last post by:
Hello, I have an index page with an autoscroller writen with CSS. The problem is the scrolling content(text and inages)'s position is correct but will off position when the broswer(IE) window size was changed. How can I make the scrolling content "stick" the position with respect to the scrollowing box? Your advise is appreciated. Spencer
0
2907
by: Matthias Kwiedor | last post by:
I have a aplication which hosts an axWebbrowser. This activex component needs about 10 to 15 mb of memory. Because i have a option to move the aplication to tray icon and do some timer work i don't want that it just spends over 10mb for nothing. So i remove the axwebbrowser with axwebbrowser1.dispose() which works fine. After show the application back from the tray icon i will implement the axwebbrowser again with the same i did it...
0
1129
by: amit bharadwaj | last post by:
hi all i am using a panel with autoscroll , now i want to set the thump position myself on clicking scroll-bar buttons or page up or page down buttons . pls help -- amit bharadwaj
3
10202
by: Clint MacDonald | last post by:
I have used the AxWebBrowser in a Visual Basic Project... I found that both Framework 1.0 and 1.1 had to be installed for it to work properly. I now have found that in Studio 2003, that the probablem has come back even if both are installed. When I open a windows form that has the Browser on it and try to Navigate to a page using the OnEnter or OnLoad events, the page just sits there and does
0
1761
by: Adrian Belen via .NET 247 | last post by:
hi, I have a problem when I try to open an excel document in a AxWebBrowser Component in VB.NET. The problem appear in this situation: Before to all the Excel application is opened from the user with some document xls. After that my application open an excel document (can be another document) using the component AxWebBrowser Then the first applications have problem when I try to modify the document.
6
2097
by: MARTIN LANNY | last post by:
Is there alternative to AxWebBrowser? I spent one whole week trying to make AxWebBrowser refresh php page. It never works. I tried over 10-15 suggestions from Microsoft itself. Refresh just doesn't work. I tried to create AxWebBrowser programatically, but it throws exceptions when I want to dispose it and no one was able to help me or tell me why.
2
6402
by: | last post by:
Hi all, I would like to know if there are anyways to disable javascript, activeX and all scripting on AxWebBrowser. I have a program that include the AxWebBrowser and load internet pages, but some pages keep having javascript error and a popup was shown. I want to eliminate all the popup from javascript and other object, how can I achieve this? Thanks a lot. Windy.
6
11248
by: ESmith | last post by:
I'm looking to user a web browser component in VS2005. I like the functionality in the AXWebBrowser component (from ActiveX controls page) that allows me to do this: mshtml.HTMLDocument doc; doc = (mshtml.HTMLDocument)this.SecureWebBrowser.Document; mshtml.HTMLButtonElement ButtonTest =
6
3762
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the AxWebBrowser.Document: When I print browser.Document.GetType().ToString() at runtime, I get "mshtml.HTMLDocumentClass". But The VS2005 compiler does not recognize the member AxWebBrowser.Document as anything other than a System.Object -- e.g.,...
0
8262
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6122
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2623
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.