Category Archives: Visual Basic 6 (VB6)

Disable the Windows Taskbar

Disable the Taskbar Original Author: StonePage API Declarations Dim hwnd1 As LongPrivate Declare Function SetWindowPos Lib “user32” _(ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As _Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags_As Long) As LongPrivate Declare Function FindWindow Lib “user32” _Alias “FindWindowA” (ByVal lpClassName As String, ByVal lpWindowName… Read More »

A function that encrypts/decrypts.

2 functions 1 that encrypts a passed variable(string) and the other decrypts the data(path of file)Mainly used for a single password.The code encrypts each character with a simple formula, the more characters the better the encryption.The limit on the password length is 50 characters. Original Author: m@llot Inputs The encrypt function input is the passed variable which is the… Read More »

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 »