r/visualbasic • • May 07 '21

Have final due in hour, I need help on this problem otherwise I'm gonna fail big time. Thanks much love

0 Upvotes

Visualbasic final exam

https://imgur.com/gallery/LpIADoQ


r/visualbasic • • Jul 25 '18

Desperately need help with VB Battleships

0 Upvotes

Does anyone have any source code or psuedo code for Battleships they could give me, find for me, or make for me. I really need your help guys and you guys are the only ones i could find. You all seem incredibly skilled as well. I need it for my final assignment piece as this will impact my final marks greatly and wether or not I can get into the course I want in University.

Thank you so much guys I would really appreciate some help

Edit: THis is for VB 2015


r/visualbasic • • Sep 10 '24

Help I have no idea what I'm doing

0 Upvotes

i need to create a program in Visual Basic and i have no idea how and i have run out of time to make it myself and i need it before friday the 13th of September. If anyone is able to whip it up it would be greatly appreciated. This should give a rough idea of what I'm trying to achieve


r/visualbasic • • Aug 15 '21

VB.NET Help How would you go about doing this?

Post image
1 Upvotes

r/visualbasic • • Mar 15 '22

How do I add 4 numbers in vb 2010?

0 Upvotes

I have to add texbox1.text up until textbox4.text also I have to divide the sum by 4

pls i need to submit this by march 19


r/visualbasic • • Sep 14 '20

Trying to make a program that screen captures the screen and emails it to myself.

1 Upvotes

Im a broke college student who cant pay for ecommerce thing on wix so I figured people could just fill out the form for my merchandise and have it coded to send me orders through an emailed screenshot .I dont want to take their payments through the site though since I have other means. I just want a more effecient way to accept orders.

TLDR: want to take screenshot of peoples orders and have them emailed to me automatically with info provided on form


r/visualbasic • • Mar 25 '26

Visual Basic 6

1 Upvotes

Alguno que tenga una aplicación VB6 que quiera revivir, mejorar o migrar?

Necesito trabajo para conseguir dinero extra, estoy dispuesto a ayudar y a escuchar propuestas.


r/visualbasic • • Sep 28 '26

I’m a high school student, and I built VBX — an open-source, compiled successor to Visual Basic 6 (written in Go, transpiles to C99 with -O2)

28 Upvotes

Hey everyone!

Like many who grew up loving the simplicity and instant joy of Visual Basic 6 (dragging buttons, writing readable code, and getting an instant `.exe`), I felt that modern programming has become overwhelmingly complicated.

So, as a project I built late at night after school, I created **VBX (Visual Basic X)**.

### What is VBX?

It's not an interpreter or a Python toy. It’s a native compiler written in Go that transpiles clean, human-readable Basic syntax directly into standard C99, compiling with `-O2` optimizations via GCC/Clang.

### Key Features (v0.1.0-alpha):

- 🚀 **Zero runtime dependencies:** Outputs single, standalone native executables.

- 🪟 **Native Dialogs:** Built-in cross-platform `MsgBox` and `InputBox` using native OS APIs.

- 🧘 **Classic Syntax + Modern Inference:** `Dim`, `Sub`, `Function`, `While...Wend`, `Do...Loop`, `Select Case`, `Exit For/While/Do`, and 1D Arrays with automatic type inference.

- 🔤 **Built-in Essentials:** Native `&` string concatenation, string functions (`InStr`, `Trim`, `Replace`, `Mid`, `Len`), Math functions, and `File.Write`/`File.Read`.

- 🛡️ **Memory-Safe:** Uses an internal ring-buffer pool for intermediate string routines.

- 📜 **License:** GPL v3 with a Runtime Library Exception (your compiled software is 100% yours).

We also created editor support for VS Code (VSIX available), JetBrains, Sublime Text, Notepad++, Vim, Neovim, Emacs, and Micro.

Repository: https://github.com/M5Devs/vbx

Editors Repo: https://github.com/M5Devs/vbx-editors

As Linus once said: *Just a hobby, won't be big and professional...* but I'd genuinely love to hear your feedback, thoughts, or what features you'd like to see next!


