Advertisement

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

7_2009-2012 #218324
dragdrop.zip

Drag & Drop file(s)

7_2009-2012 #218348
MSFlexgrid Editing Lite

This is the 'lite' version of the MSFlexgrid Editing code I posed on the 12th. This version does not use any TextBoxes at all. It has pretty much all the same features as the 'full' code, but a lot less code. Unless you're pickey you'll never know you're being faked out. 9-24-99: Major Additions (1) erases current cell and restores it again. (2) ADD, DELETE, INSERT, EXTRACT rows / cols.

7_2009-2012 #218362
COPY, CUT, PASTE Source code on how to do it EASY

This Code shows you how to copy, cut, and paste with only a few lines this is very easy to do. This is the CODE and not just some garbage like those other copy, paste, and cut. AND IT WORKS!!!

7_2009-2012 #218422
Directory Cleaner (recursively)

This function attempts to delete all files and subdirectories of the given directory name, and leaves the given directory intact, but completely empty. If the Kill command generates an error (i.e. file is in use by another process - permission denied error), then that file and subdirectory will be skipped, and the program will continue (On Error Resume Next). EXAMPLE CALL: ClearDirectory "C:\Temp\"

7_2009-2012 #218423
File Copy Class (Updated)

I have added an automatic detection of the target path. If it doesn't exist, created regardless of the depth. I have also added a verify feature to verify the copy was successful. Orig. Desc. This is a modified verision of Nabhan Ahmed's (Copy File byte by byte) found at http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=48319&lngWId=1. Please give all votes to him. His description Basically, this program shows you how to copy files byte by byte. Everytime it reads 4 kbs from the source file and write them in the destination file until it reads all bytes in the srouce file. There is a bar that shows the copying progress, and there is a label that shows the copying percentage. In the new update, you can use the browse button to find the source file you want to copy. I'm sure you'll find the code very easy to understand, and that you'll like it.( Would you please vote for this code ) My Changes: The FileCopy routine was transfered to a self contained class. It checks for proper input for the FileCopy method to work. It is now completey portable.

7_2009-2012 #218429
Hex Editor with LOTS OF COMMENTS

You know the hex read out that a hex editor would give you. It does create one of them using a hell of a lot of string manipulation and intellegnce. It is about as quick as VB would let you get and the princible can be used for just about anything envolving file manipulation, encoding, string manipulation, etc. Future versions will include a save function (easy enough to do but i dont have the time to do it now!) and the code will work in any version of VB (although you may have to copy and paste it from notepad 'cause the code was done in VB5)!

7_2009-2012 #218445
Change form backround with common dialog

Kind of like skinning your program

7_2009-2012 #218454
Open Cash Drawer Through LPT Printer

This code opens a cash drawer that is connected through a printer using a connector that goes from a reciept printer to an electronic cash drawer. This will kick the drawer open. This should work on an epson printer connected to a cash drawer.

7_2009-2012 #218466
File Search (UPDATE)

I recieved an e.mail from Randy Porosky asking if can update the Application so it would search for multiple Files and list the Search Name only, well, it now searches for multiple Files and adds the search name to a seperate listbox. You would expect the search to take double the time when adding another File to the SearchList, but with a litte recursive programming it only adds approx 0.6 seconds to the search time. So again, this Application will search for multiple Files on multiple Drives, Folders etc, VERY FAST, eg. On my system it took 3.5sec to search 1079 Folders for 1 File, because of the recursive programming it took 4.1sec to search 1079 Folders for 2 Files.

7_2009-2012 #218537
A PIECE OF CODE FOR READING WAVE FILES

(Updates is on http://www.planet-source-code.com/xq/ASP/txtCodeId.26377/lngWId.1/qx/vb/scripts/ShowCode.htm) Fellow programmers. Ever wonder how one company's software reads a wave file and show it as a wave sample? This code demonstrated how you can read a wave file and DISPLAY it as a wave sample without using a single API! It opens a wave file (FOR RANDOM) to reads the so-call BINARY (ASCII) and draws the lines in a picture box according to the data in the file. Please note that the wave samples produces by this code are not as detail as those you found in some WAVE EDITOR. I'm still figuring out the wave format and try to play the sound. If you know a function that can play sections of a wave file, generate sounds at different volume and frequency or directly make the speakers (connected to the sound card) vibrate at different frequency and volume, please send me an E-mail...Thanks.

7_2009-2012 #218545
File List Grabber

With this program you can easily make a searchable list of files with size included. This is great for people with large numbers of files (like say mp3's) who don't want to duplicate their already downloaded files. Simply drag and Drop files onto the listbox. You can save and retrieve the filelist to a text file for future use. Also provided is a MRU or Most Recently Used list, so that you don't have to search for the file everytime you want to load it. Full source code is included (of course), so you can see how it all works!

7_2009-2012 #218579
Directory Creator

This code will show you how to create nested directories even if one of the directories in the path already exists. Notice that Error 76 is ignored by the program (This error is generated by MkDir when it attempts to create a directory that already exists).

7_2009-2012 #218584
UPDATED Fill ComboBox From ini File (Module)

UPDATED! This is a Module that will help you fill a ComboBox from an ini file. It creates the file and allows you to add and delete from it. I just updated this to do a bubble sort and a few other minor Oops fixes. This code is well commented and should be easy to follow

7_2009-2012 #218591
access 97 password recovery

Forgot your access 97 password? Never fear this function will hack the access 97 local file password

7_2009-2012 #218602
Find File

Will locate a file on any type of drive. I use it for lots of things with little modification. Very useful for looping through all your drives, folders, sub-folders, etc. Perfect for finding files, folders, types of drives, etc. Should be "readable" enough for newbies and ideal for experts as well. Uses File System Object (FSO). Works with VB 5 as long as you've installed VB Scripting support. Can be implemented in ASP's with very little effort.

7_2009-2012 #218631
Resource Guide

This code is a guide to using\making resource files to use in your VB programs. Resource files are very cool, they allow you to design a great program include all the images in it and it means that no one can edit the images and re-distribute the code as their own.

7_2009-2012 #218679
Make a mini EXE!

Check out this code. It will create a standalone EXE that will run on any x86 machine, OS independent. Also, extremely small file. An exe with "Hello, World!" is only 23 BYTES! It is truely amazing!

7_2009-2012 #218680
Store 24 Booleans in just 3 bytes!

This will store 24 boolean statements in just a 3 byte file! (3 bytes = 24 bits). I harness the power of bits here and use it to store true and false values. Please vote if u like it and leave a comment.

7_2009-2012 #218690
Shimoon EXESave v1.1

ALL NEW VERSION!!! Stores 3 textboxes in the actual exe file! Can be more data if code altered slightly! No need to know the offsets now either! If you guys would be nice as to PLEASE VOTE FOR THIS!!! It wasn't very easy to find a solution to the problem of excess files - and I found it! So please be nice - vote and leave comments!

7_2009-2012 #218695
Locking multiple files

Program opens text file for input, reads name of files in list, then locks those files. Uses form and module, also shows system tray icon.

Languages
Top Categories
Global Discovery