Open Excel/Word
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 Repliesis 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 RepliesI 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 RelatedI 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:
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 RelatedI 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 RelatedIs 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 RelatedI 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 RelatedHow can open a Microsoft Word file by ASP?
View Replies View RelatedI 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.
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 Relatedhas 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 RelatedI 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.
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?
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 View Relatedhow 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
%>
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?
anyone know how to open in ASP a word .doc stored in an access database.
When I try to open an Excel file from ASP thro' HREF it works fine. But i give the same file in Response.Redirect it says "page cannot be displayed" even when the file exists. Is this related to server configuration?
View Replies View Relatedi have a radio button when a user clicks it i want to open up a excel sheet
and want to display the records from the table
i want to only display specific fields from the table not all fields
Can someone tell me how it can be done in asp 3.0
I have a website set up that can pull data from Access database tables and display them on the webpage depending on users' selection. Is it possible to have ASP open up Microsoft Excel and dump the data into it, plot graphs, calculate averages, etc.?
View Replies View RelatedHow can I open Excel file in a browser which is in the webserver. And How do i Restrict a user from downloading it in the local hard disk.
That means he cant copy the contents of the cell nor he can save the file by the option File>Save As.
How can I open/push data to WORD/EXCEL which was installed in client machine? Is it possible without using thirdpaty components?
View Replies View RelatedI have data in an oracle table. I want to use this data and allow visitors to my site create templated Word or Excel documents with ASP or ASP.NET.
View Replies View RelatedI'm working on an intranet site and it would be great if I could create links on the page that would open Microsoft Word and Excel. Also I would like to be able to click on a link to open a windows directory.
View Replies View RelatedCan anyone help with this? Here is the code I am using. The problem
is, where it checks if a file exists, it always goes to else. Even if
the file is there, it won't open the file, goes straight to else part
of statement.
<%
If Session("strLogID") = "" Then
Response.Redirect("http://website/pages/login.asp")
Else
strfile = Request.Form("month") & Request.Form("day") & " Misses" &
".xls"
Set fs = Server.CreateObject("Scripting.FileSystemObject")
If fs.FileExists("http://website/webreports/Misses/" & strfile) THEN
Response.Redirect("http://website/webreports/Misses/" & strfile)
Else
Response.Redirect("http://website/pages/missedreport.asp")
End If
End If
%>
I am creating a webpage and have a form where a visitor will choose a
day, month, and year. I want to pass the data from the form into an
asp page which will process it and put it into a string and open the
excel file requested. The excel file to open will depend on the day,
month, and year chosen in the form.
Is there a way to insure the user can't save the excel file that has been opened?
I have a link that goes to XLS files for users but I don't want to users to be able to save the XLS files to there local drive.
Excel open automatically without giving a dialog box option to
Open/Save/Cancel using filesys.createTextFile.
How to pop up the dialog box option to Open/Save/Cancel?
I have a databse in MS Excel which I would like to use it in ASP? I know in MS Acces the provider parameter is as follow:
Provider=Microsoft.Jet.OLEDB.4.0
What is the equivalent of this provider to open Excel file? Or is there any other way that I should do, inorder to open the Excel files?
i would like to know how to open a new excel file and add tabular data in excel file from asp.
View Replies View RelatedHow can I make the Excel and Word files to be browsed in IE, instead of
download when click the Link?
Basically a client has a load of Word, Excel and PDF documents that he wants made available for viewing from the company website. However, he wants to have a search facility which can be used to look for keywords within the actual text of the documents. I've looked at the Indexing Service feature in IIS, but this only creates an index based on the information on the "Summary" tab when you right-click on a document to view it's properties. The Summary tab includes information such as Title, Subject, Category and Keywords (this being the important one of the lot). It's this information which the IIS Indexing Service looks at. Problem here is that none of the clients documents include anything in the Keywords. Is there any other way, or any components that anyone knows of, that will search through the text within a Word, Excel or PDF document?
View Replies View Relatedi'm trying to have excel open up a webpage which basically contains a
table.
in excel 2000 if i specify content type text/csv this works by
displaying an open/save dialog box and clicking open, launches excel
and displays data as a table (desired result ) however in machines with
excel 2002+ excel simply displays the html code.
trying to specify application/excel opens an excel plug-in inside the
browser which poses a problem becouse the excel has links to pdf file
that obscure the plug-in.