|
-
Feb 21st, 2003, 06:32 AM
#1
Thread Starter
Fanatic Member
download
In my asp.net page using vb.net, I would like to be able to download a word document which is sitting on the web server.
How is this done please?
-
Feb 22nd, 2003, 03:05 PM
#2
Junior Member
Reply
Hi,
Try something like:
Code:
Response.Redirect("word doc here")
As for downloading it im not sure hows it dealt with, i think word would just take over and load it unless the user clicks "save item as"
Cya
Chris
Never hit a man with glasses, hit him with a baseball bat instead.
-
Feb 23rd, 2003, 10:31 PM
#3
Fanatic Member
Last edited by Redth; Feb 23rd, 2003 at 10:36 PM.
-
Feb 23rd, 2003, 10:33 PM
#4
Fanatic Member
try using windows sockets to download the word document then you can do what you want with the file from there.
for users with word installed, or some text editor that reads those files, simply directing them to the url of the word doc will work, and the file will be rendered in the browser.. but it won't work for everyone.. i wouldn't recommend it...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|