• /r/visualbasic
  • Help with Speed Calculator (Trigger warning ugly code ahead)

    So what did I do wrong? Public Class Speed Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click ‘declerations Dim distance As Integer Dim time As Integer Dim output As String = “” Dim speed As Integer ‘get user input distance = Convert.ToInt64(txtDistance) time = Convert.ToInt64(txtTime) ‘calculation speed = distance / time ‘output txtSpeed.Text […]

  • /r/visualbasic
  • [VB.NET 2013] Parsing Text File

    I’m just trying to read information from a textfile and store it in values to be used later.. Here’s an example of my text document. <UserID=frankcastle, Char=Punisher> I’d like to store ‘frankcastle’ (following UserID= and preceding ,) and ‘Punisher’ (following Char= and preceding>) Thank you! submitted by /u/batchxd [link] [comments]

  • /r/visualbasic
  • Project confusion

    Can some one help me figure what this instructor wants? Response By Email (Jonathan B.) (06/06/2017 09:57 AM) Dear James, Thank you for your email. 13a is asking to you to create a GroceryItem using the information that is entered by the user. You will have to get the information from the textboxes that the […]

  • /r/visualbasic
  • a math equation to code

    hi everyone, i want to write a code which find abc numbers between 100 and 999 has equation abc = a³ + b³ + c³ in Visual Basic. you can see my trying here https://ibb.co/go1Z0v p.s. : Yea, i need to learn this for an exam until tomorrow:/ submitted by /u/callfromistanbul [link] [comments]

  • /r/visualbasic
  • [VBSCRIPT] Any way to get your script to detect a mouse Left-Click (Anywhere on the screen) and then continue the rest of the script upon detection?

    Trying to keep it as simple as possible. Just need a script to open the browser to a website, wait for a click, and then close afterwards. Thank you. Set WshShell = WScript.CreateObject(“WScript.Shell”) do WshShell.Run “chrome http://www.examplewebsite.com –incognito” ‘ Here I want the script to wait until it detects a left mouse click ‘ Then […]

  • /r/visualbasic
  • Text Box not displaying text

    I’m back again… This time I’m trying to display the answer of a maths equation in a text box named ‘Answer’ but nothing in displaying. Form 3: Public Class Form3 ‘Button will take you to the next form Private Sub Calc_Click(sender As Object, e As EventArgs) Handles Calc.Click Form4.Show() Hide() End Sub ‘button will take […]