Advertisement

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

2002C #14201
Drive Browser Example

This is a fairly simple code that is an alternative to Windows Explorer or My Computer. An example using the DriveListBox, DirListBox and FileListBox, this code was "inspired" by File Browser, uploaded a few days ago. However, I wrote every line of code in it except for the "Error" section, you'll see when you download it. This application distances itself from most, maybe all of the other file browsers on PSC because it enables you to OPEN files from right within the application, by using the Shell ("Start ") API call. This enables you to open all types of files that are associated with an application, not just open specific files. This function does not ALWAYS work, I don't have a clue why not, but if anyone could point out why this is happening, if they could post an UNDERSTANDABLE comment, it would be greatly appreciated. Now, if you think this code is worthy, throw a few positive comments amd votes my way, and bear in mind, I'm 11 and this is in the BEGINNER category. Some of you seem to derive some strange pleaseure from rating beginner code at the intermediate, or even advanced level. I hope this Drive Browser comes in handy or teaches you something!

2002C #14208
File Mapping Class Module Plus a Portable Executable (PE) Format Verifier

This is a DEMO Application on Using my FileMapping VB Class Module to Simulate the use of File Mapping APIs Used in Visual C++ and Win32 Assembly, Why in Visual Basic, Why Not? FileMapping Class Module ======================== Tired of using the traditional Visual Basic File Handling Routines, or even FileSystemObject failed to read to a file byte-by-byte, or you want to Access a File Using Pointers for Better Scalability Performance, while Some Anti-Virus Blocks the use of very useful FileSystemObject, File Mapping Functions comes into a handy set of routines just waiting for you to use them, and take note, we people as Visual C++ and Win32 Assembly uses this functions, because we dont have easy macros. Why use easy routines, and limiting your performance, use File Mapping, thats the only way!!! yup, Visual Basic doesn't support Pointer Variables, but there is a CopyMemory "RtlMoveMemory" to do the same effects (a little slower than the real pointers but that will do just fine) Included in this ZIP file is my Class Module to perform FileMapping and a demo Project on how to use the File Mapping by Traversing to an Executable format and checks whether it is a valid Win32 Portable Executable Format and finally checks what type of PE it is, PE32 or PE64 ======================================================================== This code checks for a valid PE Executable Format To understand this Application, you need to consult your nearest PE Documentation. Win32 Assembly Codes are included in Comments are 100% working on TASM32 Compiler, Created by: Chris Vega [gwapo@models.com] http://trider.8m.com

2002C #14209
Portable Executable (PE) File Header Viewer Plus Image Checksum Calculator

To study one File-Format Structure, is a "TRUE" advanced task for a programmer, offset-by-offset and byte-by-byte definitions, and studying the Executable Format of the system you are working on one of this tasks. But to study a format, you must have a Viewer and a Format Description itself from the File-Format author/developer or by scanning through the use of Scanners/Detectors. Using the FileMapping Class I recently submitted to this Server, I have created a Portable Executable Viewer, an Application capable of: - Has support for Portable Executable 64-Bit - Opening and Detecting Portable Executable Type - Recalculating Image Checksum - View MS-DOS Compatibility Headers - View Portable Executable Headers - View Optional Headers - Generating a Full Report

2002C #14222
File System 2.4

File System 2.4 is an ActiveX DLL that i made to make editing files easier. If you don't want to use a database for whatever reason, (like to little data in your project) text files are probably your next best bet. With this DLL (source IS included) you first call a function to set the file you are working with. Then you use fuctions like XAppend to append to the end of the file, XAddToLine to add some text to the end of the line by entering an any length string that the line begins with and it finds the line and adds the text to the end of it. You can delete lines with the function Xdelete, where you specify an any length string and it finds the line that begins with it and deletes only that line from the file. Use the DLL in your project by going to Add Refrences and selecting the DLL. All the features are then avalible for you to use in your project.

2002C #14229
clsINI Fast, easy, robust INI manipulation

Ever wanted an easy way to store settings for your program? The registry is great and all but it's hard to check to make sure things are saved correctly and if you're not sure what you're doing you can clutter it up with junk quickly. The ini class can be compiled into a stand-alone DLL or included directly into your project. It has methods to create, delete and rename, sections, keys and values within a file making storing settings a breeze! If you have any questions or comments please post them here or email me at ebdalqui@mtu.edu

2002C #14256
Binary Resource Creator v1.2 **UPDATED**

Use this nifty program to combine files into a single binary file. Allows you to Combine and Extract files using a simple, easy to use, interface. Great for protecting your files when you distribute your apps/games. Also keeps your files seperate from you EXE so to update your app/game's graphics or sounds etc all you need to do is redistribute the binary file. If you like it a vote would be nice. If you hate it please tell me why. =] Vist my website www.pointystudios.cjb.net Version History: 1.2 -Added ability to select the destination extraction directory -Added a "Add All" button so you can add all the files from a dir to the list. 1.1 -Fixed some minor bugs -Added ability to remove files from list. -Added error trapping 1.0 -Release version.

2002C #14264
File System Functions

commonly needed file macros you hate to code over and over. Functions: GetFolderFiles, GetSubfolders, FileExists, FolderExists, SafeFileName, Read/Write/AppendFile, GetFreeFilename, FileNameFromPath,ChangeExtension, etc.. anyway this will help you clean up your code alot and make it more readable Dont forget to check my sight for more stuff: http://geocities.com/dzzie

2002C #14317
Read All Extensions in A Directory

I wrote this for someone who needed to know how to read in all the file extensions in a directory and keep updating it when changing directories. It uses InStr to find the "." and then does a bubble sort (not efficient I know).

2002C #14454
A mixture(mostly file stuff)

This is my higher visual basic project for school (Very easy actually, good for newbies). It lets you add a company name to a list (shows the number of times it's been entered next to it.) or remove it. You can save and open lists. It even has its own file extension. It demonstrates file operations and parsing (that was actually quite hard). When you enter a name it only accepts letters, numbers and spaces else it asks you to type it again. I have 5 weeks to do the project though so this is only my first attempt. Leave your feedback and if you like it, vote. (Reading my feedback and seeing a new vote is the only pleasure I get in life. I know, i'ts sad isn't it). ;)

2002C #14488
Basic FSO, Inet Example

This is to show basic FSO & Inet use, it is a registration program that will create a temp.dat file, upload it and change the name to registered.dat and then delete the temp.dat on the users pc. It is commented on almost every single line, it describes everything the coding is doing. Basically made for beginners but to give intermediate and even experienced users some ideas. Please Vote If You Find The Code Useful Or A Good Tutorial, Your Votes Are Much Appreciated.

2002C #14507
Functions For Reading and Writing Text Files

This code consists of 2 Function (ReadFile and WriteFile). All you have to do is Point ReadFile to a filepath and it will return the text within that file. Write file recieves a filepath and the string value to save to it. They include simple error handling..and can easily and quickly be advanced to handle open and save dialogs.

2002C #14516
Super Fast File Search Class - RealTime file return, Recursive, CaseSensitive, & Attribute Filter

I call this file search class cDirEx. Other file search examples on this site are pretty nice, but I wanted one that would return each file immediately after a successful match. So I came up with what I call, real-time file return. This search class lets you control the files searched by specifying certain file attributes to search or ignore. Recursive and Case Sensitive searches are supported as well.

2002C #14533
Dir Monitor Update

Monitor all files in a directory & subdirectories for any change in size, attributes, date, access date, modified date, name, and more. Fixed some missed events from last version, and added a few more. Also, added the ability to check sub directories, and add search filters (*.exe, etc..) Also switched to a class based timer, and api file/directory calls instead of slow dir/fso calls. Special thanks to Dana Seaman for the suggestions and input on this update.

2002C #14619
Binary Compare/Patch maker

Extracts the binary information from 2 files, checks them for differences, then if there are differences it will add the new information to the file you want to patch.

2002C #14660
Validate Date

Checks and makes sure that the user enters in a valid date. Make a text box on a form and call it txtDate

2002C #14688
how to: output and input from parallel port

this document explains how can you control parallel port.

2002C #14689
CONTROL PORTS for NT and W2K

Here is what you need. Control ports from NT and W2K. You can INPUT and OUTPUT from any port. (parallel, serial, joystick, usb...)

2002C #14705
Using Hotkeys

An Example how to use and create hotkeys If you Download, Please rate it first. You can do me a favour if you do that! Thanks.

2002C #14706
IconWorks

Make your icons. This is a test, the real one likes just like this one. Have PhUn!

2002C #14716
Easy Key Logger With Nice Interface

Receives keystrokes from user, including mouse buttons and all keys. Writes all input to a text file and can be hidden in stealth mode! ONLY ONE API CALL WITH EASY TO FOLLOW CODE! Votes and comments are strongly encouraged and appreciated.

Languages
Top Categories
Global Discovery