Disabling Open/save Dialog In Word
In my application I am using Word to hold data out of a MS SQL Server 2000 database. On the clients PC's I am getting a open/save pop up dialog for opening MS- Word. How can I disable this pop- up and load Word without having this dialog? The clients pc are Windows XP/SP2 machines.
View Replies
ADVERTISEMENT
is there a avaialble code in asp.net...
that have a similar function to Save as Dialog
View Replies
View Related
When users submit a Form with a SQL query, the resultset is retrieved from a MS-Access database table which is then exported to an MS-Excel worksheet. After the records get exported to MS-Excel, I want to give users the option to download the Excel file to their local machine.
In other words, when users click a download link, I want the Save As.. dialog box to pop-up so that users can save the Excel file to their local machine (note that I don't want users to view the Excel worksheet in their browser). This is how I tried it: Code:
View Replies
View Related
Is there a way I can force a Save As dialog? I have a page with a bunch of files listed for download. Unfortunately, these files attempt to open directly in the browser. I need a way to force a Save As.
View Replies
View Related
i want to write an application in ASP,in this i want to generate an excel file,in which all records will save in that excel file as per i ve given the query after saving records in excel file ,immediately i should get save as dialog box so that i will save that file on my local drive.i don't want to save that file on web, whenever file gets created & records saved,it will show me save as dialog box.
View Replies
View Related
What is the appropriate control or code to pop a "save as" dialog window to
allow the user of a web page to save a document after they click on a link?
All of the CommonDialog controls obviously are to be used on WinForms, so not
sure how to accomplish this from an aspx page.
View Replies
View Related
I'm trying to force save as dialogue using this code in download.asp..but
when it runs it prompts for download.asp to save or open.
code snippet (from aspfaq.com)
Response.ContentType = "application/x-unknown" ' arbitrary
fn = "wallpaper_1_1.jpg"
Response.write "<br>" & Server.MapPath("wallpaper") & "<br>"
FPath = Server.MapPath("wallpaper") & fn
Response.AddHeader "Content-Disposition","attachment; filename=" & fn
Set adoStream = CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1
adoStream.LoadFromFile(FPath)
Response.BinaryWrite adoStream.Read()
adoStream.Close
Set adoStream = Nothing
I want this page to prompt save image option, not page itself.
View Replies
View Related
I'm puzzled on a how to communicate with a forced "Save As" dialog box. Here's the scene, I've got this script that creates a fun little file on the web server then prompts the user to pick a local path to download the same file via "save as" box.
The problem is I can't seem to find a way to grab the results of the save dialog box and react accordingly. For instance, upon a hitting the "Cancel" button I need to perform action B, but if everything works as planned I'd like to perform action A. Is this possible? Can anyone point me in the right direction or build me a stronger wall?
View Replies
View Related
I need to save a lot of pages to a .doc MS Word file with one button click on my asp app.... can this be done ?.....I am thinking this .doc file will be saved on the server, so I can then download it to the users PC.
I can have the MS Word templates to fill out on the server , so do i create an asp page to fill out these templates and then save the file..then somehow download it automatically, hence it will end up on the users PC in a shared Dir...is this all possible?
View Replies
View Related
I am creating csv file by doing following. So when asp page get load this code run and it create csv file and store in specified location.
How can i open this store file in same window after it get created. I have a name and location of file "whichfn" how can i open into excel format. Code:
View Replies
View Related
In the Sql server 2000 I store some word documents.Then I get the data from the database
through the asp code and display the word document in IE.The ContentType is "application/msword". how to save the word document which is edited to the database.
View Replies
View Related
I wrote a code that allow to open a Word document, and save it. Before it worked perfectly... but after changing the Server, it doesn't work anymore! Code:
View Replies
View Related
I need to develop a web application using asp, which ideally should do the following
1. Generate a word document combining templates with dynamic data from a sql server. (I was thinking about generating xml docs)
2. Let the user see and modify the generated document on-line, from he browser
3. Save the (possibly) modified document to a table in SQL server.
I already know how to download/upload files, and save them into a DB.
The problem is I would like to automatize the whole thing, and not forcing the user to download the file, open, edit, save and finally upload.
Any idea would be appreciated.
PS: Even more ideal would be to come up with a general solution, in order to be able to open any kind of doc with the right app, and then automatically post it to my app. Or maybe someway to allow to edit it right from the server.
View Replies
View Related
I've an ASP.Net c# application that needs to read Word documents from a directory on the web server, open them in Word from the client browser, edit the content and then update the document on the server.
I can almost do it by pasting the url into the "Save As" location but I get a "read only" message when I try to save.I'm happy to code httpRequest objects or Word automation,if necessary, but I need to resulting procedure to be intuitive for the user.
View Replies
View Related
i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.
View Replies
View Related
I have gotta a page in which a user can upload his profile (saved in word format). Is there any way that this profile can be stored into the database and not in the web directory. I tried using Scripting.Dictionary.
View Replies
View Related
I have a Word doc already created that I want to open from an asp page. I want it to open in Word and allow the user to modify if necessary. I currently have it opening (using href), but it is opening in IE. I think I should be able to do it with javascript to open word and then call that function on the link to the doc. Can someone give me some pointers?
View Replies
View Related
I got the following code from a website somewhere. When I try to run it I
get the error - Activex component can't create object "Word.Application".
It is running on localhost and test2.doc does exist. Code:
View Replies
View Related
I'm using ASP to pull info from a database and open it in Word. Everything works fine but I want to specify the paper size to be Legal. Is this possible or am I stuck with Letter size?
View Replies
View Related
is it possible to open word or excel from an asp page in the client side having word or excel installed only on the server side?if possible, can u post an example ?
View Replies
View Related
I want to open a word document in asp.(if possible with FSO)(I don't want to create a word with asp!)
View Replies
View Related
Is it possible to create a code that will open a word document and print it? I need to to this for various documents within the same form. That is I need to print from 1 to 5 documents each time the code is executed.
View Replies
View Related
I want to read word files from asp and then store the read data into a variable. How can this be done ? I have no idea on opening files from MS Word.
View Replies
View Related
How can open a Microsoft Word file by ASP?
View Replies
View Related
I have a page that links users to a Word document based on a value drawn from a database table. In other words, John Doe is linked to "./docs/<% = lastname%>.doc" ...
This works fine, but I'm wondering if there's a way to control whether the doc opens read-only? I know Office 2003 docs are supposed to open read-only automatically, but I find that I can edit these docs no problem.
View Replies
View Related
I have a Word doc already created that I want to open from an asp page. I want it to open in Word and allow the user to modify if necessary. I currently have it opening (using href), but it is opening in IE. I think I should be able to do it with javascript to open word and then call that function on the link to the doc.
View Replies
View Related
has anyone got a way to force a word doc to open in a browser (it's for an intranet site before anyone asks), I can force the download, but I don't know a way to force the browser to open it.
View Replies
View Related
I want to open word file (or Excel) from IIS server (URL) without
getting security window for input Username and password. I know
Username, Password and Domain. I'm trying to open with:
http://domain%5cUsername:password@URL
When my computer is registred in this domain - no problem. But if my
computer is not from this domain I always get window for input
Username, Password and Domain.
View Replies
View Related
I have a table in a plain asp page. At the top I have
Response.Contentype = "application/vnd.ms-word"
When it opens in word, it opens in a funky view. Is there anyway to have it
open in Normal View mode?
View Replies
View Related
how to open word document met bookmark image. I like to open a word document with an image. here is my code
<%
Dim MyDoc
dim objWord
Set objWord = CreateObject("Word.Application")
Set MyDoc = CreateObject("Word.Document")
MyDoc.Application.Visible = True
'Set the font properties
MyDoc.content.Font.Bold = True
MyDoc.content.Font.Italic = True
MyDoc.content.Font.Underline = True
MyDoc.content.Font.Name = "Comic Sans MS"
MyDoc.content.Font.Size = 25
Set MyDoc = Nothing
%>
View Replies
View Related
How would this be done for something like a text editor?
For example, say I wanted to launch a text editor from a hyperlink AND also the file I wanted to open with the editor as as well?
View Replies
View Related
anyone know how to open in ASP a word .doc stored in an access database.
View Replies
View Related
I have span and Textarea fields. How can I disable and gray out those dynamically using DHTML. when I called disabled = true it makes it readonly and does not gry out.
View Replies
View Related