Advertisement

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

7_2009-2012 #218024
Active Self-Extract

With this code, you can incorporate self-extract functions to your VB program. You can actually add a compressed file, with you own custom compression algorithm to a EXE, so you can extract it just by running your program (just like WinZip's SFX modules), you can save your application's setting in it's executable(so you don't use the registry, or INI files), you can even put the registration information inside the exe(for safety), so you don't use external text files, or just put a DOC file inside an exe so a user can see it's contens even if it doesn't have Microsoft Word. This are only examples, but the posibilities are UNLIMITED. You can implement this to your program just by adding 2 functions, and calling them. By the way, it should work with almost any VB version. Included is a sample app, that shows a sample Self-Extract maker (which can include any file in the Self-Extract module, which is a VB app), and a Self-Extracting module, and of course, source code. Enjoy! P.S. If you include a zip into the Self-Extract module, some uncompressing programs will think it's a SFX, and you can decompress the files with them! (tested with WinRAR -- will say that the zip has a bad header, but will decompress the files!)

7_2009-2012 #218025
Base64 - VERY FAST

Encode and Decode base64 at 6 megabytes per second !!!(on a Intel Pentium 233) Documentation is in the zip (full source code included). Based on Sebastien's functions posted few monts ago on this site.

7_2009-2012 #218028
Bit IO

This module allows you to view a file as a collection of bits rather than as a collection of bytes. It allows you to read/write a single bit at a time or read/write up to 32 bits at once.

7_2009-2012 #218036
ListSelect on mousemove

Select item in listbox on mousemove; Drag an item to different position; Most source from MSDN , two lines from yours truly.

7_2009-2012 #218037
DirectoryToTreeToFileToTree

Read a directory and fill a treeview and a file. Load the file to another treeview. Updated! New useable interface! Faster!

7_2009-2012 #218057
Amazing Programming Utility Browser

This is an Amazing Tool that do all that: 1- Search for *.frm and *.bas on all your drives 2- Store files info in an MSFlexGrid 3- Retreive all the Functions/Subs from all the files 4- Store Functions/Subs info in an MSFlexGrid 5- Function, Sub and File Viewer 6- Api utilization for search optimization 7- Read/Write I/O files treatment 8- Dynamic forms demonstration 9- Lot more.... !!! Thanks for using this code. Carlos : elterrorista@videotron.ca (VBMania)

7_2009-2012 #218060
Explorer Program

Hey !! This is an Explorer program exacly like the one comming with with windows. it is not completed but almost everything is there Tool, Icon, Drive, etc.... A MUST SEE ... It gives you the files Info Browse you Hard Drive in a TreeView exacly like Window and chow up the files in ListView exacly again like windows... So Enjoy it !!! Thanks for using this code...PLZ Leave Comments Please visit my new web site and see what you can do VB power !!! come and chat with me http://www.virtualgamer.t2u.com

7_2009-2012 #218061
DAQ parallel port input/output

UPDATE : ADDED : full schematic, photos, instructions. Read/write to parallel port, IC/I2C com, ics are 74hc374-74hc166,tlc1543,ds1621. Real ommunication with electronic chip(IC). My hardware module have 16digital output, 32digital input/output, 11analog input, 1 DS1621 temperature reading IC. If you need info or help to build a hardware email me. you can get the parts for less that 20$

7_2009-2012 #218099
RecurseFolderList

This code is a modified version of ShowFolderList by Bruce Lindsay. (Thanx !!) This code will recursively parse a directory defined by an path parameter. My aim was to work around the non-recursive nature of the dir function. Bruce's original code does that to one folder/child level. Mine now returns everything below a given path. You can still use getattr to define Folder or File attributes.

7_2009-2012 #218100
RecurseDir2

Example of File System Object implementation...

7_2009-2012 #218103
sndPlayer MP3 MIDI WAV etc Calls

'This simple piece of source code will 'show you how to call and play Mp3, 'Mpeg, Midi and Wav files without 'using any extra controls. Simple and 'easy. Yeah what more would you want, 'well some extra buttons but they 'will be coming soon.

7_2009-2012 #218106
cFindFile - A Windows API wrapper for FindNext

This is a wrapper class for the FindNext functions. The FindNext, and related functions, allow the searching of a drive for a given file. Wild cards are supported as are UNC and long file names. It returns a string array, to n-tier enable it. It was also designed for reusability at the source code level. It is currently used by a number (5+) of production applications (in it's current form). For more details and a usage example, please see the Declarations section of the class.

7_2009-2012 #218148
Using the Browse Folder Dialog Box

You may have noticed that in Windows the Browse Folder dialog is used in may programs, even the shell if you have used the find program you can choose browse and the folder below appears.WITH NO NEED FOR MODULES!!! You can implement this dialog bow into your applications very easily by using the following API calls. SHBrowseForFolder SHGetPathFromIDList lstrcat

7_2009-2012 #218175
Game Editor/Hex input-output

This is a big update from the other editor I posted here. This inlcudes: A status Bar, which holds the tooltiptext, A Tab Strip, and updated use of the CommonDialog Control. In this code, you will find out how to convert an ASCII (from a file) string to Hex and then Decimal. Then convert the decimal back to hex and write it back to the file. This is code also includeds a lot more intrinsic documentation. 9K Download......Ha! Have fun with this baby. UPDATED: MARCH 11th 2000. Now uses an UpDown Control in sync wiht the txtCASH control.

7_2009-2012 #218203
Load and Save TreeView's to/from a text file

These are two functions I wrote to save and load a treeview's nodes (saves the .text, .tag, and .key properties) to and from a text file. This is a very simple code and should be very easy to incorporate to any project.

7_2009-2012 #218219
PathExists%

Determine if a directory exists. It is a variation of the Planet-Source-Code function I borrowed called 'FileExists that always works'.

7_2009-2012 #218251
Comma De-Limited

This code will read a file line by line and create a comma delimited text file which can then be imported into Excel.

7_2009-2012 #218265
Choose Directory

Via API calls, has the user choose a directory. No commondialog needed!

7_2009-2012 #218293
DirectoryTreeview

There are no drivelist, dirlist, or filelist controls available in VB.net. This example shows how to use a treeview to display a list of folders to a user, and allow the user to select a file. Compatible with VB 2005.

7_2009-2012 #218312
CopyFileAny

This code allows you to copy any file, including your application to another destination at runtime. Note: This code has only been tested on Windows 98 using Visual Basic 6.0

Languages
Top Categories
Global Discovery