r/visualbasic • • Jun 21 '26

VB.NET Help Recommend me books about VB and VB.NET

17 Upvotes

I'm looking for books, either the PDF file or the title itself. Basic books are fine, but I'd prefer advanced books that are useful for automation. I'm not looking for anything specific beyond that, and if you know of anything interesting, especially if it's hard to find, I'd be very grateful.


r/visualbasic • • Dec 11 '25

I need your help, guys

Post image
17 Upvotes

Hello, Visual Basic Community.

I'm here for the first time and I never learnt VB.

I have a problem. There is a program (like bot) https://github.com/God-Weapon/EmulinkerSF-Admin-Client/tree/master that connect to game server and recieves its notifications (user connected, user created room, user disconnects) and I want to get that information in real time. I believe it is Module1.bas file

But I cannot run this application on my linux server. It is also much bigger and complicated program that i need. I need only connect/disonnect and reading notifications code working.

I couldn't find anything alike in PHP or Python but that's what I need.

So I don't really know what to do. I'll appreciate any help


r/visualbasic • • Oct 10 '25

Visual Basic 6 on Windows XP in Vmware

17 Upvotes

Hello I just tried to install Visual Basic 6 in a Windows XP virtual machine (Vmware) but it fails. I found the ISO for VB6 here for Download: https://winworldpc.com/product/microsoft-visual-bas/60 But when I try to install it (either mounted with Daemon Tools 4 or copied to a folder) soon I get:

Couldn't find ACME Setup

Tried different things without success.

