Computer Class
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)
For more detailed information, see the Visual Basic topic My.Computer Object.
The properties exposed by the My.Computer object return information about the computer on which the application is deployed, as determined at run time. Typically, this data differs from what was available on the development computer.
Some members, such as the My.Computer.Audio object, are available only for non-server applications.
The following table lists examples of tasks involving the My.Computer object.
| To | See |
|---|---|
| Check connection status | |
| Determine if a remote computer is available | How to: Determine if a Remote Computer is Available in Visual Basic |
| Download a file | |
| Upload a file | |
| Create a registry key | How to: Create a Registry Key and Set Its Values in Visual Basic |
| Clear the Clipboard | |
| Read from the Clipboard | |
| Determine what is stored on the Clipboard | How to: Determine What Type of File is Stored on the Clipboard in Visual Basic |
| Save audio to the Clipboard | How to: Save an Audio Stream to the Clipboard in Visual Basic |
| Get an image from the Clipboard | How to: Retrieve an Image from the Clipboard in Visual Basic |
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Reference
Computer MembersMicrosoft.VisualBasic.Devices Namespace
Microsoft.VisualBasic.Devices.Computer
Microsoft.VisualBasic.Devices.ServerComputer
Other Resources
My.Computer ObjectMy.Computer Object Members
My.Computer.Audio Object
My.Computer.Clipboard Object
My.Computer.Clock Object
My.Computer.FileSystem Object
My.Computer.Info Object
My.Computer.Keyboard Object
My.Computer.Mouse Object
My.Computer.Network Object
My.Computer.Ports Object
My.Computer.Registry Object