Category Archives: Visual Basic 6 (VB6)

Slot Machine Example

The simple code generates a Slot Machine where you pull the lever and different images appear in the 3 boxes. The Graphics aren’t really good, but you will get the idea of what the program is doing. If you want, you may add more images to the application so the game will be harder. Original Author: Jason Brimblecombe Assumptions… Read More »

VBThreads

Create separate running threads in Visual Basic 6 without having to use the CreateThread API call ,which can be unstable to say the least!IMPROVED VERSION! Original Author: B.Bowler Assumptions This code was written in VB6 and works fine on 95/NT/2000 platforms. Feedback is welcome not matter how small (abuse is welcome to put your point across..no probs!)(CODE HAS NOW… Read More »

Book Agency Billing and Reports

A simple project which can serve as a good example for use of crystal reports,DAO and dynamic control arrey. Original Author: Sachin Palewar Attachments File Uploaded Size CODE_UPLOAD239712181999.zip 9/3/2020 3:45:00 PM 17683

AppBar

It just pops down a bar when you put the mouse at the top of the screen. it then detrects whether the mouse is still on the form, if it is not it hides the little bar. Original Author: Chris Rose Attachments File Uploaded Size CODE_UPLOAD240412191999.zip 9/3/2020 3:45:00 PM 3501

Awesome Raise 3D almost any control! [FIXED]

Holy cow! This is awesome! This actually works. You can make almost any object or control in VB6 have a raised 3D affect. You have to check this out. You have to try it. And you have to help me improve it please. If you make any improvements, please re-upload it thanks. there aren’t any comments in the… Read More »

Verme – a famous worm game

This is just another worm game. But it uses bitmaps, with a beginner concept of double buffering, also something about sorting elements in arrays. The game has a Configuration window (you can choose world size and game level), and a Hall of Fame window (shows top 10 hi-scores). Code is clean and well commented. Original Author: Sonic Attachments File… Read More »

Get Version Number for EXE, DLL or OCX files

This function will retrieve the version number, product name, original program name (like if you right click on the EXE file and select properties, then select Version tab, it shows you all that information) etc Original Author: Serge Assumptions Label (named Label1 and make it wide enough, also increase the height of the label to have size of the… Read More »

**A Bouncing Ball**

This code shows a circle bouncing off of the sides of the form like Jezzball (But not as good). Original Author: Ben Doherty Assumptions you need to make 2 timers named Timer1 and Timer2, make a circle shapeand name it pic. set the background color to black. Code Private Sub Form_Load()Form1.Height = 4770Form1.Width = 5865Form1.BackColor = &H0pic.BorderColor = &HFF&pic.Top… Read More »

Error Handler Document

This code pastes into a Module that Create (if not exists) a MDB to record the errors that occur in your application. Original Author: WalkerBro Inputs Needs (DatabaseName, Date, Err.Number, Err.Description, PrivateNotes, Optional(User))Load in “References” the “Microsoft DAO 3.51 Object Library” Assumptions Basic Error handling information. Returns True or False if it was succesful. Side Effects No known side… Read More »