Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

324 Part II Programming Fundamentals


I set the following properties in the project:

Object Property Setting
txtNote Multiline
Name
ScrollBars

True
txtNote
Vertical
lblNote Text “Type your note and then save it to disk .”
Form1 Text “Quick Note”


  1. Click the Start Debugging button.

  2. Type the following text, or some text of your own, in the text box:


How to Detect Counterfeit Coins


  1. Drop coins on a hard surface. Genuine coins have a bell-like ring; most
    counterfeit coins sound dull.

  2. Feel all coins. Most counterfeit coins feel greasy.

  3. Cut edges of questionable coins. Genuine coins are not easily cut.


When you’re finished, your screen looks similar to this:

Tip To paste text from the Clipboard into the text box, press CTRL+V or SHIFT+INSERT.
To copy text from the text box to the Clipboard, select the text, and then press CTRL+C.

Now try using the commands on the File menu.
Free download pdf