Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2004, 11:16 AM
Registered User
 
Join Date: Jul 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default open the file

i want to open a file path when i click the button for example i will type in the name of the file in textbox file1.html when i click the button i want to be able to open the file1.html from where it is located. so user can type the file name and click button to open the file i m making aspx page to do this or i m using asp.net.

thanks.
 
Old August 26th, 2004, 04:58 AM
Authorized User
 
Join Date: Aug 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sinapra Send a message via MSN to sinapra Send a message via Yahoo to sinapra
Default

hi
The first constraint would be, all the files should be located in a single directory. As soon as the user enters a filename, the code should use a pointer wchich takes it to the file in the default directory where the other files are located. if the file is located, you can use the FSO to directly open the file in a new window using MIME type.
Let me know if that helps.
Regards

sinapra
 
Old August 26th, 2004, 07:35 AM
Registered User
 
Join Date: Jul 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

so how do i write the code
Can you show me the code line how i can write it

Thanks.
 
Old August 26th, 2004, 07:51 AM
Registered User
 
Join Date: Jul 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How do i open a file in a new window?

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
open a text file azalia Beginning VB 6 1 April 10th, 2007 08:09 AM
Open the "Open File" dialogue box piratelordx Access VBA 4 March 14th, 2006 10:08 PM
open excel file C# ? npqk VS.NET 2002/2003 2 November 26th, 2004 10:31 AM
How to open a file in c#? looooly C# 3 September 25th, 2004 03:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.