How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
We hope that you will enjoy our ASP tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own ASP tutorial to our site. Thank you !
create a file
Easy code for creating a file
Get the News
This article describes how to put ASPWire's news feed onto your Web site. The steps are: Get the raw news data from a given ASP page (no more than 4 times a day), create an ASP file with the formatted news in it, and #include it on your page.
Output To MSExcel
This is a short example showing how to bring data from Access to excel where further manipulation can take place.
This example displays some useful file examples . Last accessed , last modified and when the file was created
How to retrieve files from FTP protocol without any third party component
This tutorial is aimed to show you how it is possible to retrieve a remote file via ASP and FTP without using a 3rd-party component.
Create Excel on the Server
This code example demonstrates how to create excel documents on your server. Using the US state info db, after reading the contents of the db instead of writing output to the browser, html text is written to the server with the .xls file extension. A link to the new document is created (in the browser) for easy navigation to the new document. The current time (server time) is also displayed to show that the excel document was created dynamically.
Dynamic Excel Reports with ASP
This tutorial shows a quick and easy way to generate Excel reports using just ASP. It allows the server to dynamically create Excel reports without taking up any space on the server, and also allows multiple concurrent users to receive these reports simultaneously. The generated reports can be complete with Excel formulas, which allows intensive calculations to be moved to the client side. This method only works with Excel 97 or later.
Display an Excel DB
The author writes "For small data bits on a server where the chance for significant simultaneous traffic is not likely excel can perform many of the basic tasks that can be accomplished in Access or SQL Server, but on a much smaller scale." This exmaple code demonstrates how to display data from Excel using sample data of Hank Greenberg's career statistics. Example code available for download.
Auto-upload using IE+ADO without user interaction
This article shows a simple way to upload files from client to server using VBS, IE and ADODB as multipart/form-data document. Full source code included.
Write to a file with ASP and FSO
This tutorial will show you how use the File Scripting Object to both write to and append to a text file.
Delete a folder with ASP
For whatever reason, there are times when it would be convenient to know how to delete a folder without having to go to the server to do it. This is just one of the things you can do with the File Scripting Object.
ASP Form Input to HTML
The author writes "ASP has the ability to write .html or any other text based documents directly to a web server (You need to write the text output to a directory that has write authority). This enables the instantaneous publication of user input without the need for uploading files from a PC." This example code shows how to write text based documents to a server using ASP.
Searching Drives, Viewing and Downloading Files
This article illustrates some great uses of the File System Object. It shows how to choose a drive to search, and then builds a listbox of all the folders on that drive. Choose a folder and it builds a listbox of all the files in that folder. Choose a File and it will display it in the browser or prompt you to save the file to your hard drive.
Open, Read and Create Files with ASP
This tutorial explains opening, reading and creating files using example codes. Up to 6 examples are used.
ASP and log files
Several methods to create hi-speed log files in ASP/VBS using Scripting.FileSystemObject and LogFile class of ScriptUtils. VBS Samples and performance comparison.
Total Tutorials in Category: 581