473,789 Members | 2,746 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

activating the Save As command by JS

Dear all,

Is there any way to activate the Save As command from Javascript. I
would like to have a "Save as" button on a page which has been
dynamically created (client side using document.writel n) so that the
user can save a copy.
I am working towards cross browser compatibility so any help for any
browser would be good.

I know I could put up a bit of text telling the user what the shortcut
key is but thats not as pretty.

I am also aware that JS does not allow writing to the hard-disk (quite
right too) but hopefully there is a way to do what I'm asking.

Cheers,

Martin

Jul 20 '05
10 3003
Thomas 'PointedEars' Lahn wrote:
<snip>
The References header of his posting is OK.


Yes I know. I think I hit the wrong message when I activated the view
source opting on my newsreader and confused myself by expecting a
forum4designers post to be wrong when they may actually have fixed the
References aspect of their software. (Which may just leave the
undesirable prefixing of "Re: " to the subject header of original posts
as the only obvious error remaining).

Richard.
Jul 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2487
by: And | last post by:
I use shdocvw InternetExplorer Object to open a pdf file and then I want to automatically save it but the web site from wich I'm downloading the file doesn't allows to save the file using the webrequest command so my idea is to save it using the save command from the internet explorer but it still doen't work! The code I am using is the following: Private Sub BtnSave_Click() Dim eQuery As OLECMDID
2
2809
by: iloveprincess | last post by:
Hi, I'm developing windows application using VB.Net 2005. I would like to send 'save' message using 'SendMessage' API to the excel appication. I've already got a handle of the excel window with 'FindWindow' API. How can I send 'save' command to external excel window? Actual thing I want to do is I can handle excel application in the winform. My client hope that all staff can use excel application in new window
3
1348
by: indhu | last post by:
Private Sub cmdsave_Click() If imagebox.Picture = LoadPicture("") Then MsgBox "Please browse the image you want to add to your database.", vbExclamation, "Image required" browseimage Exit Sub ElseIf shotcombo = vbNullString Then MsgBox "Please provide shot number.", vbExclamation, "shot number required"
12
4779
by: =?Utf-8?B?RnJlZU5FYXN5?= | last post by:
Hello, the scenario: There's an ASPX page which shows some text and has three buttons at the bottom: Save, Print and Close. Print and close is done by javascript. But how can I save the page on the client's computer? He/she could do this using the browser (file/save), but I need to have it done by pressing the pushbutton. In my serverside code I get the button-click-event, I also know how to get
2
64518
by: Ian | last post by:
I am trying to save the current record on a form before opening a report, doesn’t sound to hard does it? The code on a buttons on click event goes like this: DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 'First save record I used this for many years with problems using Access 97, when the database is upgraded to Access 2000 or later I occasionally get an error message saying “Save Command is not available now”.
1
6121
by: QCLee | last post by:
Hello Sir, Im here again asking for help. I have a form and a subform relate to HVAC Windward Table. i have a SAVE button on the form that when clicked it saves data on the HVAC Windward Table but not in a subform. When manually inputing data into subform it saves by work order on the HVAC Windward Table in subdatasheet even if how many times i add data in one work order. Sir, Is it posible that when i clicked on the SAVE button in the form it...
1
1804
by: pdxrichard | last post by:
Windows XP - Server 2003 - Access 2007 VBA - Code behind a form Here is my code. Why can't I find the exported file if the directories exist and there are no permission problems? Isn't a save command implied with the outputto command? Private Sub DisplayReport() Dim rptSls As Report
10
1468
by: epp319 | last post by:
Hi! i am i trying to make o vb program and i have a big problem. I have a combination of forms into i put some keywords and i transfer data from one form into an other (from text to text or from labels to texts). I have a command and when i press it, it makes all the work, all the calculations and completes all the tables i have to the forms. The problem is when i have finished i want to keep this calculations. i don't want to lose them and to...
0
238
by: Terry Reedy | last post by:
Ty hensons wrote: On Windows, 2.4?+, right click upper left snake symbol, Edit/Select all (or Mark and select part), <enter(not ^C as everywhere else -- thank MS for not following its standard) to save to clipboard. Then paste into notepad or whatever. MUCH EASIER: Use IDLE, select and ^C to clipboard as usual, or if you want everything, File/SaveAS to give your interactive session a name. Save periodically just as you would with an...
4
3469
by: Ezzz | last post by:
I have customised a form to display my own error messages using:- Private Sub Form_Error(DataErr As Integer, Response As Integer) ' If an error occurs because of duplicate data in a required field ' Display own custom error message Const conErrDuplicateKey = 3022 Const conErrZeroKey = 3058 Select Case DataErr
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.