Launching Word Client-Side

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone post the needed code that will allow me to launch word on the
client PC and have the filename specified as a variable. I have been working
on this and can't find any clear documentation that gives me what I need.
Thanks, Jason
 
From a browser? You don't. You can use Response.BinaryWrite
to write a file on your web server to the browser but you don't
get to open up a local file on the PC via a browser for
security reasons.

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp
 
Robbe.

If I use an html link to open a word document word will open this file on
the server with the clients word, as the client has a file association setup
for .doc to utilize word. I need to replicate this for a file type that does
not have a file association for word EX: getting test.txt to open with word
instead of notepad on the clients PC. Is there a way I can specify what
application to use to open the file I pass it? Thanks again for your
help.........Jason
 

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