Some Microsoft Small Basic classes have very few methods and properties. Among them are:
' Desktop class. TextWindow.WriteLine("The desktop size is " + Desktop.Width + "x" + Desktop.Height + ".") Desktop.SetWallPaper("C:\Windows\Web\Wallpaper\Windows\img0.jpg") ' Dictionary class. TextWindow.WriteLine(Dictionary.GetDefinition("banana")) TextWindow.WriteLine(Dictionary.GetDefinitionInFrench("banana")) ' Flickr class. GraphicsWindow.Show() ' Note that Flickr methods have the potential to display images that may not be suitable for younger users. GraphicsWindow.DrawImage(Flickr.GetPictureOfMoment(), 0, 0) Program.Delay(5000) GraphicsWindow.Clear() GraphicsWindow.DrawImage( Flickr.GetRandomPicture("cat"), 0, 0) ' Image class. URL = Flickr.GetRandomPicture("cat") ' Note that the LoadImage method has the potential to display images that may not be suitable for younger users. GraphicsWindow.DrawImage(ImageList.LoadImage(URL), 0, 0) GraphicsWindow.Width = ImageList.GetWidthOfImage(URL) GraphicsWindow.Height = ImageList.GetHeightOfImage(URL) ' Network class. ' Note that Network methods have the potential to display content that may not be suitable for younger users. TextWindow.WriteLine("Downloaded a file to: " + Network.DownloadFile("http://msdn.microsoft.com/en-us/default.aspx")) GraphicsWindow.DrawBoundText(0, 0, GraphicsWindow.Width, Network.GetWebPageContents("http://msdn.microsoft.com/en-us/default.aspx"))