Category Archives: Visual Basic 6 (VB6)

The differences between Get, Set and Let

One question a VB programmer is asked a lot about, especially in a job interview, is the differences between let, set, and get.  Now some of the advanced programmers out there might laugh, but you”d be surprised at how many beginning developers trip up on this.  I”ve asked the question of interviewees myself.  So, in hopes of helping out budding programmers,… Read More »

Convert long address to IP address

Converts a long address (2220112843) to it’s IP address (203.59.84.132) Original Author: Wayne D Returns Example:Result = IPToString(2220112843#) API Declarations Code Function IPToString(Value As Double) As String  Dim l As MyLong  Dim i As MyIP  l.Value = DoubleToLong(Value)  LSet i = l  IPToString = i.A & “.” & i.B & “.” & i.C & “.” & i.DEnd FunctionFunction DoubleToLong(Value As Double) As Long  If Value… Read More »

Multiple Clickable Bitmaps on a drop menu in a for

Very short code! Newly updated and it WORKS! Display bitmaps instead of text on a drop menu, in a form. Use the VB Menu Editor to create a menu with sub menus, the code does the rest!! So easy you will slap yourself for using other people’s lengthy drawn-out codes. Original Author: Patrick K. Bigley Assumptions Create a form… Read More »

A 3D Demo

This is a simple demonstration on 3D programing using line based graphics. This program allows the user to manipulate an object in a 3D enviroment. The functions include rotation, scaling, translating, and zoom control. Original Author: Drew Stickney Attachments File Uploaded Size CODE_UPLOAD996.zip 9/3/2020 3:45:00 PM 85961

rsform.bas

This .bas module allows you to re-size your form and all the controls re-size with it. I kept looking for code out on the internet that would do this right but I was never successful. So, I wrote this to eliminate the need for any ocx’s or dll’s. It resizes the SStab control which I found was a… Read More »

Draw a moving starfield on a form

It draws a moving starfield on a form with simple VB graphics methods and a timer control. Original Author: Theo Kandiliotis API Declarations Code How to draw a moving starfieldThis example shows how to design a moving star field ,the standard animated background used in most space shoot’em up games.You know,the one that asteroids of all kinds of sizes… Read More »

Tank 1999!!!

THIS is code you’ve got to see. I won the Code-Of-The-Month award for a game I submitted in August, the previous version of this. Several comments pressured me to develop it more. This is new and improved, new graphics + sounds, features, and more!!! I would have submitted this code about three months ago, but the sound files… Read More »

AutoUpdate function to your Apps

Make your own autoUpdate to your program. This include the source code. It’s just an example of how to do it. Original Author: Ronnie Staxborn Assumptions Help are inkluded in the file Attachments File Uploaded Size CODE_UPLOAD78117152000.zip 9/3/2020 3:45:00 PM 41845