Results for "Category: Files/ File Controls/ Input/ Output"
Calculates a unique CRC32 hash based on strings from important sections of your exe (as opposed to the entire exe, including non-critical things such as images, sound etc). This means you can protect exe's of virtually ANY size using CRC32. If you choose your sections carefully enough, the protection can be just about as good as if you had protected every byte in the file. Please vote for this if you think it's worthy of one :-)
HERE it is, Finally a CRC32 Generator for a file and it was put up due to the amount of requests for it. The Original CRC32 code is included and is easy to use. Only one Function to get a CRC32 for a file. It is very easy and simple to use. Thanks to Detonate(detonate@start.com.au)... Check out Neo's web Space http://vbcode.8m.com
This code can, check for duplicates in a listbox, and remove them, it can sort a listbox (although my way is very hard to explain), it can shuffle the items in a listbox, and it can remove any item with a certain designated name from anywhere in the listbox, it's pretty cool, check it out!!!
Folder Monitor is a class written in Visual Basic 6.0 that monitors changes made to files in a specified directory (folder) or directories (folders) and its subdirectories (subfolders). It uses the Windows API functions WaitForMultipleObjects, FindFirstChangeNotification, FindNextChangeNotification, and FindCloseChangeNotification.
This program adds line numbers to your VB code. I teach VB programming and needed a way to reference the code by a line number for creating quizzes.
-v-(updated)-v- I have added a few other needed files that a few submissions have asked for, I will probably put out a better version without any bugs as soon as it is fully tested. Thank you for your input for those that have checked out my code and thank you for voting. For those that have seen the code, it is quite unique, eh? This code will search through your computer for the specified files you type, and will list any files (with paths) as they appear. If coded properly you can use this code to make some type of shell program for later use, or....well....use your imagination. Since i have not seen this posted yet, nor have i ever seen anyone actually do it, i decided to make this my first post. If you like it, use it, But please give me credit by putting me in your greets or something. Or if you make a program i would love to see how this code enhanced it in any way. Thank you
Shows the - in my opinion - easiest way how to properly save and load a complete treeview structure from a plain text-file. NOTE : The code uses 2 functions - GetBefore and GetAfter - which I got from this Site, but I cannot remember the name of the author. If the person who wrote these functions incidentally gets this code, please leave your name in the comments, mentioning that these are YOUR, NOT MINE.
This may be some help if you want to print with VB. It does not cover everything to do with printing but is a good start.(...No PrintForm...) Using X,Y, Coordinates.
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.
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.
Getting back to the basics of using VB6 controls. Included in the project are, checkboxes, options, combobox, textbox, Scroll bars, File list, Dir list, and drive list. Very simple programming intended for beginners. Has an example of browsing for files without using common dialog control. Plus an example of using the ShellExecute api and 2 option dithered background. I hope the code is helpful to those that are new. I'm sure there are others like this on here.
This is just a single Bas file with two functons for binary read and write of files. The functions are using API's for a better performance.
Common Dialog Template. This small project explores the use of the Show methods of the Common Dialog. Want to know if the user entered an unexpected extention? Want the dialog to return a file name that does or does not exist? I have included most of the constants and properties associated with each method; not so much to show how they are use, but as a reminder of what is there. Try different things and see what happens. The open and save methods seem to have the most options and therefore the most complexity. So have fun and see if this works with that....
This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!
This is a file chat program that lets users chat to each other without the aid of ip addresses and winsock controls, all it needs is the location to a shared area on your network where the room files will be created then every one else enters that address in there program and then you are able to chat to each other. This program also contains static rooms that you can go to so you dont have to stay in the same room all the time. Also by the press of a button it changes into a replica of notepad in case any one comes along that might not like you chatting.It worked in my school...lol!! PLEASE TELL ME WHAT YOU THINK.
Binds a unlimited number of files into 1.
Simple Function designed to upload single/multiple files from VB using just Inet control, Label and the Function.
I've seen requests for this in the mail lists to here it is. This uses the windows scripting runtime to get the path to the requested directory. For example, as you know, the windows directory can be C:\Winnt\ , c:\windows\, etc. This code will retrieve the correct path to the directory. 'Currently written to get the Windows, System32, or Temp directory. Add others as you'd like.
This code demonstrates how to capture keyboard inputs all over windows. A class module is provided, and a 2nd example is provided to capture all keyboard keys, including special keys
This will rename a file in one line of code. Very simple so I do not expect to be voted for but Comments are nice.