Here is an example using the textbox:
[IMG]http://i1213.photobucke*****m/albums/cc463/mpghtakari/1-3.jpg[/IMG]
Code:
textbox1.text = "TextboxCommand.Lesson2"
Using a ColorDialog is useful when you want the user to change the color automatically.You need a button and a colordialog control.Here is an example of using the ColorDialog Command:
[IMG]http://i1213.photobucke*****m/albums/cc463/mpghtakari/2-3.jpg[/IMG]
Code:
Dim color1 As New ColorDialog
Dim color2 As New Color
ColorDialog1.ShowDialog()
ColorDialog1.GetHashCode()
color2 = ColorDialog1.Color
Me.BackColor = color2
If you want me to get your in more deep detail of the code tell me.
Posts 1–4 of 4 · Page 1 of 1
Post a Reply
Tags for this Thread
None
Nice tut
Good For Beginner
BTW
@Takari1 why are you banned??
Yes,I'm trying to keep them simple and understanding.I'm not explaining the codes in deep,so you can notice what the code does by your self.
I'm just showing some basic stuff you might see in VB.
@royku
Asking or trading Thanks/Mentions/Reputation (3 Day Ban)*
wow it help me a lot to understand visual basic 2008 express edition