Stanciu
asked on
Internet Explorer and contextual menu
I need to add in Internet Explorer an option in standard contextual menu; when the user
right-clicks a link in a navigable document, a program start. Did anybody already made it?
What interfaces I have to implement, or can I use BHO?
Thanx,
H
right-clicks a link in a navigable document, a program start. Did anybody already made it?
What interfaces I have to implement, or can I use BHO?
Thanx,
H
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could also see mikeblas' HOLDER sample at
http://www.nwlink.com/~mikeblas/samples
or the MFC 'Driller' sample at
http://msdn.microsoft.com/Downloads/samples/Internet/browser/driller/sample.asp
(credits to chensu for mentioning these earlier)
http://www.nwlink.com/~mikeblas/samples
or the MFC 'Driller' sample at
http://msdn.microsoft.com/Downloads/samples/Internet/browser/driller/sample.asp
(credits to chensu for mentioning these earlier)
BTW: Another interesting information source might be
http://support.microsoft.com/support/kb/articles/Q172/7/63.ASP ("INFO: Accessing the Object Model from Within an ActiveX Control")
http://support.microsoft.com/support/kb/articles/Q172/7/63.ASP ("INFO: Accessing the Object Model from Within an ActiveX Control")
ASKER
I'm a COM\ATL rookie; can you give me more hints?
Thanx,
H
Thanx,
H
Hi,
U say
"I have to write a JavaScript snippet, but I can't start
an exe from inside"
I think u should write a COM object.U create this object
use JavaScript.This COM do the thing u want,such as run a program.
follow the step:
1.make your COM object,it should do the thing u want
2.when install your program,register the COM & add the
additional items to the IE context menus.
jkr has told u how to.
3.write the html page with javascript.it should be install
with your main program and the additional item at IE
context menus should point to it.
that's all.
U know,many program do it like this.U can also get the IE Document Objects to do some cool things.
U say
"I have to write a JavaScript snippet, but I can't start
an exe from inside"
I think u should write a COM object.U create this object
use JavaScript.This COM do the thing u want,such as run a program.
follow the step:
1.make your COM object,it should do the thing u want
2.when install your program,register the COM & add the
additional items to the IE context menus.
jkr has told u how to.
3.write the html page with javascript.it should be install
with your main program and the additional item at IE
context menus should point to it.
that's all.
U know,many program do it like this.U can also get the IE Document Objects to do some cool things.
Stanciu,
Some of these questions have been open for quite a long time. Please return and respond to the Experts who have given of their time and knowledge to assist you.
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20009336
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20064638
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20071394
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077011
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077033
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077693
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20137082
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20137098
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20181757
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20191142
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20191630
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20195568
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20006738
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Some of these questions have been open for quite a long time. Please return and respond to the Experts who have given of their time and knowledge to assist you.
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20009336
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20064638
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20071394
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077011
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077033
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20077693
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20137082
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20137098
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20181757
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20191142
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20191630
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20195568
https://www.experts-exchange.com/jsp/qShow.jsp?qid=20006738
Thanks,
Netminder
Community Support Moderator
Experts Exchange
Admin notified of user neglect. Force/accepted by
Netminder
Community Support Moderator
Experts Exchange
Netminder
Community Support Moderator
Experts Exchange
ASKER
Thank you for your help,
H