473,385 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

put a href to file w/ unc

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
Nov 19 '05 #1
4 2666
Fred wrote:
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 :(
Nov 19 '05 #2
ok... dont see the relavance?
If they are on an HTTP server then point to the HTTP url...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Fred" wrote:
Fred wrote:
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 :(

Nov 19 '05 #3
<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.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Fred" wrote:
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

Nov 19 '05 #4
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)
"Fred" <fr**@ilovespam.com> wrote in message
news:u%****************@TK2MSFTNGP10.phx.gbl...
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

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: martin | last post by:
A page has links that want to invoke the same php file, but pass in different values for a given variable. <a href=process.php?flag=1> Do One </a> <a href=process.php?flag=2> Do Two </a> <a...
5
by: Sorby | last post by:
Hi I've been coding in PHP for a little while now and was starting to feel pretty confident but then realise I need to understand regular expressions to solve a particular problem I've got ......
2
by: Kevin Lyons | last post by:
Hello, Can anyone assist me with what I am trying to do with the following code (six different scenarios to try to make the functionality work correctly)? I want to always (and ONLY) display...
8
by: Phil Powell | last post by:
if (document.location.href.indexOf('?') >= 0) document.location.href = document.location.href.substring(0, document.location.href.indexOf('?')); if (document.location.href.indexOf('#') >= 0) {...
1
by: JF | last post by:
Hi, I need to change the location of the parent window and after that scroll a little bit (because of "position:fixed" css buttons, which obscure the title). I have...
16
by: michael | last post by:
Is it possible to get all href URLs contained in a unordered list and place them in an array? Or in fact two different arrays, differently named one for each <ul> group? <ul> <li><a...
3
by: ningjun.wang | last post by:
Hello: My html file contains the following image link: <a href="some_url"><img src="MyImage.gif"></a> How can I use Javascript to find out the value of some_url for the given image name...
31
by: Yeah | last post by:
Is it absolutely necessary to include "http://" in an A HREF hyperlink? Would it be wise to remove this from one's Links page, just to save code?
2
by: Mel | last post by:
I have a navigation page, very long list of urls and when you click a link it is opened in a new window. THE PROBLEM: When i scrolldown the navaigator and click on a link, it refreshes...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.