⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 velfm.htm

📁 简单的说明如何使用VB,非常适合初学使用者,而且是用图表来解说的
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<BR><P>Visual Basic supports all kinds of data. This lesson teaches you about Visual Basic variables, data, and controls. You must understand the various data types possible in Visual Basic before you can work with data. You'll see how Visual Basic supports both numeric and character data as well as learn the mathematical operators that Visual Basic recognizes.<BR><BR><A NAME="E69E5"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 5: Gaining Control</B></FONT></CENTER></H4><BR><P>The messages that you place in programs that help you update those programs later are called <I>remarks</I>. It's vital that you learn the importance of proper program documentation early. Of course, interacting with users is extremely important also, and message boxes are Visual Basic's primary means for asking the users questions and getting answers. In addition to the remark and message box processing, this lesson explains the looping elements of the language. By repeating sections of a program, the program can perform multiple calculations on a large series of data values.<BR><BR><A NAME="E69E6"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 6: Combining Code and Controls</B></FONT></CENTER></H4><BR><P>Now that you've mastered most of Visual Basic's user interaction controls, this lesson takes you the next step of the way by demonstrating how to create lists of data and controls that greatly improve the power of the programs that you write. Once you introduce lists into a program, the check boxes and option buttons give your users the means by which they can interact with those lists of data.<BR><BR><A NAME="E69E7"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 7: Functions and Dates</B></FONT></CENTER></H4><BR><P>Visual Basic supplies a large number of math, character, date, and time functions. These functions eliminate tedious coding on your part that you would normally have to do. By providing pre-written function routines, Visual Basic lets you concentrate on the user-specific portions of the applications that you write.<BR><BR><A NAME="E69E8"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 8: Modular Programming</B></FONT></CENTER></H4><BR><P>Once you've mastered Visual Basic's built-in function routines, it's time to learn how to write your own functions that you can add to your own growing library of Visual Basic routines. As you write more and more Visual Basic programs, you will write routines that you can use in more than one program. Thus, as you build your Visual Basic library of programs, you'll be able to reuse parts of programs that you've already written and speed all subsequent program development.<BR><BR><A NAME="E69E9"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 9: Extending Data and Programs</B></FONT></CENTER></H4><BR><P>Your computer would be too limiting if you couldn't store data to the disk and load that data back into your programs. Disk files are required by most real-world applications. The units in this lesson describe how Visual Basic processes disk files and teaches you the fundamental principles needed to effectively work with disk files.<BR><BR><A NAME="E69E10"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 10: Making Programs &quot;Real World&quot;</B></FONT></CENTER></H4><BR><P>By adding menus to your programs, you give additional control to the users of your applications. Most Windows programs support the use of menus and the programs that you write with Visual Basic support the standard Windows menu system. In addition to adding menus, this lesson also teaches you how to track timer controls so that you can write real-time programs that respond to the passing of time.<BR><BR><A NAME="E69E11"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 11: Spruce Up your Programs</B></FONT></CENTER></H4><BR><P>Visual Basic supports the use of printed reports that you can create with the commands that you learn in this lesson. Not only will the addition of the printer add to your program power, but you can also add spice to your programs by drawing graphics on the program screens that you create to offer eye-catching pictures that capture the user's attention.<BR><BR><A NAME="E69E12"></A><H4 ALIGN=CENTER><CENTER><FONT SIZE=4 COLOR="#FF0000"><B>Lesson 12: Getting Exotic</B></FONT></CENTER></H4><BR><P>This lesson extends your fundamental knowledge of the Visual Basic programming system by teaching you how to work with additional user controls called scroll bars and grid controls. Scroll bars give users visually-moving controls over data values and input. Using the grid, users can see tables of data that you present in a spreadsheet-like format. You'll also learn ways to respond to mouse movements and clicks. By this lesson's end, you will have mastered most of Visual Basic's fundamental programming techniques. Due to the complex nature of programs that you will begin to write by this lesson, the book ends with a discussion of Visual Basic's interactive debug sessions that shows you how to eliminate problems that might creep into the programs that you write.<BR><BR><A NAME="E68E5"></A><H3 ALIGN=CENTER><CENTER><FONT SIZE=5 COLOR="#FF0000"><B>This Book's Disks</B></FONT></CENTER></H3><BR><P>This book contains the Visual Basic programming system called the <I>Visual </I><I>Basic Primer</I>. Visual Basic is made by Microsoft, a world-famous company known for its Windows operating environment. The Visual Basic programming system comes with an integrated editor, debugger, and program designer with which you can write fully-working Windows programs.<BR><BLOCKQUOTE><BLOCKQUOTE><HR ALIGN=CENTER><BR><NOTE><B>Note: </B>The second unit of Lesson 1 explains how to install the Visual Basic programming system on your computer.</NOTE><BR><HR ALIGN=CENTER></BLOCKQUOTE></BLOCKQUOTE><P>The disks also contains all the code in all of this book's programs. In addition, the disks contains answers to all review questions and exercises at the end of each unit, except for the extra credit problems. The answers are organized by lesson and are in a directory named \ANSWERS.<BR><BR><A NAME="E68E6"></A><H3 ALIGN=CENTER><CENTER><FONT SIZE=5 COLOR="#FF0000"><B>Conventions Used in this Book</B></FONT></CENTER></H3><BR><P>This book uses the following typographic conventions:<BR><UL><LI>Code lines, variables, and any text that you see on-screen appear in monospace.<BR><BR><LI>Placeholders in statement syntax explanations appear in <I>italic </I><I>monospace</I>.<BR><BR><LI>New terms appear in <I>italic</I>.<BR><BR><LI>Filenames in regular text appear in uppercase, such as MYFILE.DAT.<BR><BR><LI>Optional parameters in statement syntax explanations are enclosed in flat brackets ([]). You don't type the brackets when you include these parameters.<BR><BR><LI>Menu commands appear like this: File Open. This command means to select the Open option from the File menu.<BR><BR></UL><P>The following items also appear throughout this book:<BR><BLOCKQUOTE><BLOCKQUOTE><HR ALIGN=CENTER><BR><NOTE><I>Definition: </I>Definitions of new terms often appear in the paragraph in which the term first appears.</NOTE><BR><HR ALIGN=CENTER></BLOCKQUOTE></BLOCKQUOTE><BLOCKQUOTE><BLOCKQUOTE><HR ALIGN=CENTER><BR><NOTE><B>Note: </B>When further thought is needed on a particular topic, the note icon brings extra information to your attention.</NOTE><BR><HR ALIGN=CENTER></BLOCKQUOTE></BLOCKQUOTE><P><B>Tip: </B>A tip shows you an extra shortcut or advantage possible with the command you just learned.<P><B>Warning: </B>Sometimes you must take extra care when trying a particular command or function. Warnings point out dangers before you encounter the dangers yourself.<BLOCKQUOTE><BLOCKQUOTE><HR ALIGN=CENTER><BR><NOTE>Sidebar: In addition, you'll find several sidebars with useful information that is related to the topic at hand.</NOTE><BR><HR ALIGN=CENTER></BLOCKQUOTE></BLOCKQUOTE><P><FONT COLOR="#FF8000"><B><I>Concept: </I></B></FONT>Concepts, located at the beginning of each major section, provide a succinct overview of the material in that section.<BR><P><FONT COLOR="#FF8000"><B><I>Review: </I></B></FONT>Reviews, which appear at the end of each major section, recap the material you learned in that section.<BR><P><FONT COLOR="#FF8000"><B><I>Stop and Type: </I></B></FONT>This icon provides a description of a subsequent program listing.<BR><P><FONT COLOR="#FF8000"><B><I>Input:</I></B></FONT> An input icon marks a program listing that demonstrates the major concepts from the section you just finished.<BR><P><FONT COLOR="#FF8000"><B><I>Output: </I></B></FONT>This icon accompanies a typical output of the program or program screen.<BR><P><FONT COLOR="#FF8000"><B><I>Analysis: </I></B></FONT>A detailed description of the program appears after the output.<P ALIGN=LEFT><A HREF="index.htm" TARGET="_self"><IMG SRC="purprev.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Previous Page"></A><A HREF="#I0" TARGET="_self"><IMG SRC="purtop.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Page Top"></A><A HREF="index.htm" TARGET="_self"><IMG SRC="purtoc.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="TOC"></A><A HREF="vel01.htm" TARGET="_self"><IMG SRC="purnext.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Next Page"></A><A </BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -