Export (0) Print
Expand All

Interaction Methods

The Interaction type exposes the following members.

  Name Description
Public method Static member AppActivate(Int32) Activates an application that is already running.
Public method Static member AppActivate(String) Activates an application that is already running.
Public method Static member Beep Sounds a tone through the computer's speaker.
Public method Static member CallByName Executes a method on an object, or sets or returns a property on an object.
Public method Static member Choose Selects and returns a value from a list of arguments.
Public method Static member Command Returns the argument portion of the command line used to start Visual Basic or an executable program developed with Visual Basic. The My feature provides greater productivity and performance than the Command function. For more information, see CommandLineArgs.
Public method Static member CreateObject Creates and returns a reference to a COM object. CreateObject cannot be used to create instances of classes in Visual Basic unless those classes are explicitly exposed as COM components.
Public method Static member DeleteSetting Deletes a section or key setting from an application's entry in the Windows registry. The My feature gives you greater productivity and performance in registry operations than the DeleteSetting function. For more information, see Registry .
Public method Static member Environ(Int32) Returns the string associated with an operating-system environment variable.
Public method Static member Environ(String) Returns the string associated with an operating-system environment variable.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Static member GetAllSettings Returns a list of key settings and their respective values (originally created with SaveSetting) from an application's entry in the Windows registry. Using the My feature gives you greater productivity and performance in registry operations than GetAllSettings. For more information, see Registry.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Static member GetObject Returns a reference to an object provided by a COM component.
Public method Static member GetSetting Returns a key setting value from an application's entry in the Windows registry. The My feature gives you greater productivity and performance in registry operations than GetAllSettings. For more information, see Registry.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member IIf Returns one of two objects, depending on the evaluation of an expression.
Public method Static member InputBox Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Public method Static member MsgBox Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Public method Static member Partition Returns a string representing the calculated range that contains a number.
Public method Static member SaveSetting Saves or creates an application entry in the Windows registry. The My feature gives you greater productivity and performance in registry operations than SaveSetting. For more information, see Registry.
Public method Static member Shell Runs an executable program and returns an integer containing the program's process ID if it is still running.
Public method Static member Switch Evaluates a list of expressions and returns an Object value corresponding to the first expression in the list that is True.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft