Advertisement

Results for "Category: Files"

7_2009-2012 #223799
Splice

Create a 2 dimentional array (rows and columns) out of a semicolon delimited text file. by Travis Barney

7_2009-2012 #224093
Saving and Loading Data with Serialization -- cooooool

Save entire classes or structs at a time to an xml file, and then read them back.

7_2009-2012 #224223
Simple FileSystemObject

This script provides simple, friendly control of the FileSystemObject of the ASP engine. Fully commented descriptions of each function. Just include this file in any script that need to access the file system.

7_2009-2012 #224264
C++ File I/O Examples

This demonstrates an example of C++'s fstream File I/O. Very simple; the basic stuff for beginners to learn from. If you would like to see how to do something more in the direction this code leads, comment on (and rate) it telling me what specifically you want to see and I'll be glad to suffice.

7_2009-2012 #224379
File Functions: Read from file on disk / Create file on disk

This code simply writes to a file on the disk, or reads the contents of an existing file on the disk into a text box.

7_2009-2012 #224380
A Winsock File Transfer example for VB.NET (and it works! :) Clocked at 1Meg/second over 10mBit LAN

This code (the first of its kind in the VB.NET section of PSC) will allow you to quickly and easily send a file over dialup, LAN or BroadBand. Works fine, and all the programs that i tested it on (from 20k to 200Meg worked fine after the transfer!) If you have a brief knowlage of file manipulation, this should be pretty simple to understand.

7_2009-2012 #224468
Circular File

For circular logging System

7_2009-2012 #224497
CDirFunctions

OK..I updated the class, so it looks better and faster. It is Win32 compatible and it comes with a sample on how to use it. Got a feedback not so long ago and i must admit i was pretty hurt, anyway i took some times to fix the bugs.

7_2009-2012 #224534
File Listing Sorter

This shows how to display files in a folder sorted by parameter (name,size date). You can sort in either direction (ascending or descending).

7_2009-2012 #224655
File I/O class.

a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()

7_2009-2012 #224828
Another way to Upload

Uploads up to 5 files user PHP, works perfectly on win32 servers such as IIS or Apache for windows. Demonstrates the use of copy(), functions, and switch operators.

7_2009-2012 #224883
Form Based File Upload Using Pure ASP

This code will allow you to do form based file uploads. It supports multiple files and uses only pure ASP. It will parse form data, browse server folders for a save location, and log uploads or failed uploads into a database There are no components to install so it will work on any web server that supports ASP. Just paste this code into a text file and name it saveany.asp. I have tested it on IIS 4 and 5, with IE 4, IE 5 and Netscape 6. With this code you will be able to save a file in any directory that the anonymous account assigned to it (usually IUSER_machinename) has access to so be careful. I should note that the server needs ADO, ADOX and the File System Object installed on it.

7_2009-2012 #224897
ShellExecute from C

CALL THE ShellExecute FUNCTION TO RUN ENY FILE AND IT WILL OPEN IN IT'S DEFAULT PROGRAM I USED FILE_ADDRESS TO DETERMINE THE ADDRESS FOR MY FILE CHAING IT FOR YOUR CONVENIENT THIS WAY WE CAN OPEN ANY FILE TYPE . ENJOY .

7_2009-2012 #224900
excel generator

This simply code, make .xls fine dinamically. You can create worksheet and report. Any feedback is appreciated.

7_2009-2012 #224987
Edit and manipulate text files

This is a drawn out example of reading and writing with the FileScriptingObject. This is similar to copying a file, but allows rewriting specific line(s). It's intentionally overdone so that you can delete what you don't want. Includes extensive error handling. I've included lots of comments for newbies. 'T Runstein

7_2009-2012 #225166
DirWalk - Getting all directory structure with Win32 API

DirWalk demonstrates how to read a directory structure. Its output looks like TREE MS-DOS command (CONSOLE). I used FindFirstFile and FindNextFile Win32 API functions to program it. It does everything in one function, a recursive function. DirWalk only shows directories, not files. You can modify it to show the files too.

7_2009-2012 #225167
a) InFile - Searches by strings in TEXT or BINARIES files, case sensitive or not

InFile searches by a string like "Microsoft Corporation" inside any file you want, case sensitive or not, within subdirectories or not. Example: infile c:\*.txt "Copyright (C)" -sub -case Functions used: FindFirstFile, FindNextFile, fopen, fseek, fread, SetCurrentDirectory, GetCurrentDirectory.

7_2009-2012 #225209
ASP Download Page and Stats

Create a download page for your files, and log who downloads them (by capturing their IP address/DNS Host name), and count the downloads by day, week, etc

7_2009-2012 #225405
Create a html page in the remote server. (Dynamic)

This program creates a html file in the remote server with the name, content, title as preferred by the user (Dynamic).

7_2009-2012 #225562
Basic PHP Pages

This is a good little tutorial type thing that allows you to run simple PHP pages and see how it works... I will be adding more to this.. I have updated this file on 07/07/2001 if you have downloaded it before that you may want to get the new one. I have added a little more functionality.

Languages
Top Categories
Global Discovery