Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows
Visual Basic > Code Snippets sample source codes
A text effect
Conect to an Access database
Active window title
Add lines of text to a file
Check for admin rights for XP and 2000
API disable ctrl alt and del .Not XP or 2000
Retrieves the path your application is running from
Beep example
Binary to decimal and decimal to binary conversions
Blinking label
Capture desktop window
Capture window under mouse
Caret blink time
Cascade windows
Center a form on the screen
Change system colors
Change text color in a text box
Change the windows wallpaper
Change the windows wallpaper
Change windows color scheme
Check if a file exists
Checks whether a drive exists
Common dialog to list box
Decimal to binary conversion
Copy a file
Create a database
Create a file
Create a new directory
Create a share
Current system time
Date-Time applet
Decimal number to a radian, or a radian to decimal
This program deletes a file
Delete an empty directory
Delete files on a floppy disk
This program deletes a folder
Detect if media in drive
Detect if a sound card exists
Directory exists
Disable CTRL + ALT + DEL
Disable CTRL + ALT + DEL on Windows XP
Display a files contents in a text box
Display all drives
Display how many seconds windows has been running
Display information about a file
Display printers listed on the system
Display the day of the week
Display the IP address using WMI
Display the Open With dialog
Draw a chord
Draw a line
Draw an arc
Factorial function
Flashes Num/Caps/Scroll lock LEDs
Get the windows directory . You will need to add a reference to the Microsoft
Get windows system directory
Highlight all text in a text box
Displays your IP address
Launch a file with associated program
Launch Add New Hardware wizard
Page 2
Privacy Policy
|
Link to Us
|
Links