Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open work doc on client with jscript

Status
Not open for further replies.

sabev

Programmer
Sep 27, 2002
47
US
I need to open word, excel and .jpgs on the client with some jscript (or anything that would work). This is VB ASP.NET.

The files I want to open are not on the client or server, but I can UNC to them or map the server.

Thanks
 
Well it is a javascript question.

I'm trying this -

function openFile(){
var excel = new ActiveXObject("Excel.Application");
}

I get this error -
Microsoft JScript runtime error: Automation server can't create object.
 
Thanks Greg, that's just what I did and it works great.

Now, I need something to open .jpgs.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top