473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Dear Santa, My Webbrowser Wish List......

Jim
Dear Santa,

While it's true that I haven't been perfect this year, it's definitely
an improvement over previous years. All cats still have their own fur, no
hidden cat fur in this year's Thanksgiving green bean casserole and not even
one kid in the neighborhood has lost a toe this year!

With these things in mind, I'd like to ask for knowledge this Christmas.
Specifically, for knowledge about extending the webbrowser control in VB.Net
2.0

While the .Net interface is really neat and easy to use, it lacks access
to some of the activeX component's more powerful features. Like no access
to the IInternetSecurity interface (to allow or block stuff like activeX,
java, sounds, etc.) to set security for each instance of the control on a
per page or per site basis, no easy way to control or override the context
menus, no exposed download control (being able to invoke an internal
download manager instead of having to code a COM component and register it
separately from the core application),how to save pages as MHT files, how to
keep my webbrowser control settings separate from the user's IE settings in
the registry and how to add ExecWB commands to my webbrowser control.
Well.....these are a start anyway.

I don't know how much help it is, but I saw something concerning most of
this stuff at
http://msdn.microsoft.com/library/de...ebbrowser2.asp.

It would be nice to have a class with these objects pre-wrapped. But it
would be nicer to learn how to implement these things myself so that I can
extend classes and expose interfaces on many other objects as I learn and
work.

Whatever you decide to leave under this tree, please know that my little
sister really wanted her hair cut that way.....HONEST!

Jim
Dec 15 '05 #1
4 1304
Jim,

How about the ActiveXInstance property? It will return an object which
is the Runtime Callable Wrapper for the actual ActiveX control. You can
then use this in any way that you would use the regular web browser control
in non-managed applications (although you might have to define some of the
interfaces yourself).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jim" <re***@groups.please> wrote in message
news:wI*******************@bignews3.bellsouth.net. ..
Dear Santa,

While it's true that I haven't been perfect this year, it's definitely
an improvement over previous years. All cats still have their own fur, no
hidden cat fur in this year's Thanksgiving green bean casserole and not
even one kid in the neighborhood has lost a toe this year!

With these things in mind, I'd like to ask for knowledge this
Christmas. Specifically, for knowledge about extending the webbrowser
control in VB.Net 2.0

While the .Net interface is really neat and easy to use, it lacks
access to some of the activeX component's more powerful features. Like no
access to the IInternetSecurity interface (to allow or block stuff like
activeX, java, sounds, etc.) to set security for each instance of the
control on a per page or per site basis, no easy way to control or
override the context menus, no exposed download control (being able to
invoke an internal download manager instead of having to code a COM
component and register it separately from the core application),how to
save pages as MHT files, how to keep my webbrowser control settings
separate from the user's IE settings in the registry and how to add ExecWB
commands to my webbrowser control. Well.....these are a start anyway.

I don't know how much help it is, but I saw something concerning most
of this stuff at
http://msdn.microsoft.com/library/de...ebbrowser2.asp.

It would be nice to have a class with these objects pre-wrapped. But
it would be nicer to learn how to implement these things myself so that I
can extend classes and expose interfaces on many other objects as I learn
and work.

Whatever you decide to leave under this tree, please know that my
little sister really wanted her hair cut that way.....HONEST!

Jim

Dec 15 '05 #2
Jim
As far as the ActiveXInstance object is concerned, it is ReadOnly - you
can't set any properties here. Look at
http://msdn2.microsoft.com/en-us/lib...xinstance.aspx.

Defining interfaces is one of the areas I need help with. How do you
"define an interface" in VB.Net? Where do you get the interface properties
for the definition? Examples would be most excellent.

Thanks for your input!

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OA**************@TK2MSFTNGP12.phx.gbl...
Jim,

How about the ActiveXInstance property? It will return an object which
is the Runtime Callable Wrapper for the actual ActiveX control. You can
then use this in any way that you would use the regular web browser
control in non-managed applications (although you might have to define
some of the interfaces yourself).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jim" <re***@groups.please> wrote in message
news:wI*******************@bignews3.bellsouth.net. ..
Dear Santa,

