Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Friday, September 03, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Build the right apps the right way with powerful development tools.
Visual Studio 2010. Learn more...

Home > Search > Articles & Samples > Visual C++ .NET > File Management
Search:
What's New - What's Hot


Compare Binary Files    Version: 0.00       Price: $0.00   
Total Hits: 32  |  Today: 0 Author: Joe Enos       Rating:  
Read Reviews | Write Review |   Your Rating: 

Recently I needed to compare binary files to ensure that they were identical. I used a file compare application that I typically use to compare text files (ExamDiff), and it took a ridiculous amount of time and ate up a lot of CPU. Since all it was doing was determining if they were identical or not, it seemed like it was doing some unnecessary work. I decided to put together an app myself with the sole purpose of determining if two files are identical....

A UTF-16 Class for Reading and Writing Unicode Files        
Total Hits: 201  |  Today: 0 Author: Jeffrey Walton.       Rating:  
Read Reviews | Write Review |   Your Rating: 

As Unicode becomes more popular, programmers will find themselves performing more file based operations using Unicode. Currently, familiar MFC classes such as CFile and CStdioFile do not properly handle reading and writing of a Unicode file. The class file presented addresses the need to read and write files as UTF-16 Unicode files. There are two downloads associated with this article. RevisedCUtf16File.zip is the February 2005 release of the code. RevisedCUtf16File.zip is Jordan Walter's revisi...

The alxBase classes for work with DBF files        
Total Hits: 118  |  Today: 0 Author: Alexey.       Rating:  
Read Reviews | Write Review |   Your Rating: 

This classes is useful for work with dbf files. The current version supports formats: FoxPro, Visual FoxPro, dBASEIII - dBASE 5.x, Clipper and HiPer-SIx. The memo fields also are supported. CDBFRecordset provides all the useful functions for navigation and modification in table. CDBFCursorset it is possible to use for work only with the selected records. CDBFTableDef it is used for creation and updating of structure of the table....

CSMTPConnection v1.36        
Total Hits: 121  |  Today: 0 Author: PJ Naughter.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Welcome to CSMTPConnection, a freeware MFC class to support the SMTP protocol. SMTP for those not familiar with all the internet protocols is the protocol used to send internet email.
For detailed information about the Simple Mail Transfer Protocol you should read RFC 821,
Other documents that these classes refer to are RFC 2045 (which defines how MIME attachments are to be handled in a standard SMTP message) and RFC 822 (which defines the way standard headers which SMTP uses)....

Simple File Transfer Using the Network Development Kit 2.0        
Total Hits: 203  |  Today: 0 Author: Sebastien_Lachance.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Since I have posted the article NDK 2.0 (Network Development Kit), I received many emails on how to send and receive a file using the NDK. For those who does not know the Network Development Kit 2.0, the NDK 2.0 is a set of simple classes for a client-server architecture using the class CSocket from MFC. With this article, you should be able to understand easily the process about sending and receiving a file with the NDK. This article contains 2 programs: an NDK File Transfer Server and an NDK F...

