PC Review


Reply
Thread Tools Rate Thread

accessing webbrowser form the clas

 
 
ddd
Guest
Posts: n/a
 
      21st Nov 2004
How can I access a webbrowser control that is embeded on a form from a
class? Also is it possible to create a webbrowser object on the form from a
classs?

thanks

tony


 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      22nd Nov 2004
ddd,

There are actualy two webbrowser parts.
axinterop.shdocvw and interop.shdocvw

The first needs a form, the second can be used from everywhere, it is the
actual interop to IE and does not show a form in your application however
you can open an IE instance with it..

I hope this helps?

Cor

"ddd" <(E-Mail Removed)>

> How can I access a webbrowser control that is embeded on a form from a
> class? Also is it possible to create a webbrowser object on the form from
> a
> classs?
>
> thanks
>
> tony
>
>



 
Reply With Quote
 
ddd
Guest
Posts: n/a
 
      22nd Nov 2004
Cor,

Thanks for the information. I believe I always use the first one. How would
I use the second one? Do I have to add any references to the project?

Thanks for your help

tony


"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> ddd,
>
> There are actualy two webbrowser parts.
> axinterop.shdocvw and interop.shdocvw
>
> The first needs a form, the second can be used from everywhere, it is the
> actual interop to IE and does not show a form in your application however
> you can open an IE instance with it..
>
> I hope this helps?
>
> Cor
>
> "ddd" <(E-Mail Removed)>
>
> > How can I access a webbrowser control that is embeded on a form from a
> > class? Also is it possible to create a webbrowser object on the form

from
> > a
> > classs?
> >
> > thanks
> >
> > tony
> >
> >

>
>



 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      22nd Nov 2004
ddd

I never used it, however I thought, that it was when you have set a
reference too that dll

Friend withevents MyIE As SHDocVw.InternetExplorer

Be aware that although the documentation is the same as the axwebbrowser a
lot of events don't do that like the axwebbrowser.

I hope that goes,


Cor


"ddd" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Cor,
>
> Thanks for the information. I believe I always use the first one. How
> would
> I use the second one? Do I have to add any references to the project?
>
> Thanks for your help
>
> tony
>
>
> "Cor Ligthert" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> ddd,
>>
>> There are actualy two webbrowser parts.
>> axinterop.shdocvw and interop.shdocvw
>>
>> The first needs a form, the second can be used from everywhere, it is the
>> actual interop to IE and does not show a form in your application however
>> you can open an IE instance with it..
>>
>> I hope this helps?
>>
>> Cor
>>
>> "ddd" <(E-Mail Removed)>
>>
>> > How can I access a webbrowser control that is embeded on a form from a
>> > class? Also is it possible to create a webbrowser object on the form

> from
>> > a
>> > classs?
>> >
>> > thanks
>> >
>> > tony
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using container window handle to set parent of a Form derived clas Marcos Microsoft Dot NET Framework Forms 3 26th Nov 2008 01:40 PM
Accessing a running ActiveX C# Exe from WebBrowser Tobias Maier Microsoft C# .NET 1 29th Jul 2008 09:58 PM
Accessing FORM POST data via the .NET 2 WebBrowser control dbounds@gmail.com Microsoft Dot NET Framework Forms 2 21st Jan 2007 10:54 AM
C#, WebBrowser control and accessing the ScrollBars? Flip Microsoft Dot NET 0 28th Sep 2005 04:02 PM
.NET 2.0, WebBrowser, accessing the ScrollBars? Flip Microsoft C# .NET 0 27th Sep 2005 04:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 PM.