Category Archives: Visual Basic 6 (VB6)

Conversion between Dec, Bin and Hex

This module contain function that are used to convert between decimal, binary and hexadecimal. Original Author: Pierre-Alain Vigeant Inputs Depend on the function Assumptions Each function are ‘stand-alone’. This mean that u can copy one of them without needing another one.The conversion function are written in this way: 2Example: The function ‘Dec2Bin’ will convert from decimal to binary Returns Depend… Read More »

Daily Dilbert

This program Downloads the archive page from‘ http://www.unitedmedia.com/comics/dilbert‘ extracts the file name of the picture. Download it. Convert it to bitmap.‘ Changes the desktop wallpaper to the new dilbert strip. Original Author: Bjorn Larsson Assumptions You must have an internet connection.. Returns 2 files on c: dilbert.gif and dilbert.bmp‘ A changed wallpaper. Side Effects Sometimes the desktop wallpaper is… Read More »

WinPopupSimulator

My Code simulate a WinPoPup, i can Send message and receive message, i make a ocx( source code here) and another program for test this ocx(source code here) Original Author: Serge Boivin (Dark) API Declarations Private Declare Function CloseHandle Lib “kernel32” (ByVal hHandle As Long) As LongPrivate Declare Function WriteFile Lib “kernel32” (ByVal hFileName As Long, ByVal lpBuff As… Read More »

Basic Winsock Usage

This code is probably not the best for learning from, however I decided to post it in the hope that maybe it could help someone figure out the extreme basics of using the winsock control. Basicly, I wrote this to play a prank on a friend, you know just scare him a bit, but after using it I… Read More »

an Error Index!!

With this program, you can look up and define any error that Visual Basic can give to you! It will teach you how to do error handling, define errors of your own, how to use the Err object and can be very useful! Please add to it and keep it going as a tool everyone can use! Original… Read More »

A login thing

This is a ordinary login program, kind of like aol. It makes sure the person enters a username and a password more than 1 letter. It’s pretty cool, I think. I would use something like this on all my projects. Original Author: SeeD Inputs 1. 2 forms2. on form 1, put 2 textboxes and a commandbutton3. thats all4. use… Read More »

A Good Imaging Program to learn from * FIXED *

Learn how to use imaging controls! Quick Image allows you to scan images, save them, print them, open images in diffrent formats. You can do alot of things with this program. Change the resolution, and alot of other stuff. It used the kodak image control and the kodak image admin control to show the image and kodak scan… Read More »

Display vertical Text in a MSFlexGrid

With this code you are able to display vertical Text in a Flexgrid. This isvery helpfull, when you need to display a column which only has a YES/NOValue and would waste to much horizontal Column Space to display the ColumnHeader Original Author: Martin Koenig Assumptions 1.Start a simple Project2.Add the Microsoft Flex Grid component to the Project3.Add a Picture… Read More »

VbMailer

This program uses the MAPI controls to interface with Outlook. You can view your address book, send and recieve mail, and do a lot more. This was originally submitted a year ago by me but now i put a screenshot with it. The MAPI control is not in the zip because I don’t have it. This was written… Read More »

AdoxData.cls

This demonstrates how to create a database and components at runtime from a public sub called from the AdoxData class with ADOX 2.1 objects Original Author: Timothy Vanover Inputs Call the sub and send it the a string for the database name, and a string for the key table name and one for the detail table name. This will… Read More »