Opening Word File From Hyperlink
I have a document saved to a public network server. The public directory grants change access to all users on the network. To keep my Word doc protected I am using the Security feature "File Sharing Options" in Word to attach a password to the document. This works as expected when users open the file with Windows Explorer.
I also have an ASP web page that has a link to my file on the public drive. When I click this link, the Word document loads without asking me for a password and is not read-only. (Note the link in formatted with an href attribute like this: file://servername/share/filename.doc)
Am I mssing something? Shouldn't the Word security work even if the file is accessed through a hyperlink?
View Replies
ADVERTISEMENT
I want to open word file in explorer. I am using hyperlink for this purpose but it doesnt show me the file opened. Though i able to do save as on it.
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
I have a postscript that prints any given text to a text file.how to make; for example a word like "Test" to a hyperlink.so that it prints a hyperlink in the textfile to be precise.I know i need to make a script that fetches the word and prints the html for the link.but i dont really know where to start.
View Replies
View Related
I would like to open WORD from my ASP page in the "PAGE mode", and by default it opens it in "WEB mode"... wich is not the normal environnement for the users. Does someone knows how to open it by default in "Page mode" ?
View Replies
View Related
I have a server with a Word document and an Access database on it. I
also have an ASP page running on the server. The Word document
contains a mail merge with the Access database. What I want to do is
open the merged Word document from the ASP page when a button is
clicked.
I have tried several things including some scripting that I
found on the internet. This scripting works, however it opens the
merged document on the server instead of on the user's local machine.
I want the Word document to open on the local machine instead.
View Replies
View Related
I have a document saved to a public network server. The public directory
grants change access to all users on the network. To keep my Word doc
protected I am using the Security feature "File Sharing Options" in Word to
attach a password to the document. This works as expected when users open the
file with Windows Explorer.
I also have an ASP web page that has a link to my file on the public drive.
When I click this link, the Word document loads without asking me for a
password and is not read-only. (Note the link in formatted with an href
attribute like this: file://servername/share/filename.doc)
Am I mssing something? Shouldn't the Word security work even if the file is
accessed through a hyperlink?
View Replies
View Related
I have a drop down on a page where user selects a value and then a excel file opens up
it works good in mozilla but in IE it doesnt open up the excel file i see a new page been open but then suddenly it closes the file
i have checked the popus in IE and i dont know what the problem is
Here is the code Code:
<%
Response.ContentType ="application/vnd.ms-excel"
getid=Trim(Request.querystring("id"))
Response.write getid
%>
I see the output written when i use mozilla but it just doesnt work in IE.
View Replies
View Related
From a LINK or BUTTON on a webpage can we invoke the usual OPEN FILE dialog box that come with all the windows application .
In my Application I want to ASK the user the Name of a FILE on the disk ... currently i am asking the user to input the COMPLETE PATH in a TEXTBOX ....
View Replies
View Related
I need to incorporate some emails that are in a csv file, all sorted in one column, into a mySQL database.I dont find the way to open the CSV file in ADO
View Replies
View Related
I have a configuration.txt file and would like to open that file in a browser for editing onclick of a button or hyperlink!! It is more than enough for me, if i just open the file as it is in a notepad itself, by clicking a link from the ASP code.
View Replies
View Related
I am trying to open a DB connection in an ASP file (with an HTML interface). I have some idea how to do it, but I am not quite sure. It is linking to an Access DB. It is very simple, I am posting some data to the DB. Only one connection is needed to open.
View Replies
View Related
I have a field in the table that saves pdf file paths:
there are 2 records like this:
/docs/one.pdf
/docs/one&two.pdf
what i do is display the paths on the page and when people click on it the file is opened
this is how i display the paths
<a href="<%=RS("Path")%>"><%=titlename %></a>
the first file one.pdf opens up
the second file one&two.pdf doesnt open up
if i change the name of the path in the table to
/docs/onetwo.pdf it works
so i found out the & is causing the problems
can someone tell me how to fix it.
View Replies
View Related
I want to create a asp page where i can give the user an option of downloading a file or opening a file e.g an excel file.
How do i do this?? Ive already created an asp page which has a button- where the user can click on the button. The excel option of either opening the file or downloading it comes up- but i want this option actually on a asp page. How do I go about this?
View Replies
View Related
I want to open a text file for appending purpose but it gives me the following error..
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
/cgi-bin/Anagram_Utils/welcome_letter/generatedoc.asp, line 19
Code: ......
View Replies
View Related
I have created one dynamic chart creation application using vb dll. If I call this function from vb it is working fine. But If i call this function from ASP i got error while opening the excel file line. I have windows 2000 server. Do i need to give any permission for this? The same coding is working fine in NT server.
View Replies
View Related
I have a page in in ASP which lists static links to PDF files. When
users click on the links, they receive the following message:
right-clicking on the link and selecting "save target as" generates
the following error message from IE7:
"The file could not be written to the cache"
Clicking the link, and selecting "save" from the resultant dialog
generates:
"Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found please try
again later"
This page works fine in Mozilla.
I've researched this a bit and have read about the caching issues,
although none of the pages on the site address cache control. Any
thoughts or ideas as to why this isn't working?
View Replies
View Related
(incidentally, the more i look at it, the more i feel i should point out that to be totally sure your SQL statement is correct you should write it like:
INSERT INTO table_name (column1, column2,...)
VALUES (value1, value2,....)
so that you know your info is going to the right column on the table
View Replies
View Related
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then appear in a textbox. when they press submit i want the file name and path to be put into the database. e.g.
"C:windowsworkwork.doc".
Basically I don't want to UPLOAD the file just enable the user to browse to it and send the filename and path to the database.
View Replies
View Related
I'm working on a document management app that saves scanned docs as PDF files in a local directory, then saves document metadata in an Internet-based SQL server.
The SQL server is then queried to retrieve document info and links are created that point to the files.
The code points to the proper local directory and file, but I can't get the browser to open the document in a target frame. If I open a test doc locally it works fine.
View Replies
View Related
I have a script that opens a file and writes to it using ASP. I've used the script before and it worked fine locally, until recently, after I upgraded my computer to Windows XP Pro SP2. Also, it still works fine when I upload the script to my web host. However, locally on my computer using IIS, I get the error:
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
This occurs on the line: Set FileTS = FileFSO.OpenTextFile(Server.MapPath(".") & "" & FileName,2,TRUE)
I've searched online for answers and most articles say I have to set read and write access to the containing folder. I have done so for the containing folder and for the entire "wwwroot" folder, but the problem still occurs. I have also allowed anonymous access for my computer IUSR_XXXXX. This doesn't work either.
View Replies
View Related
I would like to know if I have a word document on asp, how would I read it's actual content rather than the binary data.
View Replies
View Related
is it possible to open an excel file (used as a template) from server using server-side vbscript; then modify it or add values from client using client-side vbscript?
View Replies
View Related
I m working on the application wherein I am requiered to display the local word file from the client side on the client system.
I have tried it by redirecting to the file with the local path but it is giving the 'Access Denied' error.
View Replies
View Related
I am having trouble displaying a word file. Following is the code I am using.
Response.ContentType = "application/msword"
Response.Addheader "Content-Disposition", "attachment;filename=hostsfile.doc"
It opens Word but the page is blank. What am I doing wrong?
View Replies
View Related
I have manage to create a word doc from lotus notes using the createobject("Word.Application"). Now I wanted to add some text in a field on the template. I want to know how to insert a newline in the field.Also I have created a table in the doc file, now i wanted to know how to place at a desired position in the file.
View Replies
View Related
I want that when the user writes a story (some content) in the textarea...it sould get saved as a word file. Actually the concept is that the student writes a story in textarea and submits.
But when teacher views that story he should be able to open it as a doc file so as to make some corrections like strikethrough, highlight etc. So what I want is that the story should be saved as a doc file in database...can it be possible?
View Replies
View Related
Now I wanted to do some office automation in my web page. Let say I have the microsoft word named report.doc. In this report.doc , I wanted to put the number in header or footer from the parameter in my asp file. How do I do that?
View Replies
View Related
I need to search ms word file with ASP, and find a couple of predefined words. such as "apple" "mac" etc.
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 have a pdf or word file on my server and i would like put a link or a button on my website to print it. So when i push the button the file should be printed.
The confirmation popup window i sno problem. So i am looking for something like window.print,but then to print a word or pdf file that i have somewhere on my server . Is this possible?
View Replies
View Related
I have an ASP page which needs to export some HTML content and images into a Word file.
Currently I am displaying the image in the Word file from the URL.
What I need is to stream the image into the word file alongwith the other HTML contents.
View Replies
View Related
How can open a Microsoft Word file by ASP?
View Replies
View Related