Visual Basic Programming Code Examples Visual Basic > Code Snippets Launch format dialog box Launch new hardware wizard List all screen fonts List printersin a combo box Load a file into a textbox Log on as different user Loop through beeps Minimize all windows Move a file to the recycle bin Move a window Move cursor to a set position on the screen Open a file for writing to Copy contents of Drive A to Drive A Open default browser with a url Open display properties background When the up key is pressed , notepad will open Open start menu example Operating system info Pause your app for a given time Play a sound using API Quivering button Random password generator Read a file into a combo box Rectangular form example Removes a folder with no prompts Program renames your computer Returns the System folder Reverse a string VB6 onwards Round form example Create a round form Run a screensaver Run control panel Save a webpage to a file To save text to a file Save wmf to bmp Screen capture Screen resolution Is the screensaver active Scroll to bottom of text box Select all text in a text box when it recieved focus Shell out to browser Show and hide the taskbar Shut down your PC (Win 95 and 98) Shutdown or restart Shutdown windows 2000 Shutdown Windows (Not XP) Shutdown Windows XP Swap mouse buttons System startup time Tile an image Flashing title bar effect Total amount of function keys Total no of colors Transparent form Type of drive Unload all forms View source code WeekDayName example Display the windows directory Winmm example Page 1 Page 2