Section A.16. Interaction


A.16. Interaction

Element

Description

AppActivate Procedure

Gives the focus to a window based on its title or task ID

Beep Procedure

Sounds a note using the computer speaker

Choose Function

Returns a value from a list based on its index

Command Function

Returns the argument portion of the command line

Environ Function

Retrieves the value of an environment variable

IIf Function

Returns one of two values based on the evaluation of a Boolean expression

InputBox Function

Returns user input from a simple dialog box

MsgBox Function

Displays a message box with buttons, an icon, and a message, and it returns the response selected by the user

Shell Function

Launches an external application

Switch Function

Returns the first value or expression in a list that is true

Send, SendWait Methods

Sends keystrokes to the active window





Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net