save as button

  • Thread starter Thread starter Tom Robertson
  • Start date Start date
T

Tom Robertson

Can anyone tell me if there is a way using frontpage, or
what the code is to make a button perform the 'save as'
IE menu function?

I would like users to be able to click this to save the
page to their computer.

thanks,

tom
 
Hi Tom,

You'll need to use the WebBrowser Object to accomplish:
<OBJECT ID=WebBrowser1 WIDTH=0 HEIGHT=0 CLASSID=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 ></OBJECT>

and call the ExecWB interface with the correct OLECMDID (WebBrowser1.ExecWB(IDM_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER) using
JavaScript.


--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to have an Ad Banner that allow individual links?
http://www.websunlimited.com/order/Product/navigation/adbanner.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top