Microsoft Small Basic


Desktop

This class provides methods to interact with the desktop.

Properties

Width (This property is read-only.)

Desktop.Width

Gets the screen width of the primary desktop.

Height (This property is read-only.)

Desktop.Height

Gets the screen height of the primary desktop.

Operations

SetWallPaper

Desktop.SetWallPaper(fileOrUrl)

Sets the specified picture as the desktop's wallpaper. This file could be a local file or a network file or even an internet url.

fileOrUrl

The filename or url of the picture.

Returns

Nothing