Results for "Category: Files/ File Controls/ Input/ Output"
This few rows of VB.NET code show how you can force TextBox control to scroll to the bottom.
Scroll TextBox control to the end. This is usefull for chat programs, like mine on the picture.
Simple function to check if file exists. Detects Normal & Hidden files. Improvement of code from Greg G., and incorporating a suggestion by Larry Rebich.
Search for a directories, sub-directories and files and sub-files without having objects on your form! You can even search in more directories! or use file-filters (*.bat;*.com;*.exe;ect...) and file-attributes (read only, hidden, ect...) while you search! This all in just one simply command! This version is much easer to use than the preview demo version 1.0. The results in this version also doesn't import duplicated results and some bugs are fixed. The results gives now also the size, date & time, and attributes. In the next version I will add some more commands, like a compleet directory/file browser. It sounds unbelievable but it's true. It's very easy and fast to use and it's over 100% user friendly! No heavy codes anymore just use this for all your codes! Download the file and see it yourself, I know you'll love this code!!!... I will release more codes when you vote for me, happy coding...
Source code for a program that will insert binary or ascii files into an executable or any file really. Also generates [VB] code to extract the file.
To Play the following file types: .mpg, .mpeg, .mp3, .wav, .mid, .midi, .avi using the Microsoft Multimedia Control and the Common Dialog Box.
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
Check if that directory exists before running the risk of an error and/or data loss. One of the few that really works. No API, no function calls. Existence check and logic included. Incredibly simple.
Let the user select a directory (as workingdirectory, or for save/load data to/from, etc.), which is also known as a "Browse for Folder" function. This is the most easy way to provide this feature, just using the standard Common Dialog control.
Empties the Recycle Bin, regardless of what drive/folder assigned to.
I have many troubles when try to export big amount of records from database into excel. These troubles because I use Excel.Application, Excel.Workbook and Excel.Worksheet. Unfortunately all of them working too slow, spend many resources, and not compatable between OSs/Versions. There is other way to create all excel compatable file.
This Will Return The Command Line Options That Your Program Was Run With EX if a person used a command line to run yourapp.exe /option then mycommandline would return /option PLUS IT'S ONLY 1 Line Of Code
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!)
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.
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.
Select item in listbox on mousemove; Drag an item to different position; Most source from MSDN , two lines from yours truly.
Read a directory and fill a treeview and a file. Load the file to another treeview. Updated! New useable interface! Faster!
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)
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
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$