Click here to Skip to main content
Rate this: bad
good
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.
[PROBLEM]
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.
 
[IDEA]
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
good
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[^]
  Permalink  
Comments
keancaptinh at 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 at 3-May-12 23:49pm
   
http://www.codeproject.com/Articles/13724/Windows-IPC
keancaptinh at 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 at 4-May-12 3:15am
   
you could use CreateProcess() [ http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx ] and pass it information on the command line
keancaptinh at 4-May-12 3:31am
   
I tried this function.
But it seems BHO cannot call run application.
Because Protected Mode Internet Explorer: http://msdn.microsoft.com/en-us/library/bb250462.aspx#dse_stlip
barneyman at 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
good
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 | :)
  Permalink  
Comments
shwetabtp at 6-Aug-13 7:24am
   
hey keancaptinh ....plz send me your solved problem (code) on shwetas03@live.com
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
0 OriginalGriff 319
1 Kornfeld Eliyahu Peter 265
2 Maciej Los 249
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 175
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 27 Apr 2012
Copyright © CodeProject, 1999-2014
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