Accessing Computer Resources (Visual Basic)
The My.Computer object is one of the three central objects in My, providing access to information and commonly used functionality. My.Computer provides methods, properties, and events for accessing the computer on which the application is running. Its objects include:
Clipboard (ClipboardProxy)
Registry (RegistryProxy)
In This Section
Playing Sounds (Visual Basic)
Lists tasks associated with My.Computer.Audio, such as playing a sound in the background.Storing Data to and Reading from the Clipboard (Visual Basic)
Lists tasks associated with My.Computer.Clipboard, such as reading data from or writing data to the Clipboard.Getting Information about the Computer (Visual Basic)
Lists tasks associated with My.Computer.Info, such as determining a computer's full name or IP addresses.Accessing the Keyboard (Visual Basic)
Lists tasks associated with My.Computer.Keyboard, such as determining whether CAPS LOCK is on.Accessing the Mouse (Visual Basic)
Lists tasks associated with My.Computer.Mouse, such as determining whether a mouse is present.Performing Network Operations (Visual Basic)
Lists tasks associated with My.Computer.Network, such as uploading or downloading files.Accessing the Computer's Ports (Visual Basic)
Lists tasks associated with My.Computer.Ports, such as showing available serial ports or sending strings to serial ports.Reading from and Writing to the Registry (Visual Basic)
Lists tasks associated with My.Computer.Registry, such as reading data from or writing data to registry keys.