Version reading component (as in Explorer's Version tab)        
Total Hits: 192  |  Today: 0 Author: Aston Martin.       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article presents a simple COM object to read the version information of a given file. The version information returned is the same as what appears in the Version tab of file properties in Windows Explorer. It is fairly easy to use this component. Initially, I designed this code in C++ as a class, with a constructor taking a filename as the argument. Then, I decided to make it a COM component to cater to a wider audience (and also so that I can use it in scripts). It can be used in any langu...

Dual Pane File Manager        
Total Hits: 111  |  Today: 0 Author: jeff@jgaines.co.uk       Rating:  
Read Reviews | Write Review |   Your Rating: 

I seem to spend a fair bit of time managing files on my PC, and don't find Windows Explorer the easiest tool to use. I prefer a nice simple approach. The files I want to copy/move are on the left, the place I want to move them to is on the right, I select the files, then click a menu that says Move/Copy/Create Shortcut, job done. I also like to keep notes about files so I can remind myself what they are, and also search for a file I know that I have somewhere - and although this is possible in E...

Writing to the Internet Explorer Cache        
Total Hits: 303  |  Today: 0 Author: Fred Ackers       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article shows how to read a file from Internet Explorer's cache, and write a file to the cache. Retrieving the local cache file name of a URL is simple. You call GetUrlCacheEntryInfo with the URL, and it will return the local file name. The function will return TRUE if the URL is in the cache, and FALSE otherwise. Then, you simply read the page and display it, or do whatever you want with it. Alternatively, you could use the function RetrieveUrlCacheEntryFile or RetrieveUrlCacheEntryStream ...

Listing Used Files    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Naveen       Rating:  
Read Reviews | Write Review |   Your Rating: 

It often happens to me that when I try to rename or delete my current working folder of a project, it gives an error message like, "Cannot rename BlaBlaBla: It is being used by another person or program". Almost at all times, I fail to find this other program/person and end up restarting the machine. Since then, I have been searching for a method to find the list of files that an application uses. Even though the ProcessExplorer of SysInternals lists the files opened by each process, it is hard...

Unleash Your Imagination With XNA Game Studio Express    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Charles Cox and Michael Klucher       Rating:  
Read Reviews | Write Review |   Your Rating: 

While playing a video game, have you ever thought to yourself, "I could put something together like this"? XNA™ Game Studio Express is a new game development solution for both Microsoft® Windows® and Xbox 360™ targeted primarily at students, hobbyists, and independent game developers—people like you!...

FileVersion - Retrieve file version information    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Martin Brandl       Rating:  
Read Reviews | Write Review |   Your Rating: 

Getting the version information of a file is usefull in many cases.
Maybe you want to check the version of a library before you load it to ensure not loading an old one, witch can result in unexpected software behaviour. Or you simply want to display the current version of your application in the about-box.
This class allows you to that in a very easy way....

Deleting Files using File System Task in SSIS    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Raymund Macaalay       Rating:  
Read Reviews | Write Review |   Your Rating: 

I recently had noticed that deleting a file in SSIS using the File System Task is not straightforward specially when your file is not hardcoded in your package but it is declared as a variable. I just noticed it when I was creating a Foreach Loop Container using a File enumerator....

FileCollector    Version: 0.00       Price: $0.00   
Total Hits: 27  |  Today: 0 Author: BenDi       Rating:  
Read Reviews | Write Review |   Your Rating: 

Lately, I often need to get all the sources of the project together with all the dependencies etc. So, I looked for a tool to select all the desired files and copy them to a single directory. Since I didn't find one, I wrote one....

Dump a file in Windows    Version: 0.00       Price: $0.00   
Total Hits: 12  |  Today: 0 Author: John Jiyang Hou       Rating:  
Read Reviews | Write Review |   Your Rating: 

This program can dump a file (either a binary file or a text file) to standard output in a DOS window in Windows. It is a Windows edition for the famous od program in Unix/Linux. It is also a free program that implements a main function like a similar program in Windows, UltraEdit. It can dump a file in 10 different data types....

Parse C++ header and CPP files for class names and their methods    Version: 0.00       Price: $0.00   
Total Hits: 27  |  Today: 0 Author: rj45       Rating:  
Read Reviews | Write Review |   Your Rating: 

This tool parses out your classes and their methods from header and CPP files. It turns out parsing out classes and methods in your C++ projects is actually very easy (if you don't need it to be life or death accurate). I'm not sure this is particularly useful; I had a specific use for this, and I just found it kind of interesting how easy it was. I'm sorry the formatting is wrong here, but CodeProject ate my whole article twice now, so I'm sorry!...

Simple Multi-Logger (No MFC)    Version: 0.00       Price: $0.00   
Total Hits: 37  |  Today: 0 Author: Daniel Grondin       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is a simple logger that can output to *.html or *.log. I needed a reader-friendly log file for my game and apps. So, I woke up, one morning, and I thought that HTML log would be the most readable, but quite hard to code for me, as I am not a pro in C++. On the other hand, plain-text log files are the easiest way to code a logger, but quite hard to read for a game player. I passed two compete days to find the best way to code it....

DirectoryList 2.0    Version: 0.00       Price: $0.00   
Total Hits: 31  |  Today: 0 Author: nirvansk815       Rating:  
Read Reviews | Write Review |   Your Rating: 

The DirectoryList control is a custom listbox control that can be used:

* To keep track of the number of files and folders in a directory (drag and drop support).
* To copy files from one folder to another.
* To consolidate files from many folders into one.
* To create backup folders of 700MB (the size of a CD-ROM).
* To search for certain file types within folders....

MTCopy: A Multi-threaded Single/Multi File Copying Tool    Version: 0.00       Price: $0.00   
Total Hits: 13  |  Today: 1 Author: LiYS       Rating:  
Read Reviews | Write Review |   Your Rating: 

Having multiple threads running in your application the right way certainly can make it run more efficiently and be responsive, to just name a few advantages. MTCopy has this advantage. It starts by spawning a number of threads to cooperatively perform I/O operations (multiple files multiple threads scenario, MMT) and divides large files to be copied into several sector aligned blocks (single file multiple threads scenario, SMT) if necessary, whereby you don't have to have your program blocked u...

Duplicate File Finder    Version: 0.00       Price: $0.00   
Total Hits: 15  |  Today: 0 Author: Arman Z. Sahakyan       Rating:  
Read Reviews | Write Review |   Your Rating: 

I wrote this tool to find duplicate files in my system, and I wanted to share it with you. As the main purpose of this article is to present the tool, there is relatively little to write about. However, I'll try to describe the basic mechanisms of the tool's implementation....

Get useful directory paths    Version: 0.00       Price: $0.00   
Total Hits: 19  |  Today: 0 Author: Shup       Rating:  
Read Reviews | Write Review |   Your Rating: 

I’ve come across countless situations where routinely used utilitarian functions are simply not available, and coders simply have to write and rewrite them many times over. This is one of many articles in a series which will try to provide a collection of routinely used functions with example applications on how to use them, in the hope that they will be as useful to the many developers out there as it has been to me....


1  2  3  4  5  6  7  8  Next >> 

DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net