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 »

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

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

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 »

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 »

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 »

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 »

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 »

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 »

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 »