473,651 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can your app detect Webrowser events?

jim
I want to make a WYSIWYG editor for HTML pages that can detect events in the
webbrowser control in real time and control the webbrowser control (and
internal documents) to allow simple stuff like dragging and dropping HTML
controls on the webbrowser control.

The goal is a real-time view of the page as it is edited.

Is it possible for a .Net app to trap these events and respond accordingly?

I have googled for soem code examples, but haven't found anything yet. Do
you know of any code examples of this?

Thanks so much for your time!

jim
Jun 27 '08 #1
4 1380
I have done lots of stuff with the AxWebbrowser control and AFAIK you can
trap anny event
I have once ( few years ago ) written an alternative for the VB6
wbcustomizer.dl l in VB.Net it is posted on freevbcode

http://www.freevbcode.com/ShowCode.A...omizer&ID=5635

i used it to detect certain events and to dissable them ( like right mouse
click etc etc etc )
HTH

Michel


"jim" <ji*@home.netsc hreef in bericht
news:kv******** ***********@big news2.bellsouth .net...
>I want to make a WYSIWYG editor for HTML pages that can detect events in
the webbrowser control in real time and control the webbrowser control (and
internal documents) to allow simple stuff like dragging and dropping HTML
controls on the webbrowser control.

The goal is a real-time view of the page as it is edited.

Is it possible for a .Net app to trap these events and respond
accordingly?

I have googled for soem code examples, but haven't found anything yet. Do
you know of any code examples of this?

Thanks so much for your time!

jim

Jun 27 '08 #2
jim
Thank you for the code. It will come in handy.

jim

"Michel Posseth [MCP]" <MS**@posseth.c omwrote in message
news:ef******** ******@TK2MSFTN GP05.phx.gbl...
>I have done lots of stuff with the AxWebbrowser control and AFAIK you can
trap anny event
I have once ( few years ago ) written an alternative for the VB6
wbcustomizer.dl l in VB.Net it is posted on freevbcode

http://www.freevbcode.com/ShowCode.A...omizer&ID=5635

i used it to detect certain events and to dissable them ( like right mouse
click etc etc etc )
HTH

Michel


"jim" <ji*@home.netsc hreef in bericht
news:kv******** ***********@big news2.bellsouth .net...
>>I want to make a WYSIWYG editor for HTML pages that can detect events in
the webbrowser control in real time and control the webbrowser control
(and internal documents) to allow simple stuff like dragging and dropping
HTML controls on the webbrowser control.

The goal is a real-time view of the page as it is edited.

Is it possible for a .Net app to trap these events and respond
accordingly?

I have googled for soem code examples, but haven't found anything yet.
Do you know of any code examples of this?

Thanks so much for your time!

jim


Jun 27 '08 #3
Hi,

Maybe does this help you?

http://www.vb-tips.com/dbpages.aspx?Search=webbrowser

:-)

Cor

"jim" <ji*@home.netsc hreef in bericht
news:kv******** ***********@big news2.bellsouth .net...
>I want to make a WYSIWYG editor for HTML pages that can detect events in
the webbrowser control in real time and control the webbrowser control (and
internal documents) to allow simple stuff like dragging and dropping HTML
controls on the webbrowser control.

The goal is a real-time view of the page as it is edited.

Is it possible for a .Net app to trap these events and respond
accordingly?

I have googled for soem code examples, but haven't found anything yet. Do
you know of any code examples of this?

Thanks so much for your time!

jim
Jun 27 '08 #4
jim
Thanks for the link! It's a great start!

jim
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:0D******** *************** ***********@mic rosoft.com...
Hi,

Maybe does this help you?

http://www.vb-tips.com/dbpages.aspx?Search=webbrowser

:-)

Cor

"jim" <ji*@home.netsc hreef in bericht
news:kv******** ***********@big news2.bellsouth .net...
>>I want to make a WYSIWYG editor for HTML pages that can detect events in
the webbrowser control in real time and control the webbrowser control
(and internal documents) to allow simple stuff like dragging and dropping
HTML controls on the webbrowser control.

The goal is a real-time view of the page as it is edited.

Is it possible for a .Net app to trap these events and respond
accordingly?

I have googled for soem code examples, but haven't found anything yet.
Do you know of any code examples of this?

Thanks so much for your time!

jim

Jun 27 '08 #5

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

Similar topics

0
344
by: Todd | last post by:
I am trying to imbed the IE web browser control in my application. I want to sit on the text input fields on the web page and recieve keyup/keydown events. These events are not getting back to my C# application. I saw a tech note and a hot fix for this problem for .NET 1.0.. but i'm using ..NET 1.1 (Visual Studio 2003). Did this problem re-surface?
6
3999
by: Stephane Belzile | last post by:
Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure? Thanks
1
9469
by: mike.hodgson | last post by:
Hi, I have an image in a webrowser which is 3000 pixels wide so does not fit in the browsers window. It is a CAD drawing so needs this detail. Using the scroll bars makes the image difficult to view so I am looking for some code where I can set the view width to 1000 pixels and the code will allow me to zoom in and out of the image and pan it around the page, a bit like how google maps works. Can anyone help me with this please. It...
2
1984
by: Keith Wilby | last post by:
The link below: http://support.microsoft.com/default.aspx?scid=kb;en-us;128814 to the Microsoft KB "Detect Idle Time" article shows how to detect "idle" time. However, if a user is active but doesn't move between controls on a form (eg, filters on the same control), this is seen as inactivity. Has anyone successfully modified the code to detect filter/find events on the same control? Any pointers greatly appreciated.
0
1089
by: sbuggle | last post by:
Hi, I posted an earilier post vb6 and shellexecute to accomplish my task but think this is better with the webrowser control. I have to do a search with vb6 and somehow open up the third url on the search page. On the form there is textbox = search criteria command button search
4
13270
by: e-Ricc | last post by:
Hi guys! Im trying to detect when a user "kills" my c# app using windows task manager, i've tried with the form events _closing and _closed managing for example putting an if inside to detect it: if (e.CloseReason == CloseReason.TaskManagerClosing) { MessageBox.Show("from task manager"); }
2
1111
by: jim | last post by:
I want to make a WYSIWYG editor for HTML pages that can detect events in the webbrowser control in real time and control the webbrowser control (and internal documents) to allow simple stuff like dragging and dropping HTML controls on the webbrowser control. The goal is a real-time view of the page as it is edited. Is it possible for a .Net app to trap these events and respond accordingly? I have googled for soem code examples, but...
4
6463
by: raylopez99 | last post by:
Compound question: first, and this is not easy, if there's a way to detect multiple simultaneous key presses in C# let me know (in the below code, keys c and d being pressed simultaneously or nearly so). I researched this and for C# (as opposed to MFC) there is no library function, and no easy way, though some code on the net suggested that you set up a thread that 'lives' for a certain time, then, if keys are pressed in that certain...
0
3275
by: =?Utf-8?B?am1hZ2FyYW0=?= | last post by:
My program needs to do X when someone 'starts using' their Windows user account, and it should do Y when they 'stop using' their Windows user account. By 'starts using' I mean they log on, unlock the desktop, resume from hibernate/sleep, or resume a session that was paused via Switch User. By 'stop using' I mean they lock the desktop, initiate a hibernate/sleep , or choose Switch User while logged on. For context, the program is a parental...
0
8361
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
8701
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...
1
8466
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7299
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
6158
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
4144
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
4290
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
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
2
1588
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.