Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


How to open a local file from an ASP page

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,218
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> How to open a local file from an ASP page
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 How to open a local file from an ASP page - 6/27/2001 9:02:45 AM   
  olinuri

 

Posts: 5
Score: 0
Joined: 6/27/2001
From: Spain
Status: offline
I am trying to open a file from a ASP page, the file being located on a shared foler on a fileserver.
can I do that?

Olivier
 
 
Post #: 1
 
 Re: How to open a local file from an ASP page - 6/27/2001 9:23:44 AM   
  dougc

 

Posts: 12
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
Hi Olivier,

What type of file?.

Regards,
Doug

(in reply to olinuri)
 
 
Post #: 2
 
 Re: How to open a local file from an ASP page - 6/27/2001 9:31:00 AM   
  olinuri

 

Posts: 5
Score: 0
Joined: 6/27/2001
From: Spain
Status: offline
an Excel file, with a Data Source pointing to a view on SQL server. I execute a stored procedure according to the collected code on the ASP page, then I do a select statement from the table and then I want to open the Excel workbook to display the results.

(in reply to olinuri)
 
 
Post #: 3
 
 Re: How to open a local file from an ASP page - 6/27/2001 10:11:39 AM   
  adminkoe

 

Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
Hello,

This is easy to do. Just redirect the visitors to the xls files . e.g:

SQLStoredProcResult="myfile.xls"

response.redirect "http://thenameofthefileserver/" & SQLStoredProcResult.

Good Luck!


Regards,
Andi Zain

(in reply to olinuri)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> How to open a local file from an ASP page Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts