Advertisement

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

2002ASP #5335
Binary string replacement

Opens any file in binary mode and replaces all instances of a specified string with another specified string.

2002ASP #5380
File Date Time Setter

This allows you to change the system date time stamp on your files. It was written just to make the files we send out to users look a little neater, all with the same date and time.

2002ASP #5450
Folder Icon Changer

With this program you can give folder its own icon. It works on net disks and floppy disks, too!. Icons can be set from ICO file or extracted from EXE, DLL, ICL, OCX files. Program works with Windows 2000, Windows 98, Windows ME. Definetely check it out. It will make your life a little bit colourful :). And please vote if it does. Any suggestions, improvements & bug reports are also welcome.

2002ASP #5477
File String Manipulation (FIle Thingy) v1.01

(v1.01) -- Some function to manipulate file strings. GetFileName > Returns only the filename -- GetExtension > Returns file extension (optional lowercase) -- GetFileNoExtension (New) > Returns filename without extension -- GetPath > Returns full path. (optional without drive) -- GetDrive > Returns drive (optional include "\") .. Also fixed a horrible bug in the GetFilePath. Screenshot is from v1.0

2002ASP #5482
Select Multiple Files Using CommonDialog

Simple example of how to select (and retrieve) multiple filenames when using a common-dialog and adding them to a listbox.

2002ASP #5487
Awesome Logger

This logger has the same functions as most other keyloggers that u get off planetsourcecode but it has a few more useful functions like : · Take A Screenshot Every so many minutes · Log anything the victim does in Hotmail and MSN into its own window (ie. Passwords, or MSN Instant Messages) · This Logger runs in the background and is un-noticeable to the victim. · You can set the logger to pop up a message box every so many minutes · It is disguised as mirc (ie. mIRC password box pops up on startup. If you type runmirc, mirc will run. If you type runlogger, the logger will run) There is probably more stuff, i just don't remember right now.

2002ASP #5568
Code Statistics v2.0

This will get various statistics of your code. it can scan projects, forms, modules, classes and controls. The informations retreived.. well, just look at the picture. The code is a definate improvement on the last version which only scanned projects, forms and modules. This version can scan classes and controls, plus gets the amount of declared variables, properties and api decalrations. The code itself has also been slightly re-structured for ease in inserting any other files you wish to scan for. Let me know if you have any suggestions, as these improvements were suggested in the feedback from the last version. Any votes are also appreciated :) Thank you.

2002ASP #5591
Delete Yourself

let the program delete itself ;)

2002ASP #5595
Sense The Splash Screens Used By Windows

This program is a simple application that is designed for one thing and one thing only: It senses the "Splash Screens" used by Windows when you start up your computer, the computer is in the process of shutting down, and when Windows prompts you "It Is Now Safe To Turn Off Your Computer," or whatever you have it set to. This program allows you to copy those images to the clipoard, as well as "Refresh" them. If for no other reason, check this program out to learn what files Windows uses for the pictures behind the splash screens, and how to load pictures into pictureboxs/images on runtime, a function that is VERY helpful when skinning. This could be useful for people attempting to make their own themes. By using the knowledge that I gained from this application, I wrote a program that changes those screens to some special files that I made. P.S. Throw a vote in my direction if you can find the time: You have no idea how long it took me poking around in my hard drive to find these files, and to figure out how to load pictures on runtime. And for those of you wondering how you load pictures on runtime, this is the simplest code available. Example: Private Sub Form_Load() Picture1.Picture = LoadPicture("C:\Windows\Bubbles.bmp") End Sub

2002ASP #5597
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!

2002ASP #5604
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

2002ASP #5605
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

2002ASP #5618
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.

2002ASP #5625
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

2002ASP #5652
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.

2002ASP #5660
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

2002ASP #5713
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).

2002ASP #5850
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). ;)

2002ASP #5884
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.

2002ASP #5903
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.

Languages
Top Categories
Global Discovery