by Devin Smith (1 Submission)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)
This code had simple VB examples of how to: Open a cd tray, Close a CD tray, open the search box, open the run box, run a shell command, minimize, restore, maximize, show, hide, run a timer, define a variable, Shutdows, reboot, restart, logoff, dissable ctrl+alt+del, enable ctrl+alt+del, hide from task list, find the windows running time, generate a fatal error, change the background color of the window, determine if a file exists, create a directory, download a file, open a web page, get users input, open all types of message boxes, lock up a computer, beep, play mp3s, play music, connect with winsock, and much more.
Download Simple VB commands (24 KB)