Solved

What is the VB Script to open the FILE/SAVE AS dialoge box

Posted on 2004-10-13
5
141 Views
Last Modified: 2010-05-02
This :
  Page.RegisterClientScriptBlock("stringscript2", "<script language='VBSCRIPT'> Window.print()</script>")

succeeds in opening the printer dialoge.
How do I open a FILE / SAVE AS option.?
0
Comment
Question by:rbend
5 Comments
 
LVL 5

Expert Comment

by:gary_j
ID: 12302873
I'm not very familiar with VB Scripting, but can tell you how to do this from VB6
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 30 total points
ID: 12302911
Use execCommand with "SaveAs"

<SCRIPT LANGUAGE="VBScript">document.execCommand("SaveAs")</SCRIPT>


http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/execcommand.asp
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question