Microsoft Visual Basic 2010 Step by Step eBook
313 Chapter 13 Exploring Text Files and String Processing After completing this chapter, you will be able to: n Use the My names ...
314 Part II Programming Fundamentals By using an OpenFileDialog control to prompt the user for the file’s path, you can let the ...
Chapter 13 Exploring Text Files and String Processing 315 The My namespace is truly a “speed dial” feature, fully explorable via ...
316 Part II Programming Fundamentals Because of this speed factor, the My namespace provides an excellent shortcut to many commo ...
Chapter 13 Exploring Text Files and String Processing 317 StreamReader can be important because if you try to read or write to t ...
318 Part II Programming Fundamentals If the project’s form isn’t visible, display it now. The Text Browser form opens, as show ...
Chapter 13 Exploring Text Files and String Processing 319 Open the C:\Vb10sbs\Chap13\Text Browser folder. The contents of the ...
320 Part II Programming Fundamentals Examine the Text Browser program code On the File menu of the Text Browser form, double-cl ...
Chapter 13 Exploring Text Files and String Processing 321 Display the CloseToolStripMenuItem_Click event procedure, which is ex ...
322 Part II Programming Fundamentals My.Computer.FileSystem.WriteAllText( _ SaveFileDialog1.FileName, txtNote.Text, False) End I ...
Chapter 13 Exploring Text Files and String Processing 323 LineOfText = InputBox("Enter line") Loop StreamToWrite.Close() Using t ...
324 Part II Programming Fundamentals I set the following properties in the project: Object Property Setting txtNote Multiline Na ...
Chapter 13 Exploring Text Files and String Processing 325 On the File menu, click the Insert Date command. The current date an ...
326 Part II Programming Fundamentals Examine the Quick Note program code On the File menu of the Quick Note form, double-click ...
Chapter 13 Exploring Text Files and String Processing 327 processing the textual elements in your programs. In this section, you ...
328 Part II Programming Fundamentals String Method or Property Visual Basic Function Description String Example Contains Instr D ...
Chapter 13 Exploring Text Files and String Processing 329 String Method or Property Visual Basic Function Description String Exa ...
330 Part II Programming Fundamentals In the 1980s, IBM extended ASCII with codes 128 through 255, which represent accented, Gree ...
Chapter 13 Exploring Text Files and String Processing 331 TABLE 13-3 Visual Basic Relational Operators Operator Meaning <> ...
332 Part II Programming Fundamentals Because the entire contents of a text box are stored in one string, the program must first ...
«
13
14
15
16
17
18
19
20
21
22
»
Free download pdf