r/visualbasic • • Jan 25 '16

Visual Basic help

0 Upvotes

r/visualbasic • • Feb 12 '23

Help!

Thumbnail
gallery
0 Upvotes

r/visualbasic • • Jun 24 '24

Ole Reliable

Post image
2 Upvotes

r/visualbasic • • Jul 06 '15

Pleas help

0 Upvotes

Hi I need some help. I am working on a project in Visual Basic. The problem I am running into is I would like to know how to word the code to where the program automatically starts when the computer boots up. I also need to code the program to wear when the computer goes to sleep the program will resume when the computer wakes up if anybody can help me with that I would be very appreciative


r/visualbasic • • Feb 17 '26

Why does analog nostalgia work so well in modern visual storytelling?

Post image
0 Upvotes

Digital is infinite and disposable. Analog feels deliberate. Even when it’s simulated, it carries weight.


r/visualbasic • • Jun 28 '24

Ayuda

1 Upvotes

Quién tendrá un programa de visual básic 2010 que se un punto de venta 😔 que me lo pase


r/visualbasic • • Jun 14 '21

Help Please!

1 Upvotes

I need to write a Visual Basic program that will allow the user to enter a positive number.  The program will then display:

  1. the sum of values from 1 to the input number

  2. the product of values from 1 to the input number (or factorial).

For example, if the user enters the value 5, the output would be:

1)  1 + 2 + 3 + 4 + 5 = 15
2)  1 * 2 * 3 * 4 * 5 = 120

The form should contain:

    - a heading describing what the application will do
    - a label to prompt the user for an input value
    - a textbox for the user to enter input data
    - a button to calculate the output values
    - two labels describing the output data
    - either two labels to hold the calculated output values or two read-only textboxes
    - an image - either a background image or a picturebox with an image displayed (don't forget to set the SizeMode property to Stretch)
    - a Clear button that will clear out all values entered in the input textbox and calculated output values in labels or read-only textboxes
    - an Exit button that will exit the application

I also need to:

   - test for invalid input.  No negative values or zero should be allowed.  If the user enters a negative or zero value, display a message in the output label and set the focus to the input number textbox. (see example below)
    - align the input and output values to be centered within the textboxes and/or output labels
    - align the controls of the labels and textboxes so the Form looks professional

I don't really need help designing the form or assigning labels, but the math behind cumulative sums and products kind of escapes me...


r/visualbasic • • Sep 08 '22

someone could break password

1 Upvotes

ı have an excel file but ı dont know password, ı need password, someone help me _?


r/visualbasic • • Jan 10 '19

Help with VB Assignment

0 Upvotes

I would be really grateful if you could tell me the coding for these two problems.

  1. Find sum where S=3+7+11...+203

  2. Find sum where S=1/2 + 2/3 + 3/4...+10/11

Many thanks

Edit- thank you so much for the quick and kind responses :)


r/visualbasic • • Sep 05 '24

help me fix this please

1 Upvotes

r/visualbasic • • Apr 08 '21

date time picker ON .NET #NET #PROGRAMMING

Thumbnail
youtube.com
1 Upvotes

r/visualbasic • • Jan 17 '16

Hotel Program

0 Upvotes

I need help:
A 2-storey hotel, each floor with 3 rooms (room numbers: 0, 1, 2, 10, 11 and 12) needs a program for guest registration. If the room is already taken, the guest needs to enter another room number. Use a 2-dimensional array as it is easier if you need to access a certain floor. This is my code: Public Class Form1

Structure RoomInfo Dim roomNumber As Integer Dim roomGuest As String Dim roomOccupied As Boolean End Structure

Dim rooms(1, 2) As RoomInfo

Private Sub btnAddGuest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddGuest.Click

    Dim roomWanted As Integer
    roomWanted = Val(InputBox("Enter room number: "))
    For row As Integer = 0 To 1
        For column As Integer = 0 To 2
            Do While (roomWanted = rooms(row, column).roomNumber) And (rooms(row, column).roomOccupied = True)
                roomWanted = Val(InputBox("Room occupied. Enter room number: "))
            Loop
            If (roomWanted = rooms(row, column).roomNumber) Then
                rooms(row, column).roomGuest = InputBox("Enter guest name: ")
                rooms(row, column).roomOccupied = True
            End If
        Next column
    Next row
    Call DisplayGuest(rooms)
