Microsoft KB Archive/108468

= VB 3.0 CONSTANT.TXT Gives Values for Named Constants =

Article ID: 108468

Article Last Modified on 10/28/2003

-

APPLIES TO


 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition

-



This article was previously published under Q108468



SUMMARY
The CONSTANT.TXT file is distributed with the Standard and Professional Editions of Visual Basic version 3.0 for Windows.

CONSTANT.TXT is the global constant file for Visual Basic. The CONSTANT.TXT file provides an electronic copy of named constants mentioned in the Visual Basic manuals and sample programs.

For convenient programming access to all global constants, you can load the CONSTANT.TXT file into a code module in Visual Basic.

If you are updating a Visual Basic application written with an older version, you should replace your global constants with the constants in the CONSTANT.TXT file.



Constants for Both Standard and Professional Editions
The CONSTANT.TXT file defines named Const constants for the following topics. All of these apply to both the Standard and Professional Editions of Microsoft Visual Basic for Windows, version 3.0:

Action Property

Actions

Align (picture box)

Alignment

Arrange Method for MDI Forms

AutoActivate modes

BorderStyle (form)

BorderStyle (Shape and Line)

Button parameter masks

Check Value

Clipboard formats

CMDIALOG.VBX

ColAlignment, FixedAlignment Properties

Color Dialog Flags

Colors

Common Dialog Control

Data control

DisplayTypes

Drag (controls)

DragMode

DragOver

DrawMode

DrawStyle

Editmode property values

Enumerated Types

ErrNum (LinkError)

Error Constants

Error event Response arguments

Event Parameters

File Open/Save Dialog Flags

FillStyle

Fillstyle Property

Fonts Dialog Flags

Function Parameters

General

Grid

Help Constants

Key Codes

LinkMode (forms and controls)

MiscFlag Bits

MousePointer

MsgBox parameters

MsgBox return values

OLE Client Control

OLEType

OLETypeAllowed

Options property values

Printer Dialog Flags

Properties

QueryUnload

ScaleMode

ScrollBar

SetAttr, Dir, GetAttr functions

Shape

Shift parameter masks

Show parameters

SizeModes

Special Verb Values

System Colors

Update Event Constants

UpdateOptions

Validate event Action arguments

Variant VarType tags

VerbFlag Bit Masks

WindowState

ZOrder Method

Constants for Professional Edition
The Professional Edition includes the following controls:


 * 1) 3-D Controls (Frame/Panel/Option/Check/Command/Group Push)
 * 2) Animated Button
 * 3) Gauge Control
 * 4) Graph Control Section
 * 5) Key Status Control
 * 6) Spin Button
 * 7) MCI Control (Multimedia)
 * 8) Masked Edit Control
 * 9) Comm Control
 * 10) Outline Control

The CONSTANT.TXT file defines the values of named Const constants for the following topics which apply to the Professional Edition of Microsoft Visual Basic for Windows:

3D Controls

Action

Alignment (Check Box)

Alignment (Frame)

Alignment (Option Button)

Alignment (Panel)

Animated Button

Area Chart Options

Autosize (Command Button)

Autosize (Panel)

Autosize (Ribbon Button)

Bar Chart Options

BevelInner (Panel)

BevelOuter (Panel)

Click Filter property

ClipMode

Colors

Comm Control

Cycle property

Data Arrays

Draw Mode

Error code constants

ERROR CONSTANT DECLARATIONS (MAPI CONTROLS)

Event constants

FloodType (Panel)

Font3D (Panel, Command Button, Option Button, Check Box, Frame)

Gantt Chart Options

GAUGE

Graph Control

Graph Types

Grids

Handshaking

HLC Chart Options

Key Status Control

Line Styles

Line/Polar Chart Options

MAPI MESSAGE CONTROL CONSTANTS

Masked Edit Control

MCI Control (Multimedia)

MISCELLANEOUS GLOBAL CONSTANT DECLARATIONS (MAPI CONTROLS)

Mode Property

NotifyValue Property

Orientation Property

Outline

Outline Control Error Constants

Patterns

PicDrawMode Property

PictureDnChange (Ribbon Button)

PictureType

Pie Chart Options

Print Options

RecordMode Porperty

ShadowColor (Panel, Frame)

ShadowStyle (Frame)

SpecialOp Property

Spin Button

SpinOrientation

Statistics

Style

Style Property

Symbols

TextPosition Property

TimeFormat Property

