JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Conventions

There are a few conventions in this book that you should know about. For example, when some code is new and should be especially pointed out, it'll appear shaded. And when there's more code that I'm not showing to save space, you'll see three dots arranged vertically like at the end of this example:

Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "
    Public Sub New()
        MyBase.New()
        

Also, when we discuss the in-depth syntax of Visual Basic statements, there are a few conventions and terms you should be aware of. In the formal definition of each statement, you use brackets, [ and ], for optional items, and curly braces, { and }, to indicate that you select one of the enclosed items, like this for the Dim statement:

[{ Public | Protected | Friend | Protected Friend | Private | Static }] [
Shared ] [ Shadows ] [ ReadOnly ] Dim [ WithEvents ] name[ (boundlist) ]
[ As [ New ] type ] [ = initexpr ]

And I use the standard syntax for menu items—for example, the File|New item refers to the New item in the File menu. You'll also see many tips throughout the book, which are meant to give you something more—more insight and more behind-the-scenes data. Tips look like this one from Chapter 23:

Tip 

Needing a server roundtrip to access your data can slow things down considerably. The Internet Explorer actually does have a number of data source objects that you can use to work with recordsets directly with scripting languages in the browser. One of the data source objects built into the Internet Explorer, the Remote Data Service (RDS), even lets you use connection strings, SQL, and so on, to fill a recordset object. For an example that uses the Internet Explorer XML data source object, which lets you read database files written in XML, see "Using XML-Format Databases Directly in the Internet Explorer" in this chapter.

And you'll also see notes, which are designed to give you some additional information, like this note in Chapter 1:

Note 

In Visual Basic 6.0, coordinates for forms and controls were expressed in twips; in Visual Basic .NET, coordinates are expressed in pixels (and only pixels).

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor