loading
Hi,
This is my tutorial on how to make a program that I *invented* on Microsoft Visual Basic 2010.
You need to download the four files below, the cheese, the eaten cheese, the .ico file and the mp3.
Put them all where you will be able to find them.

Step 1: Preparing

Create a new Windows Forms Application and call it CheeseEater.
Change the form size to 310, 314
Change the icon to the cheese.ico file.
Change the text to Cheese Eater 2000

Step 2: The Base

Select PictureBox from the toolbox. In properties go to Dock, then press the big middle one or fill. Then select image then find the cheese0 file. It should now look like the picture below:

Step 3: Code

Copy this code and paste it in the solution which can be found by right-clicking on Form1.vb and selecting Show code.

Public Class Form1

Private Sub cheese_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click

PictureBox1.Load("[Where the file cheese1 is located]")

My.Computer.Audio.Play("[File where nom.wav is located]", _
AudioPlayMode.Background)
End Sub
End Class

Your code should now look like this:

Step 4: Enjoy!

OK, this was kinda pointless, but I'm new to VB.
If you need any help, just comment in the comment section or send me a message.
NM
Hahaha eating cheeze. This is great!
how do you make a new program
On the start page, click file, new.
where
top left corner
its not in the top left corner
...

About This Instructable

1,906views

4favorites

License:

Bio: I am not your average teenager. I like a lot of stuff, and will be posting some more stuff soon. I spend a lot of ... More »
More by NatNoBrains:How to Draw an Awesome Cartoon Hoodie How to Make a Cheese Eating Program on Visual Basic How to multiply decimals 
Add instructable to: