Re: Add a button to IE command bar
- From: Jean-Fabrice RABAUTE <jfr@xxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 23:12:10 +0200
Patrick Jackman a écrit :
Thanks very much for this information Jean-Fabrice.
I was able to create a button quite easily, but I can't imagine how I would have a VB 6.0 exe automate IE's Save As to persist the current web page to disk and grab the name of that file.
Maybe I'm going about this all wrong. I see that it is possible to embed an IE ActiveX into an Access form. What forum would I ask questions like "how can I save the current page to disk"?
Patrick.
"Jean-Fabrice RABAUTE" <jfr@xxxxxxxxxxxxxxxx> wrote in message news:46AEE605.60709@xxxxxxxxxxxxxxxxxxx
Patrick Jackman a écrit :Is it possible to add a command bar button to the IE browser in the way thatHi,
you can with Outlook and have it call some VBA code?
I want to provide a button that when clicked will save the current web page
to a pre-determined folder and add an entry into an Access database. I am an
Access developer so I'm familiar with VBA but I'm not sure how to tackle
this task. Any pointers would be greatly appreciated.
Patrick
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Patrick Jackman
Vancouver, BC
604-874-5774
You can find documentation on how to add a toolbar button to IE here :
http://msdn2.microsoft.com/en-us/library/aa753588.aspx
Hope this helps.
You can do that by connecting to the WebBrowser object and use IPersistStream to retrieve the source code.
I don't know how to do that in VB, always did it in C++.
--
Best Regards / Cordialement
====================
Jean-Fabrice Rabaute
CORE SERVICES :: Software/Web development & Consulting services
http://www.debugbar.com : The most advanced WEB development tool for Internet Explorer
http://www.core-services.fr - {Enjoy the future today}
.
- References:
- Add a button to IE command bar
- From: Patrick Jackman
- Re: Add a button to IE command bar
- From: Jean-Fabrice RABAUTE
- Re: Add a button to IE command bar
- From: Patrick Jackman
- Add a button to IE command bar
- Prev by Date: Re: How to save current page to file?
- Previous by thread: Re: Add a button to IE command bar
- Next by thread: Re: Add a button to IE command bar
- Index(es):