There are two methods to draw a rectangle on the screen in VB2010.
Use the DrawRectangle method by specifying its upper-left corner's coordinate and it width and height. You also need to create a Graphics and a Pen object to handle the actual drawing. The syntax is:
myGrapphics.DrawRectangle(myPen, X, Y, width, height)
To learn the details, we suggest you grab a copy of Visual Basic 2010 Made Easy.
AUTHOR: DR. LIEW VOON KIONG
Visual Basic 2010 Made Easy is an eBook authored by the webmaster of our Visual Basic 2010 Tutorial, Dr.Liew. With more than 200 pages of contents, it complements our free online tutorial by providing a complete tutorial for beginners.
By reading this book, you can:
*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment.
Mode of Delivery: Download
This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.
If you require assistant and technical support, please contact:Admin