While it's true that I haven't been perfect this year, it's definitely
an improvement over previous years. All cats still have their own fur,
no hidden cat fur in this year's Thanksgiving green bean casserole and
not even one kid in the neighborhood has lost a toe this year!

With these things in mind, I'd like to ask for knowledge this
Christmas. Specifically, for knowledge about extending the webbrowser
control in VB.Net 2.0

While the .Net interface is really neat and easy to use, it lacks
access to some of the activeX component's more powerful features. Like
no access to the IInternetSecurity interface (to allow or block stuff
like activeX, java, sounds, etc.) to set security for each instance of
the control on a per page or per site basis, no easy way to control or
override the context menus, no exposed download control (being able to
invoke an internal download manager instead of having to code a COM
component and register it separately from the core application),how to
save pages as MHT files, how to keep my webbrowser control settings
separate from the user's IE settings in the registry and how to add
ExecWB commands to my webbrowser control. Well.....these are a start
anyway.

I don't know how much help it is, but I saw something concerning most
of this stuff at
http://msdn.microsoft.com/library/de...ebbrowser2.asp.

It would be nice to have a class with these objects pre-wrapped. But
it would be nicer to learn how to implement these things myself so that I
can extend classes and expose interfaces on many other objects as I learn
and work.

Whatever you decide to leave under this tree, please know that my
little sister really wanted her hair cut that way.....HONEST!

Jim


Dec 15 '05 #3
Jim,

Thanks, I did not know that I could get that information by searching for
webbrowser2.

There is told that the MSDN team is very much busy to work on there website
to get it better again. It is known that it is not working at the moment as
it should be.

Not much but than you know you share your problem with others.

Cor

"Jim" <re***@groups.please>
...
Dear Santa,

While it's true that I haven't been perfect this year, it's definitely
an improvement over previous years. All cats still have their own fur, no
hidden cat fur in this year's Thanksgiving green bean casserole and not
even one kid in the neighborhood has lost a toe this year!

With these things in mind, I'd like to ask for knowledge this
Christmas. Specifically, for knowledge about extending the webbrowser
control in VB.Net 2.0

While the .Net interface is really neat and easy to use, it lacks
access to some of the activeX component's more powerful features. Like no
access to the IInternetSecurity interface (to allow or block stuff like
activeX, java, sounds, etc.) to set security for each instance of the
control on a per page or per site basis, no easy way to control or
override the context menus, no exposed download control (being able to
invoke an internal download manager instead of having to code a COM
component and register it separately from the core application),how to
save pages as MHT files, how to keep my webbrowser control settings
separate from the user's IE settings in the registry and how to add ExecWB
commands to my webbrowser control. Well.....these are a start anyway.

I don't know how much help it is, but I saw something concerning most
of this stuff at
http://msdn.microsoft.com/library/de...ebbrowser2.asp.

It would be nice to have a class with these objects pre-wrapped. But
it would be nicer to learn how to implement these things myself so that I
can extend classes and expose interfaces on many other objects as I learn
and work.

Whatever you decide to leave under this tree, please know that my
little sister really wanted her hair cut that way.....HONEST!

Jim

Dec 15 '05 #4
Hi Jim

The fact that the ActiveXInstance property is read-only is not a problem. It
exposes the underlying web browser object, which understandably you cannot
change because it represents the instance.

What one can do is get at the interfaces that it implements, in just the
same way as could be done in VB 2003.

Pretty much all the interfaces can be found in the PlatformSDK\include
directory where VS is installed. Granted, they are in C, but if there are
any particular ones that you have difficulty converting then I'm sure a post
here or in the languages.vb newsgroup will get a response. You could also
try in microsoft.public.dotnet.framework.interop.

[For IInternetSecurity, I assume you mean IInternetSecurityManager, as I
cannot see the former anywhere]

I do agree with your original request though. The information is pretty
thin, and it takes quite a bit of ferreting and rummaging to pull it
altogether. I hope your plea falls on kindly ears.

HTH

