473,770 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Handling "Events" raised by objects within a WebBrowser control?

Hi people,

Is it possible for me to handle events raised by an object which is embeded
in a web browser control, from my VB.NET code? I am able to gain access to
the object itself through the browser object model and have successfully
used IPersistStorage to get/set the object in the browser control from
VB.NET. As the object is "in place active" in the browser (I'm using the
browser as an OLE container), I would like to be notified of any changes
made to it and it will raise events to do this. The question is, how can I
get these events out of the web browser control and into my VB.NET program
so I can handle them? (do I need to mess around with scripting in the HTML
I'm using to embed the object in the browser control?). Is it possible to a
WebBrowser control to call VB code, via. scripting?

Thanks for any help you can give me on this....

Robin
Nov 16 '05 #1
0 1404

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

Similar topics

6
37220
by: Lauren Wilson | last post by:
Hello group, Somehow, I have not yet fully understood the meaning and purpose of "DoEvents". Can someone post or point me to a clear, concise explanation of it -- one that includes situational examples of how and why it is used? The Access on-line help is not as helpful as I need for my mental density! Sorry to be so dense. Please indulge me.
2
2104
by: Eric Newton | last post by:
VB's more declarative nature of handling events is golden. I'm hoping C# will acquire this type of deal, in addition to the anonymous delegates. could do same as vb (actually would be easier to parse then vb due to braces) whereas you look for Handles keyword after method sig, but before opening brace of the method. compiler would implicitly build event handling code for all typed constructions, ie, any variables instances constructed...
0
1049
by: Robin Tucker | last post by:
Hi there, I would like to handle and "pass on" events occuring from items in a web page hosted in the WebBrowser control. Does anyone have any information on how to do this? Thanks
5
1465
by: Xaviero | last post by:
I have a webform that contains a placeholder control that is filled with various usercontrols. I have an error/info message label on the webform (for interface clenliness). Sometimes the the usercontrol has to populate the message label on the webform. How can I have the webfrom respond to this type of request from the user control? Thanks
12
2807
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown when menu items are clicked.Besides these i would like to put a custom status bar. Any error message encountered in any of the webpage will be displayed in the banner. The problem iam encountering is how to access the customer status bar in child...
0
872
by: Robin Tucker | last post by:
Hi people, Is it possible for me to handle events raised by an object which is embeded in a web browser control, from my VB.NET code? I am able to gain access to the object itself through the browser object model and have successfully used IPersistStorage to get/set the object in the browser control from VB.NET. As the object is "in place active" in the browser (I'm using the browser as an OLE container), I would like to be notified of...
2
2112
by: Jonathan | last post by:
Hi I need implement loosely coupled events to raise events in a Classibrary project from one Windows Application project, and hanlde these from other Windows Application project. I found this article in MSDN, but I don't know how to implement. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconlooselycoupledevents.asp Thanks :)
7
1817
by: Jay Douglas | last post by:
Greetings, I have a Windows form application that (naturally) instantiates all sorts of objects. I have a base object that contains an event. Lots of other objects inherit from this event. When the base object or any derived object is instantiated I would like to automagically start listening for the event. An example and a further explanation follows: public delegate NeedFoodDelegate(object sender, EventArgs args);
0
1175
by: Datacop | last post by:
I am making use of the Provider model to create custom logic providers for an in house winform application. I have my own provider consumer that is responsible for loading the proper provider and delegating the methods back to the provider. The provider consumer also handles events raised from the provider. The problem that I'm having is the events are not being established properly within the providers to the provider consumer..
0
9617
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
10254
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10099
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
9904
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
8929
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...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.