Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Can your app detect Webrowser events?

Reply
 
Old 05-02-2008   #1 (permalink)
jim


 
 

Can your app detect Webrowser events?

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



My System SpecsSystem Spec
Old 05-03-2008   #2 (permalink)
Michel Posseth [MCP]


 
 

Re: Can your app detect Webrowser events?

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.dll 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" <jim@xxxxxx> schreef in bericht
news:kvQSj.69099$vr3.14207@xxxxxx
Quote:

>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
>

My System SpecsSystem Spec
Old 05-03-2008   #3 (permalink)
jim


 
 

Re: Can your app detect Webrowser events?

Thank you for the code. It will come in handy.

jim

"Michel Posseth [MCP]" <MSDN@xxxxxx> wrote in message
news:efB3PEPrIHA.4952@xxxxxx
Quote:

>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.dll 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" <jim@xxxxxx> schreef in bericht
> news:kvQSj.69099$vr3.14207@xxxxxx
Quote:

>>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
>>
>
>

My System SpecsSystem Spec
Old 05-04-2008   #4 (permalink)
Cor Ligthert[MVP]


 
 

Re: Can your app detect Webrowser events?

Hi,

Maybe does this help you?

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

:-)

Cor

"jim" <jim@xxxxxx> schreef in bericht
news:kvQSj.69099$vr3.14207@xxxxxx
Quote:

>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
>
My System SpecsSystem Spec
Old 05-04-2008   #5 (permalink)
jim


 
 

Re: Can your app detect Webrowser events?

Thanks for the link! It's a great start!

jim


"Cor Ligthert[MVP]" <notmyfirstname@xxxxxx> wrote in message
news:0D5B9E7E-0C48-40A9-8A16-D1DB9D1EEC3D@xxxxxx
Quote:

> Hi,
>
> Maybe does this help you?
>
> http://www.vb-tips.com/dbpages.aspx?Search=webbrowser
>
> :-)
>
> Cor
>
> "jim" <jim@xxxxxx> schreef in bericht
> news:kvQSj.69099$vr3.14207@xxxxxx
Quote:

>>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
>>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
COM events? PowerShell
Wmi events PowerShell
Events, events PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46