It is very easy to change background color and foreground color at run time, just use the code below:
Private Sub Form_Load()
Form1.Show
Form1.BackColor = vbRed
Form1.ForeColor = vbBlue
Form1.Print "Foreground"
End Sub
This is a blog that discusses anything related to Visual Basic and provides updates for VISUAL BASIC TUTORIAL website. Your comments and suggestions are welcome here. Thank you.
Saturday, August 23, 2008
Thursday, August 7, 2008
Lesson on Radio Buttons
You have already learned how to use the check boxes in VB2008 tutorial, lesson 17. In lesson 18, you will learn how to use another kind of choice selection control, the radio button. You will find out the difference between the radio buttons and the check boxes. Please click on the link below to start learning.
http://www.vbtutor.net/vb2008/vb2008_lesson18.html
Happy Learning.
http://www.vbtutor.net/vb2008/vb2008_lesson18.html
Happy Learning.
Tuesday, August 5, 2008
Using Check Box
The Check box is a very useful control in Visual Basic 2008. It allows the user to select one or more items by checking the check box/check boxes concerned. In lesson 17 of VB2008 tutorial, you will learn how to create a simple shopping cart using the check boxes. Please click the link below to start learning.
http://www.vbtutor.net/vb2008/vb2008_lesson17.html
Happy Learning.
http://www.vbtutor.net/vb2008/vb2008_lesson17.html
Happy Learning.
Tuesday, July 29, 2008
VB2008 -Lesson 16 Formatting date and time
Lessson 16 for VB2008 tutorial is now done. This lesson deals with using the format function to customize the display of time and date in various forms. Please click the link below to view the lesson and start trying them out.
http://www.vbtutor.net/vb2008/vb2008_lesson16.html
http://www.vbtutor.net/vb2008/vb2008_lesson16.html
Wednesday, July 23, 2008
VB2008 -Lesson 15 Formatting Functions
It is often useful to format outputs so that they are more presentable and more meaningful. For example, we may want to limit the number of decimal points or we may want to convert a number to percentage form. In this lesson, you will learn how to format output using the format function in VB2008. Please click the link below to browse the lesson.
http://www.vbtutor.net/vb2008/vb2008_lesson15.html
Happy Learning
http://www.vbtutor.net/vb2008/vb2008_lesson15.html
Happy Learning
Tuesday, July 22, 2008
VB2008_Lesson 14 Math Functions
Vb2008 Lesson 14 is now ready. This lesson mainly discusses the usage of various Math functions such as Rnd, Int, Fix, Round, Log and others. Please click th link below to browse the lesson:
http://www.vbtutor.net/vb2008/vb2008_lesson14.html
Happy Learning
http://www.vbtutor.net/vb2008/vb2008_lesson14.html
Happy Learning
Saturday, July 19, 2008
VB2008 -Lesson 13 Functions-Part II
We have learned about the basic concept of function as well as the MsgBox and InputBox functions in Lesson 12. I. In fact, I have already shown you a few string manipulation functions in Lesson 8, they are the Len function, the Left function and the Right Function. In this lesson, we will learn other string manipulation functions. Click the link below to start learning.
http://www.vbtutor.net/vb2008/vb2008_lesson13.html
http://www.vbtutor.net/vb2008/vb2008_lesson13.html
Subscribe to:
Posts (Atom)