I'm implementing the WebBrowser control in my app and I would like to be able
to show the Add to Favorites and Organize Favorites dialogs that are used in
Internet Explorer. Is this possible?
Thanks,
Lance 17 2660
ljEvend,
Was it you I showed this week the as far as I remember me first and last
(greath) help I ever got from Herfried.
\\\
AxWebBrowser.Na vigate("about:< html><body
onload=javascri pt:window.exter nal.addFavorite ('" + textbox1.Text +
"')></body></html>")
///
I hope this helps,
Cor
"ljlevend2" <lj*******@nosp am.nospam> schrieb: I'm implementing the WebBrowser control in my app and I would like to be able to show the Add to Favorites and Organize Favorites dialogs that are used in Internet Explorer. Is this possible?
Normally this should work using 'ExecWB' + 'IDM_ADDFAVORIT ES', but I could
not get it work.
'IDM_ADDFAVORIT ES' Command ID
<URL:http://msdn.microsoft. com/library/default.asp?url =/workshop/browser/mshtml/reference/commandids.asp>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Thanks a lot for the idea. That sounds similar to what I am looking for, but
I could not get it to work. Any other ideas or suggestions?
Thanks again,
Lance
Peter,
""Peter Huang" [MSFT]" <v-******@online.m icrosoft.com> schrieb: So far the AxWebBrowser1.E xecWB method did not support IDM_ADDFAVORITE S.
I didn't find any information in the documentation which states that
'IDM_ADDFAVORIT ES' is not supported by 'WebBrowser', however, as it doesn't
work it is obviously not supported.
I think you may try Cor's suggestion
ACK. If you do not want to change the URL in the primary webbrowser control
you may want to place a second webbrowser control on the form and prevent
the user from accessing it as shown below:
\\\
' Dummy webbrowser control used to display the favorites dialog.
With Me.AxWebBrowser 2
.TabStop = False
.Size = New Size(0, 0)
End With
Me.AxWebBrowser 1.Navigate("htt p://dotnet.mvps.org/dotnet/")
..
..
..
Me.AxWebBrowser 2.Navigate( _
"about :<html><h ead></head>" & _
"<body onload=""javasc ript:window.ext ernal.addFavori te('" & _
Me.AxWebBrowser 1.LocationURL & _
"');""></body></html>" _
)
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Peter, think you may try Cor's suggestion
I think that Herfried did not see that it is his sollution, therefore you
did probably of course mean.
"Think you may try Cor's suggestion to use Herfrieds solution showed in far
past to Cor".
Although I agree with you probably as well that this is very confusing for
the OP.
:-)))
Cor
Hi
Thank's Herfried and Cor's reply.
I am sorry I did not make it clear, I do not mean IWebBrowser2 unmanged
interface did not support IDM_ADDFAVORITE S.
I means the AxWebrowser managed Wrap did not have the option
IDM_ADDFAVORITE S, if we use VB.NET with ExecWB, the intellisence will popup
a list which did not include the IDM_ADDFAVORITE S.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
> ACK. If you do not want to change the URL in the primary webbrowser control you may want to place a second webbrowser control on the form and prevent the user from accessing it as shown below:
It looks like that should work, but unfortunately I do not know how to
create the AxWebBrowser. I am only familiar with the
Windows.Forms.W ebBrowser control. If you could help me with this I think I
would be in good shape.
Thanks again,
Lance
"ljlevend2" <lj*******@nosp am.nospam> schrieb: ACK. If you do not want to change the URL in the primary webbrowser control you may want to place a second webbrowser control on the form and prevent the user from accessing it as shown below:
It looks like that should work, but unfortunately I do not know how to create the AxWebBrowser. I am only familiar with the Windows.Forms.W ebBrowser control. If you could help me with this I think I would be in good shape.
Are you using .NET 2.0?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Hi
In 2.0, we have wrap the WebBrowser control as a buildin control, we do not
try to generate the AxWebBrowser via COM Interop, just use the WebBrowser
control.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alexandre Almeida |
last post by:
hello,
how can i put my IE favorites into a database(access).
i'm trying to manage my favotites using a web page.
thanks on advance
AA
|
by: shank |
last post by:
Is there any one "add to favorites" code that will work for IE, NS, AOL, and
a host of others? At least some code that will give me an effective "add to
favorites" for the highest percentage of users. The code in my searches have
been disclaimed has working with this but not that. I'm not sure how old
some of this code is either.
thanks!
|
by: JP |
last post by:
I have the need to be able to access the IE5+ favorites
menu, read the title and URL for each shortcut so I can
render the person's favorites list on a web page.
The project I'm working on is written is C#, and is web
based. I had hoped there was a URL property or something
I could use in the System.IO class, but no such luck, and
websites aren't very clear on the steps or even if its at
all possible.
Again, basically want to read...
|
by: Dennis Ruppert |
last post by:
Greetings
This is rather ambitious:
I have a split database that contains many different reports. I have a
form that the end user launches the reports from. They select the
report criteria from several combo boxes, click a "Go" command button
to launch the report. I then pass the report criteria to various
report "templates" as an SQL string.
|
by: clintonG |
last post by:
I've been hunting around. Does anybody have a URL to
Microsoft'sdocumentation for Favorites?
--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
| |
by: Tom McL. |
last post by:
I have a new computer which came with sp2 and
framework 1.1.
I have noticed that my favorites that contain links to
visual basic.net subjects that were saved under
the earlier version framework no longer work. Upon investigating
I found that the help files in the following directory:
C:\Documents and Settings\All Users\Application Data\Microsoft Help
no longer supporting the early vb.net help files. I could
copy the files from my old...
|
by: draken |
last post by:
Basically, what I am looking to do is to sync up browsers favorites via a
website without a download. I thought of javascript when first doing this,
as I know, mozilla would allow me to pull them directly just with the js,
but I do not want to have go beyond javascript and PHP.
I have been going over making a mozilla extension as well as getting into
some programming for a toolbar(I know some c/c++ and c#), but, if I can do
something...
|
by: Killer42 |
last post by:
I have actually asked a pretty similar question here in the past, without a great deal of success. But I've decided to try a different tack.
So, what are the ways in which a network admin could remove the Favorites menu from Windows Explorer (presumably by use of a group policy), and how can I overcome it and put my favorites menu back where it belongs?
Originally I was able to get it back by correcting...
|
by: andrewq2 |
last post by:
I have a post in fourms.micorsoft.com but no one is responding, and i
had good luck in google groups befor so i decieded on posting my
question here also.
Im trying to add a favorites function to my web browser. the problem
when i hit the add to favorites button it does nothing.
but on form close it creates the favorites.xml file. so i know the
problem is somewhere in the add to favorites function.
hears my code:
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |