MugNuf Tutorials

Posts 1–9 of 9 · Page 1 of 1
MugNuf Tutorials
I haven't seen a lot of threads with tutorials recently, so I'm going to make a thread of mine, and add tutorials as i see fit.

Feel free to PM me an idea :P.

Tutorial 1

Difficulty: 1
What you need: Visual Basic 2008
1 Textbox
1 label
1 button


In this tutorial, we are going to create a little program to say "You click a button!"

Lets begin.

Start a new project, and select a windows form application. Name it whatever you want. Add a button, label and a textbox.



Place the button at the top. Label below it, and textbox below the label.

Now, make the textbox read only, in the properties.



Double click the button, and add this code.

Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        TextBox1.Text = "You click a button!" 'Changes the textbox's text
        Label1.Text = "You click a button!" 'Changes the label's text
        MsgBox("You click a button!") 'Makes a messagebox pop up
    End Sub
After that debug it, and click the button!

It should change the textboxes text, labels, and pops up a message box.


(Will add more later, its late so tomorrow probably.)
i do not think all those screenies are necessary. just tell them wat to do, and the basic commands that can be used with the tools from the toolbox
I disagree. VERY beginner-friendly. Justin is right only if you are aiming this at slightly experienced developers. Good Luck!
i think MOST vb coders coming here to help at least KNOW how to make a form or create a project
Is it a big deal? Its pictures -.-.
itll make this thread REALLY hard to read tbh
You have a a point there, especially since it will take much longer to load the page with every new picture.
I've found a solution, so stop bitching.

I'll make one small image of the windows application, and add it to the top... happy?
take it easy mugnuf he shared his opinion
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us