Links that point to files

  • Thread starter Reymond C via DotNetMonster.com
  • Start date
R

Reymond C via DotNetMonster.com

Hi all

I'm building an ASP.NET website and I plan to provide searching facilities
for files. Results will be displayed in the form of links. Does anyone know
how to make the ascossiated application open automatically when a user
clicks a link? (for example the link points to a .doc file, how can I make
the client's computer start word and display the file automatically?)

Right-clicking the link and selecting 'Save as' does the trick, but I also
want to provide the above feature. Please help.

Thanks.

Rey
 
S

S. Justin Gengo

Reymond,

That would be up to the client computer. For example you can set adobe
acrobat reader to open .pdf files automatically, but you may also turn that
function off. I think it would be a security breach to override that...

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top