Advertisement

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

ASP_Volume3 #45603
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.

ASP_Volume3 #45615
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.

ASP_Volume3 #45686
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.

ASP_Volume3 #45694
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!

ASP_Volume3 #45728
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).

ASP_Volume3 #45733
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

ASP_Volume3 #45740
access 97 password recovery

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

ASP_Volume3 #45751
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.

ASP_Volume3 #45780
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.

ASP_Volume3 #45828
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!

ASP_Volume3 #45829
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.

ASP_Volume3 #45839
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!

ASP_Volume3 #45844
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.

ASP_Volume3 #45848
Make Transparent Forms by a Forms Picture

This will make a Form Transparent according to a Pixel of it's Picture. Be patient with me as I am learning how to code in C++. This code was ported from a project in VB by Chris Yates. However VB is horribly slow so I thought I'd make a Dll in C++ that did the same. Here's the result

ASP_Volume3 #45852
Launch any file!

With this little function you can LAUNCH ANY TYPE OF FILE that windows reconizes. This means that you can open any type of file that windows has the application for it. For example: You can run a file named "movie.rm" (RealPlayer fomat), but if you don't have Real Player installed, the function just won't do anything! No bugs at all!

ASP_Volume3 #45855
StopFlicker

Avoid the Flickering Use this routine to stop a control (like a list or treeview) from flickering when it is getting it's data.

ASP_Volume3 #45857
Copy like Windows-Explorer

You can copy files like the Windows-Explorer - with animation !

ASP_Volume3 #45899
A Pak File Creator

OK folks, I've made a little progress. Here is the latest. This one has problems with any files but text files. If you put the first file in the pak as an executable, it extracts fine. But 2nd 3rd and so on, no way. This code is driving me crazy!!! A big thanks to Robert Carter for his help on getting me this far. Please keep your ideas a coming folks. I know a lot of people out there can use this if it can ever get finished and fixed. There are still bugs in the code. I don't have many error handlers in it yet. I want to get the basics of the code fixed first, then I'll go back and make this thing proper. This Code was fixed. Look for the AppenderPak by me. It is the same code as this but with fixes.

ASP_Volume3 #45900
Basic VB Controls

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.

ASP_Volume3 #45902
IniViewer(TreeNode Style)

Here is an INI File viewer using the Tree Node. Nice little screen shot of the proggie is available. Easy to learn how to use a tree node in your projects. Please leave me some comments on this. - I've updated this as a complete application. It's new name is IniEditor[TreeNode Style]. Uploaded 10/19/00.

Languages
Top Categories
Global Discovery