put a href to file w/ unc

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

hi,
how can i make a link in my asp.net 1.1 pages to a file
(its located on another PC, i read the full unc path and file name from
SQL server database)
how do i get the \ right and how do i get winword open in separete word
window, not in IE window

Thanks
 
Fred said:
hi,
how can i make a link in my asp.net 1.1 pages to a file
(its located on another PC, i read the full unc path and file name from
SQL server database)
how do i get the \ right and how do i get winword open in separete word
window, not in IE window

Thanks

and some of the files r on a http server :(
 
<a href=yourPath>link</a> to the UNC path... that's all you need to do.
Opening in or out of IE is a client setting.
 
instead of http use file://<unc name>

<a href="file://\\server\path\foo.doc">my doc</a>

note: the users will have to set their browser security setting to trust
your site

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top