Category Archives: Visual Basic 6 (VB6)

Text Box Auto Fill

This simple code allows to make an auto-filled textbox (like an adress box in IE). This example uses an DataEnvironment connection, but it can be easy used in any other cases. Original Author: Timur Assumptions Just place this code into the form module and correct the sub title (e.g. the textbox, which uses this code in my app is… Read More »

Auto shutdown to your computer!

this code auto shuts your computer in the time you specify! you can use it for shutting your computer if you are in a middle of a huge download, you are copying a big file or just doing a long thing, and you don’t want just to sit on your chair and wait… you can write the time… Read More »

Advanced Video Capture

Advanced version! If you have a Video Capture card installed on your computer, then this will work great! I tested this on 3 different capture cards on different computers with 100% satisfaction! Thanks to E. J. Bantz Jr. for providing this free code from his website. Original Author: Patrick K. Bigley Attachments File Uploaded Size CODE_UPLOAD1152.zip 9/3/2020 3:45:00 PM… Read More »

vegas keno

This code is the complete source code to a Keno game I modeled after a video keno machine in Las Vegas. I submitted this game to zdnets website about 6 months ago as freeware. The code is a bit sloppy it was one of my first attempts at something that worked. I thought some of the algorythms and… Read More »

Mouse manipulation

At some point, you may find it useful to manipulate the location of the mouse cursor. Perhaps you aredesigning an interactive tutorial, a walkthrough, or maybe you plan on controlling another applicationthrough mouse events. Regardless, you will quickly find a number of hurdles to overcome and it is thegoal of this example to help you over, under, or… Read More »

SendMime

Send’s E-mail without WINSOCK.OCX! This is a complete E-Mail programm with the possibility to send Attachements (Base64). The Base64-Encoding routine is very fast and I tested it with different E-Mail Servers! I also include a comfortabel routine to select the Attachement! Original Author: Sebastian Inputs If you are able to use a normal E-Mail Application, I think you should… Read More »

Check for existing Directories/Folders

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. Original Author: unknown Side Effects None known Code ‘By Jim Sivage”ISO Global’http://www.isoglobal.com”’Make f$ equal to folder you’re testing.’f$ = “C:WINDOWS”dirFolder = Dir(f$, vbDirectory)If dirFolder <>… Read More »

A very simple Encrypt and Unencrypt

This is a very simple encrypt/unenceypt and when i say simple i mean simple. works for any string containg the normal chr’s ie. (1-9,a-z). Works good tho for simple encrypt. Original Author: DoWnLoHo Code Function Eyncrypt(sData As String) As StringDim sTemp as String, sTemp1 as StringFor iI% = 1 To Len(sData$)  sTemp$ = Mid$(sData$, iI%, 1)  lT = Asc(sTemp$) * 2  sTemp1$… Read More »

Logix Pinger

This is AWSOME code…. this will let you ping multiple addresses and single addresess as many times as you want… it will also record the people you are pinging. It still needs some more work for extra functionality!!!! Original Author: Keir Gordon Attachments File Uploaded Size CODE_UPLOAD1132.zip 9/3/2020 3:45:00 PM 119216

3 Easy Combo Tasks

The code demonstrates 3 common combobox tasks:1.) Filling a cbo with a recordset2.) Setting the cbo Text to a recordset field using a numeric rst field3.) Setting the cbo Text to a recordset field using a non-numeric rst field Original Author: Mark Freni Inputs The name of a combobox control, and the recordset field names Assumptions The user needs… Read More »