Click here to Skip to main content
10,500,000 members (66,908 online)
Rate this:
Please Sign up or sign in to vote.
Hey everybody,

Firstly, i am sorry because my english may be is not good.

I am implementing a own download manager. But i have an problem and no have solution for it.
Firstly, my application does not run.
I want that when i click a link download in the browser (Ex: Firefox, IE, Chrome), my application will is called to run and capture link download (If my application already run, it only show download dialog) . It is same as (IDM) Internet Download Manager application.

I don't know how.
Please help me if you have a solution to resolve it or a application open source have same feature.

Thanks in advance.
Posted 24-Apr-12 22:16pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

there's an example here on CP on how to write a Browser Helper Object[^] for IE

I don't know how you'd start it with Chrome, but i found this[^]
keancaptinh 3-May-12 23:41pm
Dear barneyman,
I am sorry to bother you.

I wrote a BHO success. It can capture link. But i dont know the way to communicate between BHO dll with my application.
Could you teach about it ?

Thank you very much
barneyman 3-May-12 23:49pm
keancaptinh 4-May-12 3:07am
Thank you for your response quickly.

But my application doesn't run.
I want that my application will be call run when BHO captured the link.
Same as IDM or Free Download Manager.
I read the source code of Free Download Manager, but may be they implemented complex ( difficult for understand).
barneyman 4-May-12 3:15am
you could use CreateProcess() [ ] and pass it information on the command line
keancaptinh 4-May-12 3:31am
I tried this function.
But it seems BHO cannot call run application.
Because Protected Mode Internet Explorer:
barneyman 4-May-12 8:55am
then you may need to write your application as an out-of-proc server, or service with desktop access
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Hi barneyman.
Thank you very much.
It is useful for me. I will read it. Smile | :)
shwetabtp 6-Aug-13 7:24am
hey keancaptinh ....plz send me your solved problem (code) on
i m doing same task...and having same problem same like urs problm...plz help me as soon as possible

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 27 Apr 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100