Charles
P.S. microsoft.public.inetexplorer.ie6.browser does not exist. Did you mean
microsoft.public.windows.inetexplorer.ie6.browser?
"Jim" <re***@groups.please> wrote in message
news:Hy*******************@bignews3.bellsouth.net. ..
As far as the ActiveXInstance object is concerned, it is ReadOnly - you
can't set any properties here. Look at
http://msdn2.microsoft.com/en-us/lib...xinstance.aspx.

Defining interfaces is one of the areas I need help with. How do you
"define an interface" in VB.Net? Where do you get the interface
properties for the definition? Examples would be most excellent.

Thanks for your input!

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:OA**************@TK2MSFTNGP12.phx.gbl...
Jim,

How about the ActiveXInstance property? It will return an object
which is the Runtime Callable Wrapper for the actual ActiveX control.
You can then use this in any way that you would use the regular web
browser control in non-managed applications (although you might have to
define some of the interfaces yourself).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jim" <re***@groups.please> wrote in message
news:wI*******************@bignews3.bellsouth.net. ..
Dear Santa,

While it's true that I haven't been perfect this year, it's
definitely an improvement over previous years. All cats still have
their own fur, no hidden cat fur in this year's Thanksgiving green bean
casserole and not even one kid in the neighborhood has lost a toe this
year!

With these things in mind, I'd like to ask for knowledge this
Christmas. Specifically, for knowledge about extending the webbrowser
control in VB.Net 2.0

While the .Net interface is really neat and easy to use, it lacks
access to some of the activeX component's more powerful features. Like
no access to the IInternetSecurity interface (to allow or block stuff
like activeX, java, sounds, etc.) to set security for each instance of
the control on a per page or per site basis, no easy way to control or
override the context menus, no exposed download control (being able to
invoke an internal download manager instead of having to code a COM
component and register it separately from the core application),how to
save pages as MHT files, how to keep my webbrowser control settings
separate from the user's IE settings in the registry and how to add
ExecWB commands to my webbrowser control. Well.....these are a start
anyway.

I don't know how much help it is, but I saw something concerning most
of this stuff at
http://msdn.microsoft.com/library/de...ebbrowser2.asp.

It would be nice to have a class with these objects pre-wrapped. But
it would be nicer to learn how to implement these things myself so that
I can extend classes and expose interfaces on many other objects as I
learn and work.

Whatever you decide to leave under this tree, please know that my
little sister really wanted her hair cut that way.....HONEST!

Jim



Dec 15 '05 #5

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

Similar topics

27
by: VK | last post by:
Following the side thread about the time precision in browser at <http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/91b9f3fd90513161/1ea06131c63cfdf0?hl=en#doc_620f160f0cb57c8c>...
4
by: Jim | last post by:
Dear Santa, While it's true that I haven't been perfect this year, it's definitely an improvement over previous years. All cats still have their own fur, no hidden cat fur in this year's...
2
by: Young | last post by:
Hi! I am writing a program to insert text into a textbox on webbrowser. Please let me know if you can help me. Using Visual Studio 2005(Visual Basic) I have a form with many textboxes on left...
11
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
6
by: Zytan | last post by:
Make a WebBrowser control, and make a bunch of timers / threads that continually call WebBrowser.Document.Write. Eventually, this happens: DisconnectedContext was detected Message: Context...
17
by: Cesar | last post by:
Hello people. I'm having a Winform app that contains a webbrowser control that keeps navigating from one page to another permanentrly to make some tests. The problem I'm having is that after a...
4
by: kimiraikkonen | last post by:
Hi, Just to test, i placed a simple webbrowser to login a site, this site has no problems and has same error with IE6 SP2 but it's suppressed as well and no problem with Firefox browser, but using...
11
by: kimiraikkonen | last post by:
Hi there, I needed to use MouseOver event on Webbrowser which is NOT provided by webbrowser control natively(what a disappointment), so i decided to go with another route to simulate this like: ...
3
by: phonzie | last post by:
First off, I'm using C# A WebBrowser Control This is all inside the webbrowser I'm trying to fill a text field with a variable (The variable works fine, everything checks out, but the text...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...
0
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...

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.