We may have learned how to draw rectangle, ellipse and circle in visual basic 2013 , but do you know that we can draw text on the screen? Yes, indeed you can draw text on the screen.
In order to draw text on the screen, we can use the DrawString method. The format is as follows:
myGraphics.DrawString(myText, myFont, mybrush, X , Y)
Where myGraphics is the Graphics object, myText is the text you wish to display on the screen, myFont is the font object created by you, myBrush is the brush style created by you and X, Y are the coordinates of upper left corner of the Text.
You can create the Font object in visual basic 2013 using the following statement:
myFont = New System.Drawing.Font(“Verdana”, 20)
Read More ……
Visual Basic is so versatile that you can create your own applications to solve mathematical problems fairly easily. You can even create graphical interface using visual Basic. For example, you can create an application to solve simultaneous equations. Learn how to do it by checking out the sample codes here:
In Visual Basic 2013, sub procedure is a procedure that performs a specific task and to return values, but it does not return a value associated with its name. However, it can return a value through a variable name. A function is similar to a sub procedure in the sense that both are called by the main procedure to fulfill certain tasks. However, there is one difference, a function returns a value whilst a sub procedure does not.
Learn more about them by following the links below:
Do you know that Visual Basic from version 2005 onward has become a full object oriented programming language? In order for a programming language to qualify as an object oriented programming language, it must have three core technologies namely encapsulation, inheritance and polymorphism. Following the link below to learn about the concepts of object oriented programming in Visual Basic:
Which browser do you use to surf the Internet? Basically everyone likes to navigate the Internet using Google Chrome, Internet Explorer ,FireFox, Safari, Opera and more. However, isn’t it cool if you can create your very own web browser that you can customize to your own taste ? Yes, you can do that in Visual Basic 2013, and pretty easy too. Click on the link below to learn how to create a web browser in Visual Basic 2013