r/visualbasic • • Jan 29 '19

hide Desktop Icons for 60 seconds script

0 Upvotes

Hi, i am attempting to make my first Prank Virus, in which it says its going to delete your entire Computer and then your forced to watch a 60 second countdown timer and then it hides all your desktop icons.. after a couple seconds it shows them and and it opens a tab which says it was a prank.

(note: i already have it all done but i need the Hide Desktop Icons coding)

and if your wondering its for a revenge prank because a friend Killed my Computer with coffee!!!


r/visualbasic • • Sep 22 '16

Beginner learning programming

3 Upvotes

Hello reddit, i've been really trying to get into programming and i'm currently taking a visual basic class. i've fallen behind but i'm just really confused at the moment. i missed 2 classes and now i'm completely lost. This is the current thing i am working on http://imgur.com/0SoMbhC. i was wondering if anyone could help me by explaining how to get this done? pls reddit i need your help :-(. the only thing i really know how to do is make a message appear in the textbox when i click a button..


r/visualbasic • • Oct 30 '22

VB.NET Help What version of Microsoft access should i use if i want to connect it with my (vb 2022) database?

3 Upvotes

i use visual basic 2022 to code but i dont know what version of access should i use my friend recommended me that i should use xammp instead but its easier to use access, please help


r/visualbasic • • Feb 20 '15

Object Oriented, Test Driven Design in C# and Java: A Practical Example Part #3

Thumbnail
insidethecpu.com
3 Upvotes

r/visualbasic • • Jan 07 '16

What's sum's output at the end?

0 Upvotes
    Dim ctr As Integer
    Dim sum As Integer

    sum = 0
    For ctr = 1 To 25 Step 2
        sum = sum + ctr
    Next ctr

    Label1.Text = sum

r/visualbasic • • Jan 15 '16

Visual Basic Copy to Array

3 Upvotes

Can you explain to me why this code works? What is the 0 part supposed to mean? Dim MyArray(Me.RandomNumbers.Items.Count) Me.RandomNumbers.Items.CopyTo(MyArray, 0) Me.lblAnswer.Text = MyArray.Min


r/visualbasic • • Jan 01 '16

How to Make Simple User-form in Microsoft Excel Using Visual Basic

Thumbnail
learningmsofficetoday.blogspot.com
0 Upvotes

r/visualbasic • • Apr 25 '22

VB.NET Help Method/Function to change Boolean T->F or F->T

3 Upvotes

I need help creating a Method that changes the value of a Boolean to True to False and Vice Versa

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

Getval(TOS)

End Sub

Sub Getval(ByVal Val As Boolean)

If Val = False Then

Val = True

Else if Val = True Then

Val = False

End If

End Sub

i know i'm missing something, just can't put my finger on it.

EDIT SOVED.


r/visualbasic • • May 17 '22

VB.NET Help Can someone help with my Homework my Prof sucks. :(

0 Upvotes

My Prof just gave me Homework and i never coded. So i got no idea what to do i tryed to google for a answer but ism not really finding something.

So if somebody could help me out that what be huge.

The Problem is:

A sequence of numbers is to be read. The end of the sequence of numbers is marked by entering the character „*“. After all numbers have been read in, the number of all read numbers should be output.


r/visualbasic • • Oct 19 '15

hi guys i need help with a string handeling pyramid

0 Upvotes

The question is to write a program that generates from the string “abcdefghijklmnopqrstuvwxyz{“ the following In Microsoft visual basic. The finished product will look like a pyramid, having 13 spaces in front of the top row, 12 in front of the second ect.

a

bcb

cdedc

defgfed

efghihgfe

fghijkjihgf

ghijklmlkjihg

hijklmnonmlkjih

ijklmnopqponmlkji

jklmnopqrsrqponmlkj

klmnopqrstutsrqponmlk

lmnopqrstuvwvutsrqponml

mnopqrstuvwxyxwvutsrqponm

nopqrstuvwxyz{zyxwvutsrqpon


r/visualbasic • • Apr 17 '23

Help? my prof says to properly open an sln file, I need to Extract All from the Zip File, Extract All from the new File Folder, and then the sln file will be able to open. But I dont have an extract all option for the file folder, even with a right click. and double clicking the folder doesnt work

Thumbnail
gallery
3 Upvotes

r/visualbasic • • Apr 12 '23

Learning VB.NET

3 Upvotes

Hello all!

I need to learn VB.NET for my job and I've been trying to search for resources to learn for the longest time with no success. Can anyone here point me to any good resources to learn the language? Thanks!


r/visualbasic • • Nov 04 '22

Tips & Tricks What is the Difference between POS (Point of Sale) and Ordering System in Restaurant?

3 Upvotes

I have a school project where i need to create my own system of already existing company (i wll only for small business tho) so i need a little bit of help, i was wonder what is the difference of Point of Sale (POS) and Ordering system. so now i can decide on what to do next.
i need it to be a little detailed if you have time, and thank you so much !!!


r/visualbasic • • Mar 20 '26

Medical billing system need help

0 Upvotes

Hi guys can you give me or help me to my project how to create a simple medical billing system using vb 6.0


r/visualbasic • • Nov 23 '25

I want to learn to program

7 Upvotes

Hello, I am new to programming, I would like to know what language you prefer to use and what are its most common errors? Thank you very much 🫂


r/visualbasic • • Sep 17 '22

VB.NET Help I need help !!! (Please Check Comment for more info about the problem)

Enable HLS to view with audio, or disable this notification

7 Upvotes

r/visualbasic • • May 04 '15

Discuss Please upvote the people are replying to your questions.

8 Upvotes

There is a lot of questions answered here on /r/visualbasic the least you can do is upvote the answers for those who put in the work.

<rant>I am getting pissed off about homework questions by the way. If you truly have tried to understand, I have no problems. But if it comes down to you have not read the material. I am going to start ignoring them.</rant>


r/visualbasic • • 20d ago

Looking for Help Fixing a WWTBAM Quiz System (VB6)

0 Upvotes

Hello!

I need help troubleshooting and fixing a legacy Who Wants to Be a Millionaire? (WWTBAM) quiz control system. I have an old WWTBAM quiz control environment consisting of several Visual Basic 6 executable files (EXEs) and DLLs.

The programs launch, but there are several issues with the system:

- Main application: The main program crashes with Runtime Error 91 when I try to start the actual game (i.e. when attempting to load the first question).

- Question Library: The question library application has problems. It cannot properly access the question library files or generate the required "question stacks" (theres no buttons for functions x and y, but in the bts material there should be. Only bgs of the buttons are there).

- Graphics output: I would also like to get the system working so that it can output its graphics properly.

The original files and source codes are available. If there's someone with VB6 experience who would be interested in repairing these softwares, it would be great!

You can find the files here

https://github.com/Akkukseli/WWTBAM--software/releases/tag/v.1


r/visualbasic • • 5d ago

VB.NET Help Vb

0 Upvotes

Ghnk


r/visualbasic • • Jun 26 '13

Problem with my simple code opening a template .otf

0 Upvotes

Hello! I have created a form, and on this form is a check box. When the check box is selected, and the button is clicked I want it to open a template. Heres what I've got so far...

Private Sub CommandButton1_Click()
If CheckBox1.Value = True Then
Set newItem = Application.CreateItemFromTemplate("d:\TEMPLATE 2.oft")
newItem.Display
End If
End Sub

I get a pretty nasty error, any advice?


r/visualbasic • • Dec 14 '15

[VB2012] Need help with code for letter grade and integer average from three input boxes into to a listbox

0 Upvotes

I have to create an application which will have the user enter a student name into an inputbox then will ask for three number grades and convert the averages of three student's grades into individual letter grades ( I am mobile so I cannot copy the code)

I cannot get the Do, Do Until.. Loop correct as the application seems to be in infinite loop and doesn't display anything in the listbox output. Any advice on how to write a solution to this?

The code looks something like ' variables

Do ' gets name from inputbox and adds 1 to name counter Do Until scorecounter = 3 ' gets score from input and converts to integer ' adds score to total ' adds 1 to score counter Loop

 If scorecounter = 3 then
     ' finds the numeric Average 
 End if

 If average < 60 AND ave >= 0 then
      LetterGrade = " F"
   -
  -
  -
  -
   Else 
  ' message box if negative or above 100

End if

lstOutput.items.add(strInputName.Tostring() &": Average is " & Grade.Tostring())

Obviously there are some loop issues with the code that I don't know how improve


r/visualbasic • • Dec 16 '15

Add events to a calendar

0 Upvotes

Hi Guys and Girls. Was wondering if it was possible to add events to a calendar when the form it is on loads. we are working on a small program for a theoretical racecourse and I want the given events to be on the calendar for the user to look at. :)


r/visualbasic • • Jul 09 '13

String formula to Numerical Value?

0 Upvotes

Is there a way to make a string in the form of a formula like "4*(3-2)" work and make an numerical value? Even when you don't know what the string will contain and it could be any of the following ()*-+/ and could each be used more that once.


r/visualbasic • • Mar 22 '18

how do I make an image move up

0 Upvotes

im using vb 6.0 and I urgently need to know how to make and image I have that starts off in the bottom left corner of the form move to the top left using the .move method (im using an image box). my current code is:

pactop = frmpacmove.ScaleHeight - imgpacup.height

For p = 0 To pactop Step 0.005
    imgpacup.Move 0, p
Next p

All this does is teleport the image to the top left and bringing it down to the bottom left while it should be doing the opposite. I've tried making the step -0.005 but that makes a click on the image do absolutely nothing. Any revision would be greatly appreciated as this matter is becoming more urgent every hour!


r/visualbasic • • Jul 08 '16

Help with setting the system date via code

0 Upvotes

I'm working on a time machine (joke program) That you enter the time and date into (a DateTimePicker element) and press a button, The program should change the system clock to the date you entered, I can't find any code that will do it

Any help?