Results for "Category: Files"
No need to purchase expensive components. You can do it all with what you already got. This version is an update for faster speed and reliability. Bugs have been fixed, and the entire code has been commented to walk you through the process.
Reads embeded files from your executable programs (such as xml, images, etc.) Allows you to distribute one program - the exe, but still access your data and images needed with the program.
Encodes files with a password you choose and decodes them back if runned again with the same password. If you like this program, I would be glad if you rated it for me to know how many users like this program.
This simple program compares the file contents of two folders for similarity. It checks the latest write time, file size, and if both of those are the same, it generates a quick checkum (by adding every 100th byte) and compares that. All files are color-coded so you can see at a glance the difference between the folders. You can change the color-coding scheme by double-clicking the colors for any item in the top part of the legend. NOTE: I've left the binaries out of the zip file, so you'll have to compile yourself. Hope you enjoy, and please remember to vote (I'm just curious!) -Mark
This shows and explains how to recursivley add all files, folders, and subfolder to an ArrayList.
This is an update of the Thumbnail Based on files in Directory asp file. In this release, put in the same directory the small pictures ( with small_[PictureName].extension ) and the normal size ( [pictureName].extension ). The popup window which is displaying the normal sized picture will be resized automatically regarding the width & height of the displayed picture. You can integrate this function ( with the js file ) in the Tree Menu based on directory asp file. You can use the following syntax on the URL to define a specific sub-directory : /portofolio.asp?whichDir=[subDirectory_Name]
A new release of the Tree Menu Based on Directories. Some bugs has been solved, and the look is more like Windows Explorer. Thnks to Sheeja for the pictures used.
Did you ever want to search for files using your web browser instead of the MS Find Files program? This ASP file searches your hard drive (or web server) for files containing a given string. You can specify a string to search for and the directory to search in (or leave the default c:\ directory).
This script utilizes a mix of server-side ASP and client-side vbscript to provide users with the capability to navigate the directory structure of the web-server, select an image file or a document file, and then pass the file attributes back to an HTML form. If the file selected is an image... The image will be displayed to the user so they know that the selected file is the one they want. In addition... the name, width, height, and size of the selected image is collected (code snippet borrowed from Mike Shaffer on 4guys http://www.4guysfromrolla.com/webtech/050300-1.shtml) and passed back to the HTML form. If the file selected is a document... the user has the option to download and open the selected file. The name and size of the document selected is passed back to the HTML form. Additional functionality: UPLOAD IMAGE OR DOCUMENT FILES to the given directory... DELETE IMAGE OR DOCUMENT FILES in the given directory... CREATE NEW FOLDERS... DELETE FOLDERS. This code can be modified to allow any type of file to be uploaded.
Hope this will help! Good luck!
Create a 2 dimentional array (rows and columns) out of a semicolon delimited text file. by Travis Barney
Save entire classes or structs at a time to an xml file, and then read them back.
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.
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.
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.
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.
For circular logging System
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.
This shows how to display files in a folder sorted by parameter (name,size date). You can sort in either direction (ascending or descending).
a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()