Results for "Category: Files"
MAXIMUM SECURITY (CDynamicEncrypt) Is really a simple class it inherits the CFile class of MFC and override Write, Read & Seek functions so that you can use them normally. but the data that is saved or read is encrypted and decrypted at the run-time, YOU DONT NEED TO ENCRYPT YOUR FILE AFTER YOU FINISHED ALL OF IT. YOU DONT NEED TO DECRYPT IT AT ALL IN ORDER TO READ IT. Thinks about it when saving sound and bitmaps of your product encrypted all the time and you use the normal classes you already use that utilizes the CFile class to read these encrypted files.
This simple application browse your network neighborhood and by double click on any share it browses the files...IF THIS CODE HELPS YOU VOTE FOR ME this only takes seconds from u and it took me much more than that to make this prog for u :) thnx ...
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 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.
For circular logging System
a class to make using fstream easier. NOTE: after a call to openfile() it is HIGHLY recomended to call closefile()
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.
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.
FILE HANDLING TUTORIAL FOR BEGINNERS ------------------------------------ This tutorial is intended who don't not a single thing about file handling in C++, one of the most important concepts of any type of programming. I intend to present this tutorial into 2 parts, but both these parts are independent of each other and you can start from any one. This part focuses on: ->How to create files, read and write to them. ->The logic behind many commonly used objects like cout and cin [Did you know that cout is actually an object!!] ->Build your own notepad, "my computer" et cetra. If any doubts persist you can freely sontact me at: shahab_faruqi@rediffmail.com Click on file handling.htm to start.
This article contains details about reading and writing structured data, the get and getline functions and more. A MUST for someone just entering programming.
It is just a function that reads subdirectories from a root into an array, and calls back user for each new directory found (i hope that you'll understand what i mean !!!!) I "played" with pointers, it could be interesting for beginners :) Oh, don't forget to vote !!!!!
This is the _defs.h header someone requested.
Create a file of any type, filled with x bytes. (x = user specified). Exercises file I/O.
This code allows a user to - Interactivley explore an area of your computer. - Download files based on a database containing 'credits'. One specifies how many files (credits) one may download and link that to a password (or use -1 for unlimited).
This Code when put in any directory will create a HTML page listing all Mp3's in the directory. It also creates a streaming link to the file, so anyone can stream off you MP3's from your server withour downloading them.
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.
Allows you to upload multiple files and fields without purchasing or registering COM objects. Great for shared hosts that frown upon 3rd Party com objects or charge an arm and a leg for them. This version uses Classes rather then the dictionary object that I have seem most other people use. Dictionary Objects seem to be flakey with more problems. I have added examples of how to upload a file to a database and the file system. A file is also included that retreives the file from the database.
Allows you to view the binary data of any file (GIF, JPG, ZIP, TXT, HTM, ASP) as if you were looking at a common hex viewer. Bytes are displayed as Hex characters and character data is displayed on the right. Starting positions of each row are displayed on the left.
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.