Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am using the Microsoft Web Browser dll to put web browsers on my forms.

 

I was wondering how you can make them so that when the window it resized that it will get bigger with the window? Is there a property that you can turn to true or to false?

Posted
The AxWebBrowser has a Size property, I would register for the Resize event of the control that contains the AxWebBrowser. Inside the Size property, you will know the what the new Width and Height is of the parent control and make up some formula to determine what the Height and Width aka Size of the AxWebBrowser should be.
Posted

OK, well, with forms, when your resize them, they send a message to any listenters that the form has been resized. The messages are events and you tell the form what method(s) [the listeners] u want invoked/called when the event is raised.

 

Unfortunately, I don't know vb.net so I can't show you any examples in that but I can post examples in c# or c++ if that will help.

Posted

I've nothing to contribute to this matter but another question:

What can this browser do? I used to work with the ActiveX Browser Control but found it was lacking some important features e.g. I couldn't retrieve the current URL etc.

Where can I find information (features) about the browser you were talking about?

 

P.S. I need some sort of Browser that let's me add some functions to trace the path and times spend on visited websites so I can evaluate the navigation of participants directly. Right now I depend on forms they fill out after visiting the site.

Debug me...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...