Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

4_2005-2006 #156480
Getting User Feedback and Using Edit Boxes

There are two different programs which come in this *.zip file. One of them is about User-Feedback. The other code is about using edit boxes. This also comes with a really great e-book on: “Writing your first dialog based application using Visual C++.” I strongly recommend you read this e-book if you are just starting to program in Visual C++ (Uses MFC).

4_2005-2006 #156500
File Stamper

Allows you to reset the Created/Last Modified/Last Accessed date/time stamp on a single file, multiple files or all files in a specified directory. Works on all file types with all file attributes (normal, read-only, archive, system, hidden). Useful for setting uniform date/time stamps for a project deployment.

4_2005-2006 #156508
Calendar Date Picker for text boxes

This lets you click a button by a text box, click a date, and it fills in the textbox for you. Instructions: unzip into a single directory and look to popupcal.asp for a demo. Added comments to popupcal.asp to answer some of the questions people have had.

4_2005-2006 #156586
Convert Text Document to HTML

This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")

4_2005-2006 #156591
Boolean function that compares two files to see if they are identical

This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.

4_2005-2006 #156611
A Counter-Strike Log Parser

A Visual Basic example of how to use FileSystemsObject and Regular Expressions to parse Counter-Strike game logs. Requires Microsoft Windows Script 5.5 which is freely available at http://msdn.microsoft.com/scripting

4_2005-2006 #156624
VB Caller ID Prog

This program is meant to be a reference to creating your own caller ID program, not an off the shelf application that works for everyone. There are several aspects of this program that will have to be taken into account before running it successfully.

4_2005-2006 #156635
A Program Memory Hex Editor

View whats happening in a programs memory in hex or alpha format. Just like a standard hex editor only it allows you to view the programs memory rather than the program itself. Has the option to edit values in the programs memory. Also includes a search facility to find hex, string or numeric values in the memory. Still a work in progress so code is a bit messy but it seems to function with no problems.

4_2005-2006 #156637
A Professional Hex Editor

An update of my original hex editor with more functions. Please vote for me!!!

4_2005-2006 #156679
Another Combo Box - No MFC!

This code illustrates the use of the combo box control with no MFC.

4_2005-2006 #156682
How To: Modal Dialogs in ASP.NET

This tutorial begins with basic HTML showing how to set data on a Modal Dialog and return that data to the original page using Javascript. There are a few tricks which will be illustrated that you'll have to use if you want to get the same functionality with ASP.NET pages. I've seen similar tutorials and samples on the web. Some claim to have modal dialogs but still allow clicking on the main window. Most don't show how to return multiple values from the dialog. Included in the .zip file is a web page called Instructions.htm which (you guessed it) includes tutorial instructions. The HTML source is in the HTML directory and the ASP.NET (C#) Project is in the DialogAspx directory. I have only tested on Internet Explorer 6.0 but I believe it will also work on IE 5.0. Please rate and post comments. Enjoy!

4_2005-2006 #156693
Convert documents between .doc .rtf .htm .txt

Easy way to convert between file document types. Must have MS Office on your system. If you have office 2007+ you can obtain a free MS plugin for further types of documents making it possible for this code to be adapted to convert to .pdf and others. No votes as code is adapted from code I found somewhere.

4_2005-2006 #156694
Replace a file, now or later!! (Updated)

You can replace a file now or later. If you have apps that people use all day and if you make a change and have to replace the exe, but can't because someones in it, use this app. You enter the date and time for the replacement to happen. It'll tell you if it was successful or if there was a problem on screen. UPDATE - If a file is in use an the time goes past midnight the date will increment properly.

4_2005-2006 #156696
My Win32 App #6 - Simple Toolbar

This program adds a toolbar without modification to the cWindow class. This program also incorporates a menu and a text edit client area. When the user clicks on the On/Off icon, a different message is displayed in the client area. This program performs no other function (at least, any useful function).

4_2005-2006 #156698
My Win32 App #10 - MsgBox Creator

It's an example of using a few controls on a dialog box. The program doesn't really do anything useful.

4_2005-2006 #156748
clsFocus

clsFocus is a class that can be associated with a form, allowing to perform data entry checking and focus handling with almost no code at all..., just associate the form with the class, and create ONLY ONE validation Sub for all the controls on the Form, it's that easy... Please rate it, it just takes a while, I would love to read your comments...

4_2005-2006 #156811
Synchronize v1.1

This is an update to synchronize. This has the missing timestamp code, and if file exist code. It still synchronize two directories files. Making them duplicates of each other. Supports UNC naming.

4_2005-2006 #156819
Get a chunk from a file, but specify start and finish (usefull for splitting files / P2P program)

This code can be made to take a certain chunk of your choice from a file. Mainly for making resumable downloads etc, or working on a patch for a program... I made this cos im working on a file sharing program that downloads from multiple sources. SERVERAL UPDATES HAVE TAKEN PLACE (thanks to guys who posted comments improving the code)

4_2005-2006 #156841
_*Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB !!!! VERSION 3*

This is is originally from Mark Withers . Mark Withers Mark Withers Mark Withers I do not want anyone to tell me I steal code. I just wanted to show Mark how to Update is code... I got it running under 1 second for a 20 Mb file... yes!!! under 1 second no, no API required... only pure VB optimization... I first calculated all FileLen and Len before the loop... this is THE optimisation that did all the thing then I used a buffer for looping through the file and I added null chars at the end of the dll name if it was too short, because in C++, strings ends with null chars I hope this helps you Mark Best regards, Jean-Philippe Leconte Senior programmer Win32/64 expert C++ / VB

4_2005-2006 #156842
Folder Replicator

Replicate folders with just a button

Languages
Top Categories
Global Discovery