Category Archives: Visual Basic 6 (VB6)

Code for a basic Pong style game!

Makes a little pong style game Original Author: Matthew Eagar Assumptions Nothin much, just a very basic knowledge of VB programming. Code Dim vmom As Integer ‘holds the ball’s vertical momentumDim hmom As Integer ‘holds the ball’s horizontal momentum Private Sub Form_Load()  Randomize  ‘make the vertical and horizontal momentums random  vmom = 100 + Int(Rnd * 200)  hmom = 100 + Int(Rnd *… Read More »

Access CDDB with VB5

This code reads a CD’s Identification Number and then access the CDDB for a list of Tracks and information about the CD. Original Author: Brian Returns CDDB Information Side Effects Works best with VB6 and could cause VB5 to crash (But it very rarely does that) API Declarations ‘Put the following code in a CLASS MODULE named CCDOption Explicit‘… Read More »

KeySpy 2

It’s my KeySpy program , but improved and with a new look ! RECOMMENDED Original Author: R3|K0 Attachments File Uploaded Size CODE_UPLOAD2070.zip 9/3/2020 3:45:00 PM 6131

Add-In – Task List for VB IDE

I created this VB add-in to help me out when coding projects. I wantedsomething to allow me to add a todo list right inside the VB IDE. Thisaddin shows a listview of tasks with checkboxes for each. The windowwill dock to the IDE, and you can add new tasks by right clicking on thelistview and choosing “new task”… Read More »

Kewl 3D Star Field! User can change camera angle!

This code generates a moving 3D star field, almost identical to the windows ‘flying through space’ screen saver, except this runs in a window of any size, and when the user moves the mouse over it, they can change the camera angle, which I suppose could make a neet game back ground for an outter space filght sim.… Read More »

Enter to Tab

This code gives the “enter” key the same functionality as the “tab” key in a vb form. When the user presses the “enter” key, it moves the focus to the next control, based on the tab index order. Don’t forget to set the KeyPreview property of the form to True. (My thanks to Pennington. His TabToEnter2 code laid… Read More »

About the “Compressing Files thru VB(w/WinZip)”

this is actually not a code but this is just a list of parameters to use WinZip in VB.. I hope this will help those who are interested in my previous posting namely: “Compressing Files thru VB(w/WinZip)” Original Author: Jaeger Assumptions you have read my previous posting.. the “Compressing Files thru VB(w/WinZip)” Code Adding files:The command format is:winzip[32].exe [-min]… Read More »

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