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?
Printable View
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?
Hi,
Try something like:
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"Code:Response.Redirect("word doc here")
Cya
Chris
[Double Post]
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...