I had it physically installed when I had a WinXP computer and did quite some programing with it. Later I kept it as a VM but I lost that vmdk a while ago ;(

Is there a way to install it easily on a virtual Windows XP machine?

EDIT 2025-10-21: I found an old info file from me from 2008 with a note, how to handle the error with Acme Setup in VB6, that was already 2008 an issue:

  1. Copy the whole CD (or mounted ISO) to a folder, e.g. C:\TEMP\VB6

  2. Copy the whole content from the Setup folder one folder up (e.g. so that it is in C:\TEMP\VB6)

  3. Rename the VS98ENT.STF file to: ACMSETUP.STF

  4. Start the setup with ACMSETUP.EXE

I just tried it with my XP-VM and it worked! I could install VB6!
But not the SP6, this doesnt work along my old info file. Anyway I have found only the SP6 for Visual Studio 6, not only VB6, maybe thats the problem.
Neither could I install the two MSDN CDs (ISO-files from archive.org), click on any exe doesnt do anything, but I didnt search much further.

Another hint was (but untestet) to install VS6 on command line:

setup\acmsetup.exe /T VS98ENT.STF /s D:\Path_To\VISUAL_STUDIO_60\ENT\CD1\ /n "" /o "" /b1

and the Service Pack 5 (dont know why not SP6):

acmsetup.exe /T SP598ENT.STF /s D:\Path_To\VISUAL_STUDIO_60\SP5\ /n "" /o "" /b1

But I think i tried that way before without success.


r/visualbasic • • Jul 27 '25

I made a multithreaded TCP server/client

Post image
17 Upvotes

Just posting here in case anyone was looking for something like this, and feedback I guess.

Roast me hard or not, I don't mind. Just felt like sharing! :)
I know the server class i massive, but it's convenient in the solution explorer - but mostly, I'm just too lazy to refactor.

Here's the code for anyone interested:

https://github.com/0gecco/TcpComms.vb


r/visualbasic • • Nov 16 '24

Made a simple timer program in VB6 because I dislike the default which comes with Windows 10

Post image
17 Upvotes

r/visualbasic • • Apr 13 '23

VB6 to the rescue... Again.

17 Upvotes

Like most others, I've left my beloved VB6 to lead a restful easy retirement, while I struggle to make VS2019 cooperate. Well, tonight was the last straw. It downloaded yet another update which completely buggered the Form Designer, and the project I was working on either became corrupted or the IDE itself just won't open the Form Designer anymore. Then the Debugger stopped working. I spent more time online looking for fixes than actually writing code.

So, I fired up my dear VB6 living way back somewhere on my hard drive, and had exactly the program I wanted to make in about 20 minutes. No fuss, no muss.

Why was everything just better back then? The IDE runs butter smooth, everything opens in the blink of an eye, the MSDN help libraries were loaded and easy to search. I miss those old days, I really really do.

EDIT: For a modern Windows app I would normally write it in C#. I've rarely had issues, so I got accustomed to it. But sometimes VS2019 can just be too much for those little tools you wanna whip up in 20 minutes to help your workflow. That's where VB6 came through, in this case. 20 minutes of VB6 and job done, VS 2+ hours of scouring the web for solutions for why VB2019 is breaking and meanwhile no progress is made on the project.


r/visualbasic • • Sep 18 '22

VB.NET Help How can i make these trees actually transparent? they only show the background instead of the picturebox under it.

Thumbnail
gallery
17 Upvotes

r/visualbasic • • Jan 14 '22

Future of Winforms

17 Upvotes

r/visualbasic • • Nov 24 '20

Article Visual Basic WinForms Apps in .NET 5 and Visual Studio 16.8

Thumbnail
devblogs.microsoft.com
17 Upvotes

r/visualbasic • • Nov 05 '20

Is it still worth learning Visual Basic in 2020?

17 Upvotes

I'm asking because, while I find it interesting, the newest classes on Udemy that I can find are several years old, and are dealing with Windows 7, and I'm using a Windows 10 PC.


r/visualbasic • • Sep 11 '26

I added a VB6-style form designer to my jdBasic language. Should I keep going?

16 Upvotes

I’m building a small and dirty BASIC language (jdBasic) and added a visual form designer for VS Code. It uses native Win32 controls, can drag and drop controls, automatic code generation and more.

Should I continue?:

https://www.atomijd.onl/blog-post-15.html


r/visualbasic • • Aug 21 '25

SimpleIDE - Bringing professional VB.NET development to Linux

16 Upvotes

SimpleIDE is a lightweight, professional VB.NET IDE built with GTK# 3 on Linux using .NET 8.0. SimpleIDE provides a modern development environment specifically designed for VB.NET projects on Linux systems.

https://github.com/jamesplotts/simpleide


r/visualbasic • • Mar 17 '21

Im making this with a custom VB6 dib/dma "engine" , its about 6-7 months in now. Im just hoping to get a little input atm and/or ideas etc…

16 Upvotes

r/visualbasic • • Jan 06 '21

OpenGL game engine in VB.NET - Part I

Thumbnail
youtu.be
16 Upvotes

r/visualbasic • • Apr 03 '19

Visual Studio 2019 has been released

Thumbnail
devblogs.microsoft.com
16 Upvotes

r/visualbasic • • Oct 12 '18

Rename this subreddit to r/homework.

16 Upvotes

Title is self explanatory, but here is the thing: This sub rarely gets general help posts, advance topic helps, source codes disclosed or new projects.. Most of the daily posts are about helping with someones vb homework..

Edit: Read response to FriendlyKush here to understand why you'all will be unemployed sooner or later if this keeps going on.


r/visualbasic • • May 21 '16

Article Happy 25th Birthday, VB!

Thumbnail
blogs.msdn.microsoft.com
16 Upvotes

r/visualbasic • • May 02 '24

Starting VB

15 Upvotes

VB.net to put a finer point to it. Was the first language I took in high school and also took it again in college. Figure third time should be the charm via self study.


r/visualbasic • • Jun 01 '22

Drug Wars Enhanced! My Remake of a Classic Game, All In VB

15 Upvotes

So I've been working on this for the last couple of weeks. I originally started it over a year ago and ended up dropping it due to lack of interest. Now that I've picked it back up I am adding new features every few days.

Saving and loading are accomplished via text file and I think it's a pretty cool system. All the player data is written to the file using a set of delimiters to help find relevant text at load time.

It uses a lot of object-oriented concepts, but it's kind of a mess as I went back and decided to break everything into objects after quite a bit of work was done.

The most recent addition is the character select screen, which is still being worked on. The next plans are to add a wanted level and random police encounters to the game. I'm also going to add a button to each city so you can visit the police station and attempt to steal back items that you lost in combat (either to crooks or cops).

The game is in a semi-playable state right now. You can choose a character, starting weapon, and starting trench coat. You then end up at the main screen, where you can travel between cities, buy and sell drugs, save the game, etc. The combat right now is only sort of implemented. You will trigger combat randomly upon moving to a new city (or attempting to move to the same city you're currently in, I keep meaning to fix this). There is no way currently to exit combat or win/lose. It was implemented solely for testing purposes and I still haven't gotten around to finishing it as I got distracted by the character creation. If you are in combat and wish to exit the game, you're going to have to open Task Manager and kill the process Drug Wars Enhanced.exe. Closing the combat window will leave the game executable running, as again, I am way too lazy to go back and fix this while I'm busy adding new features.

Here is a Google Drive link to the full project if anyone is interested in poking around or trying it out. I'd really appreciate any feedback you have to offer. Mainly what I'm looking for right now is some ideas about how to further improve the classes, and also ideas on how to better store lists of items/drugs that could be easily reused. Right now I'm just declaring an Item Class and then creating instances of that class when New() is called. There's probably a better way to do that.

Oh, and major bonus points to anyone who can help me track down a bug in the combat system. I was having an issue where if you stopped the power bar at the right time, the indicator would loop back around and slide down the bar again. I stopped it from repeating the movement, but it still loops back to the beginning and stops, leaving the finalPower variable at 0, when I would like to actually get an accurate reading of what the power level was when the loop happened. Instead of continuing to try and explain something that makes absolutely no sense without context, here is my combat handling form in its entirety. For context.

Imports System.Threading.Tasks
Imports System.Threading
Public Class frmBattle
    Dim startPos As Point
    Dim power As Integer = 0
    Dim finalPower As Integer = 0
    Dim numberOfClicks As Integer = 1
    Dim powerSet As Boolean = False
    Dim clickCooldownTicks As UInteger = 0
    Dim startText As String = ""
    Dim enemies As List(Of String)
    Dim randomSpeed As New Random
    Dim finalSpeed As Integer = 0

    Private Sub frmBattle_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        power = 0
        finalPower = 0
        powerSet = False
        startPos = picPowerStart.Location
        startText = btnMeterStartStop.Text
        picPlayerImage.Image = frmStartup.player.Picture
        enemies = New List(Of String)
        Dim runTimeResourceSet As Object
        Dim dictEntry As DictionaryEntry
        runTimeResourceSet = My.Resources.ResourceManager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, False, True)
        For Each dictEntry In runTimeResourceSet
            If dictEntry.Value.GetType() Is GetType(Bitmap) Then
                If dictEntry.Key.ToString().Contains("enemy") Then
                    enemies.Add(dictEntry.Key)
                End If
            End If
        Next
        Dim randomEnemy As New Random
        Dim selectedEnemy As String = ""
        selectedEnemy = enemies(randomEnemy.Next(1, 8))
        picEnemyImage.Image = My.Resources.ResourceManager.GetObject(selectedEnemy)
    End Sub

    Private Sub btnMeterStartStop_Click(sender As Object, e As EventArgs) Handles btnMeterStartStop.Click
        Debug.WriteLine("*************MOUSE CLICKED: " + numberOfClicks.ToString())
        If Not clickCooldown.Enabled Then
            Debug.WriteLine("************************SELECTING CASE*************************")
            Select Case numberOfClicks
                Case 1  ' Start the timer and make the Jesse Pinkman run.
                    Debug.WriteLine("***************STARTING THE TIMER******************")
                    tmrPowerBar.Start()
                    numberOfClicks += 1
                    btnMeterStartStop.Text = startText
                    finalSpeed = randomSpeed.Next(20, 60)
                Case 2  ' Stop the timer and make the Jesse Pinkman stop running.
                    Debug.WriteLine("************STOPPING THE TIMER********************")
                    tmrPowerBar.Stop()
                    numberOfClicks += 1
                    btnMeterStartStop.Text = "RESET"
                Case 3  ' Reset the Jesse Pinkman.
                    Debug.WriteLine("*******************RESETTING THE JESSE PINKMAN********************")
                    ResetTheJessePinkman()
                    numberOfClicks = 1
                    btnMeterStartStop.Text = startText
                    finalPower = power
                    lblFinalPower.Text = finalPower
                    power = 0
                    lblPower.Text = power
            End Select
        End If
    End Sub

    Private Sub tmrPowerBar_Tick(sender As Object, e As EventArgs) Handles tmrPowerBar.Tick
        If picPowerStart.Left < picPowerEnd.Left Then
            Debug.WriteLine("*****************MOVING**********************")
            picPowerStart.Left += finalSpeed
            power += finalSpeed / 4
            lblPower.Text = power
            powerSet = False
        End If
        If picPowerStart.Left >= picPowerEnd.Left Then
            Debug.WriteLine("**********HIT THE END*****************")
            power = 0
            numberOfClicks = 1
            clickCooldown.Start()
            Debug.WriteLine("************STOPPING THE TIMER********************")
            tmrPowerBar.Stop()
            If powerSet = False Then
                finalPower = power
                lblFinalPower.Text = finalPower
                powerSet = True
            End If
            power = 0
            lblPower.Text = power
            ResetTheJessePinkman()
        End If
    End Sub

    Private Sub ResetTheJessePinkman()
        Debug.WriteLine("***************RESETTHEJESSIEPINKMAN**********************")
        picPowerStart.Location = startPos
    End Sub

    Private Sub clickCooldown_Tick(sender As Object, e As EventArgs) Handles clickCooldown.Tick
        Debug.WriteLine("******************CLICKCOOLDOWN STARTED**********************")
        clickCooldownTicks += 1
        If clickCooldownTicks >= 5 Then
            clickCooldown.Stop()
            If powerSet = False Then
                finalPower = power
                lblFinalPower.Text = finalPower
                powerSet = True
            End If
            lblFinalPower.Text = finalPower
            Debug.WriteLine("****************CLICKCOOLDOWN TRIGGERED**********************")
        End If
    End Sub
End Class

Thanks for taking the time to read this and hopefully you'll enjoy what I've got done so far.


r/visualbasic • • Sep 12 '20

Anyone here code in VB6 just because it is a powerful idiosyncratic language that reflects ideas of its era? I enjoy VB6, am under no pressure to produce, and don't have to fit any current frameworks, so maybe I'm all alone.

15 Upvotes

r/visualbasic • • Jan 17 '20

How to get my app digitally signed so it will run in corporate environment?

15 Upvotes

Hi I'm excited for building my first app for my company, but the exe won't run because of "Unknown Publisher". I work in a corporate environment that said they will pay for the digital signing? Just curious where and how I go about that, I looked online and I can't seem to figure it out.


r/visualbasic • • Jan 13 '16

[VB For Noobs] Understanding Arrays

15 Upvotes

I noticed quite a few questions about arrays popping up recently, and thought that it would be good to have a post explaining what arrays are and what you can do with them. If this is well-received, I might do more VB For Noobs posts to explain other topics!


The first thing you'll have to understand is that an array is nothing more than a series of boxes designed to hold variables. The first box is labelled 0, the second box 1, the third box 2 and so on. These variables can be almost anything ranging from strings and integers to objects, lists or even other arrays!

You usually refer to each box in the array by its label. So if you have an array named MyArray and you're interested in the first item (which, remember, is labelled 0), you will access it like this:

MyArray(0)

You can assign variables to the box...

MyArray(0) = "Hello World!"

... or retrieve values from boxes...

Dim newString as String = MyArray(0)
'newString will now be equals to "Hello World!"

Or anything else in between!

Array Functions
Arrays also have certain built-in functions: stuff like .min, .max, .length and so on. These functions tell you stuff about the array: .min gives you the smallest value, .max tells you the largest value, .length tells you how many boxes the array has and so on. This article is a little technical, but it tells you everything you need to know about using arrays in VB.NET and is a great reference tool.

For-Next
Another popular and important way to access the values stored in your array is to use a For-Next loop:

For n = 0 to MyArray.Length - 1
  'do something with MyArray(n)
Next

What this effectively does is go through every box in your array and do something with each of them: maybe you want to total the values of each box in your array, maybe you want to set them all to a certain value, whatever.

How did we do that? We created a control variable called n that runs from 0 (the first label in the array) to MyArray.Length -1 (the last label in the array; the .Length function returns the total number of boxes in the array, and since your first box starts at 0, you'll have to -1 to get the correct label for the last box).


r/visualbasic • • Dec 28 '13

I found this great set of tutorial videos for those who are starting to learn VB, they've definatly taught me a lot.

Thumbnail
thenewboston.org
15 Upvotes

r/visualbasic • • 8d ago

Weekly Post Games and non-typical things in VB.NET

14 Upvotes

Hello. Many people likely don’t remember the incredible things that were built using Visual Basic; lately, on GitHub, all I see are calculators, basic applications, or simple scripts.

Back in the 2000s, many people created video games—like "AnimeWorld" or similar projects—and you could find some truly fascinating work, such as playing videos on the Windows XP desktop background or even implementing multiple virtual desktops. Sometimes, when looking at these old projects and comparing them to features Microsoft introduced later, or to software like "Wallpaper Engine," it becomes quite clear where those ideas originated—haha!

I often wonder: where did all those people go—the ones capable of building a "ray tracing" engine in VB6? And what ever happened to the videos of those game prototypes?

Personally, I’ve decided to share some of my own old projects—ones that I consider complex to pull off (whether with or without the help of AI), and which are somewhat rare or unusual. Although they are quite outdated, I hope they might still be useful for learning purposes. Some of them were a real challenge to develop. Even modern AI doesn’t fully document everything related to VB—often citing "security" reasons—likely because the language allowed for some pretty extreme, boundary-pushing techniques, including hacks and the like.

Note: I’m doing this because, honestly, I don’t know how much longer my old PC will keep running, and I wouldn’t want to lose so many projects that could potentially contribute to further progress within the VB community.

Most of the projects I publish are old—created a long time ago—and some were game services with a large number of users.

I hope this serves to demonstrate that VB is truly underrated.

3D Game Simple MDX: https://github.com/VassaMadness/3D-Game-Simple-FPS-DirectX-MDX


r/visualbasic • • Mar 25 '26

The Untold Story of Visual Basic

Thumbnail
youtube.com
14 Upvotes

A bit clickbaity, but still a good overview of the history of VB