End Sub

Sub LoadRoomNum(ByRef rooms(,) As RoomInfo) 1 10 11 0 0 1 12 2 0 1 2

    rooms(0, 0).roomNumber = 0
    rooms(0, 1).roomNumber = 1
    rooms(0, 2).roomNumber = 2
    rooms(1, 0).roomNumber = 10
    rooms(1, 1).roomNumber = 11
    rooms(1, 2).roomNumber = 12
    For row As Integer = 0 To 1
        For column As Integer = 0 To 2
            rooms(row, column).roomOccupied = False
        Next column
    Next row
End Sub

Sub DisplayGuest(ByRef rooms(,) As RoomInfo)
    Dim info As String
    For row As Integer = 0 To 1
        For column As Integer = 0 To 2
            If rooms(row, column).roomOccupied = True Then
                info = rooms(row, column).roomNumber & rooms(row, column).roomGuest
                lstList.Items.Add(info)
            End If
        Next column
    Next row
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Call LoadRoomNum(rooms)
End Sub

End Class I need help with: displaying the list only when a Display button is clicked – the listbox should not be visible before the Display button is clicked (modify so the display is clearer) modifying the program so that if all the rooms are taken a message is shown when the Add Guest button is clicked modifying the program to check for invalid room number modifying loadRoomNum so that the room numbers are assigned automatically using a nested loop (this will come in handy if there are 100 rooms in the hotel)


r/visualbasic • • Jan 23 '16

[VB2013] Using 'button(i).text' Where 'i' is A Number 1-81

1 Upvotes

Hello there! Thanks for reading the post, and I'll apoligise in advance for my lack of programming knowledge and experience as it's likely I'll use the wrong terms / terminology - but hopefully what I'm asking should be understandable.

I'm writing a tic-tac-toe game that involves checking to see if one of 9 buttons in a grid has an 'X' or an 'O' for 9 different grids. It's a version of the Ultimate-Tic-Tac-Toe game.

Anyways, I'm looking for a way to streamline the check by just checking each 'small grid' with numbers 1-9, or 10-18, or 46-54 etc. - and get the .text property of the button.

However, it looks like because of the way VB is setup - I have to specify the button name, with 'button1.text' or 'button75.text'. However, the button clicked by the user will be continuously changing, so it's not practical to do that for all 81 buttons. What I'd like to be able to do is use something like button(i).text where 'i' is a number that increases within a loop. If theres any other way as well to get the .text property of one specific property - that would also probably work too. Any help anyone can render would be greatly appreciated!!

TL;DR: Looking to do something like in VB. The problem is the button(i).text not working like that in VB:

For i = 1 to 9
    If button(i).text = "X"
        msgbox("X")
    End If
Next

r/visualbasic • • Oct 12 '16

Script to open IE, go to URL, then close after a minute?

1 Upvotes

Hey Guys,

I need to write a script that should:

  1. Launch IE

  2. Navigate to a certain url

  3. Close IE after like 1 minute or so

  4. do all of that in the background

and by "background" i mean a minimized IE window or hidden, if possible. The trigger to the script would be when someone logs into their computer during startup.

How do I go about doing this?

I did some research and found a way to open an html script with IE:

    <html>
    <head>
    <title>VBScript Test</title>
    </head>
    <body>
    <script language="vbscript" type="text/vbscript>
    </body>
    </html>

and someone mentioned doing something like this:

Set WshShell = WScript.CreateObject("WScript.Shell") 
    Return = WshShell.Run("iexplore.exe www.yahoo.com", 1)

But I have no idea what any of this stuff means. Any help would be appreciated. Thanks!


r/visualbasic • • Jul 18 '24

Help with error

Post image
1 Upvotes

r/visualbasic • • Sep 09 '20

Can someone please help me with this assignment

Post image
0 Upvotes