473,385 Members | 2,044 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,385 software developers and data experts.

How to develop an add-in for internet explorer?

Give me some advice plz, thanks.
Nov 16 '05 #1
5 2766
"Tommy Shore" <to*********@163.com> wrote in message
news:#6**************@TK2MSFTNGP10.phx.gbl...
Give me some advice plz, thanks.


Well, you don't say what you want to do so your question is a bit
open-ended.

You might want to start your research by googling for "browser helper
object" (aka BHO) and/or "explorer bar".

Regards,
Will
Nov 16 '05 #2
I need this:
I click a href such as http://localhost/down.aspx?nid=123 and in fact it
points to a file named 123.zip, I want to
get the file name "123.zip" before the downloading begins.

So, what should I do?

Thanks.
"William DePalo [MVP VC++ ]" <wi***********@mvps.org> дÈëÏûÏ¢ÐÂÎÅ
:Ou**************@TK2MSFTNGP12.phx.gbl...
"Tommy Shore" <to*********@163.com> wrote in message
news:#6**************@TK2MSFTNGP10.phx.gbl...
Give me some advice plz, thanks.


Well, you don't say what you want to do so your question is a bit
open-ended.

You might want to start your research by googling for "browser helper
object" (aka BHO) and/or "explorer bar".

Regards,
Will

Nov 16 '05 #3
"Tommy Shore" <to*********@163.com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...
I need this:
I click a href such as http://localhost/down.aspx?nid=123 and in fact it
points to a file named 123.zip, I want to
get the file name "123.zip" before the downloading begins.

So, what should I do?


The browser control has an interface named DWebBrowser2. One of the events
on that interface is BeforeNavigate2 which fires just before the control
moves to a new URL. I _think_ (but I am not sure) that a Browser Helper
Object could be used to get access to this interface in IE so that you could
track IE's movements. Alternatively, you could host the browser control in
your own application.

Dino Esposito has written in MSJ or MIND or MSDN magazine on the topic. You
might want to search the web.

Regards,
Will

Nov 16 '05 #4
Thanks very much.

Now I can catch the event "DWebBrowserEvent2->FileDownLoad", but I don't
know how can I catch get file name from the website.
What function or class should I use to get the name?For example
http://localhost/vc6.rar, how can I get it?
"William DePalo [MVP VC++ ]" <wi***********@mvps.org> дÈëÏûÏ¢ÐÂÎÅ
:#G**************@TK2MSFTNGP12.phx.gbl...
"Tommy Shore" <to*********@163.com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...
I need this:
I click a href such as http://localhost/down.aspx?nid=123 and in fact it
points to a file named 123.zip, I want to
get the file name "123.zip" before the downloading begins.

So, what should I do?
The browser control has an interface named DWebBrowser2. One of the events
on that interface is BeforeNavigate2 which fires just before the control
moves to a new URL. I _think_ (but I am not sure) that a Browser Helper
Object could be used to get access to this interface in IE so that you

could track IE's movements. Alternatively, you could host the browser control in
your own application.

Dino Esposito has written in MSJ or MIND or MSDN magazine on the topic. You might want to search the web.

Regards,
Will

Nov 16 '05 #5
"Tommy Shore" <to*********@163.com> wrote in message
news:#t**************@TK2MSFTNGP12.phx.gbl...
Thanks very much.
You are welcome.
Now I can catch the event "DWebBrowserEvent2->FileDownLoad", but I don't
know how can I catch get file name from the website.


I don't know for sure. I suggest you do some experimenting. I would expect
that the sequence of events might be something like

BeforeNavigate2 // includes URL
FileDownload
DownloadBegin
DownloadComplete
NavigateComplete2

but that's just speculation on my part.

Regards,
Will
Nov 16 '05 #6

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

Similar topics

15
by: Bart | last post by:
What is the best tool to develop a php-website ? I used Macromedia Dreamweaver MX and Zend Studio. Are there better tools ? Bart
30
by: Erwin Moller | last post by:
Hi group, Just curious what IDEs are popular nowadays. What do you expect from an IDE? Debugging? Do you use your IDE for debugging, or do you work like me? (Just use some smart-placed...
10
by: Rada Chirkova | last post by:
Hi, at NC State University, my students and I are working on a project called "self-organizing databases," please see description below. I would like to use an open-source database system for...
2
by: Paul | last post by:
Hi, I'm pretty new to ASP.NET so not even sure how to do this correctly. On a webpage I want to display a table with rows of data from a database table (that bit I can do using datagrids etc). ...
1
by: Patrick | last post by:
With VS.NET Standard (not VS.NET Professional). Can i develop windows Services with this? Also, can i develop components for .NET Remoting? Currently I develop windows services with my VS.NET...
1
by: dotnet | last post by:
Hi, I need to develop web application using vs.net I've started with asp.net I've books for asp.net and C#. But any book or sites deal only with note pad. How do I learn how to use vs.net to...
16
by: Rainer Queck | last post by:
Hi, What would be the best way to develop a class library? I am planing to develop a couple of classes, needed in our company enviroment. These classe will be later used in several projects. ...
0
by: vayalumkan | last post by:
Hi Sir, I want some technical help on how to develop(Implement) a Content Management System using ASP.NET and C#? Can any body help me to develop a CMS (Content Management System) ? ...
2
by: dmstn | last post by:
Hello, I have to pick an open source java program (e.g. from sourceforge.net) and work on a project, add a new utility to that program etc. Which ones are the easiest to work on? Waiting for you...
0
by: geshan | last post by:
Lets see and compare the 4 ways (not tools) to develop/code your own PHP website or web application. The following are the ways you can code/develop your application (involving more Create Read...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.