save as button

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
 
M

MD Websunlimited

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
 
Top