|
Title |
Description |
|
Download |
|
Add Controls at Runtime Example
|
A easy example of how to dynamically add controls while your program is already running. |
|
|
|
Alpha Blending (Shapes and Images) Example |
A example that shows how to AlphaBlend shapes and Images using the DotNet Framwork. This example shows how to AlphaBlend 2 rectangles together and shows how to AlphaBlend 2 images together. Should be pretty easy to understand. The code is commented fairly well. |
n/a |
|
|
Animating Form/Application with Special Effects
|
This example shows how to do some basic animations and effects using the Windows API call - AnimateWindow. There are different animation directions, and/or special effects like Blending, Rolling, or Sliding. You can also specify how fast/slow the animation will take place. Nothing to aweful special I guess. |
|
|
|
Apy/Window Spy Example |
This is the source code to the cs Vb.Net Window Spy I made. Just some of the features is: Get Active Window Info. Parent Window Info, List of Children, Siblings, and more. |
|
|
|
Audio/Video DX9 Example
|
This example shows you how to use the audio/video objects in DirectX 9. It will play at least - avi, mp3, mpeg, wav, ect... files. |
n/a |
|
|
Basic Threading Example
|
A basic example to show how easy it is to create and use threads in VB.Net. This example does not claim to be the best way to do it. |
n/a |
|
|
Bass Version 1.8 Example
|
This includes 3 different examples. One is a stream example(mp3,wav,ect.) Another is a visualizations example and then a misc example(play samples, streams, audio cd's, ect..) |
n/a |
|
|
Bouncing Ball Example
|
Example of how to bounce a ball. Uses GDI+ graphics and renders in a thread. Very easy to understand. |
n/a |
|
|
Change Desktop Wallpaper Example
|
A example of how to change the desktops background picture/wallpaper from your application. It uses the SystemParametersInfo windows api to do this. |
n/a |
|
|
Change Form Shape/Region Example |
A pretty easy example of creating Custom regions that you can conform to your applications forms. This example changes the forms shape to that of text message. |
n/a
|
|
|
Change/Set and Manipulate All Controls on the Form (Updated v1.1)
|
A simple example of how to automatically change/set properties or manipulate controls without having to write code specifically for each control. This example shows how to Clear all Textbox Controls on the Form and How to Check all Checkbox Controls on the Form without having to write code specifically for each of the controls. Updated: Codes were added that shows how to clear all textbox controls on the form except those specified in the source code to skip over or bypass. |
|
|
|
Check/Ping Destination Address
|
This is a very simple example of how to check/ping a ip, url, or UNC (Universal Naming Convention) name using the "IsDestinationReachable" Windows API call. It can return whether it reached the destination successfully, network type available, and the to/from speed when checking the web destination. VB 05 and 08 already has a nice Ping class for checking web destinations so I would use that class if using those versions. Unless you want other info like the To/From speed or something. |
|
|
|
Chr Code Conveter - .NET Example
|
This example is similar to the vb 5 and vb 6.0 version. I tweaked the code alittle in the .net version. This will convert regular text to Chr based code. Example, the quote character " would be converted to Chr(34). |
|
|
|
Clipboard Example(Very Basic)
|
Just a very basic example of using the built-in .Net clipboard object. I only show copy and paste methods only. In the future will add more to it. |
n/a |
|
|
Combobox/Listbox Text Search Example
|
Shows you how to easily search a combobox or listbox for a specified text. Can search by the starting text or exact text. |
n/a |
|
|
Communicate Between Forms
|
A easy example of how to communicate with another form in the same project. This example includes: changing the text of the textbox control, clicking the button, and loading a picture in the picturebox of the other form. |
n/a |
|
|
Context(PopUp) Menu's Example
|
A easy example of how to add Context(VB6 PopUp) Menu's in VB.Net. |
n/a |
|
|
Convert Unix Time to Structured Time
|
A simple example of how to convert a Unix time value to a basic Windows time value. IT shows the converted Unix time as UTC and Local based Time. The example displays the Computers current Timezone as well as the Timezone offset compared to the UTC (Universal Time Coordinate or Coordinated Universal Time) Time. |
|
|
|
CPU RDTSC/Calculate Processor ClockSpeed(Processor Mhz) in Realtime
|
This is a example I made that shows how to get the processors actual rdtsc value in realtime. It also uses this value to calculate the clockspeed of the processor in realtime too. IT uses a .dll I made with Managed C++ (thanks to 'knight' for his help) and simply gives us the time stamp counter value. |
|
|
|
CPU Usage Example |
A basic example of easily retrieving the value for the cpu's usage. Displays the exact usage value or the integer portion only. Uses Performance Counters. |
|
|
|
CPU System Usage using API
|
A example that simply returns the total system usage for the computer using the GetSystemTimes() API call. This example shows how to use this API call and perform various calculations to return and display the computers total processor usage value. The computer MUST have Windows XP - Service Pack 1 or Higher to use this API Function. |
|
|
|
Create/Save Images as Thumbnails
|
A basic example of how to convert your images to thumbnails. It also saves the thumbnails as jpeg files. |
n/a |
|
|
Create/Set Inputbox Input/Text as Password Characters
|
A small program I made that will display an inputbox and has the inputbox display the input text as password characters. This example uses subclassing, and some windows APIs like Findwindow, GetWindow, and SendMessage. |
|
|
|
Crop Images Example - Mouse Selection
|
A example I made of how to crop images using VB.NET. This example shows how to select the area of the image by using the mouse to select the coordinates. |
|
|
|
Crop Images Example - Specified Coordinates
|
Another example I made on cropping images. It does the exact same thing as the above example except it uses the user inputed coordinates and draws a line around the area of the image that is specified in the coordinates. |
|
|
|
Crop Images - Combined/Extended Example |
This example is basicly the Mouse Selection and Coordinates example combined. A few bugs were fixed over the previos versions. You can now move the mouse in any directions to select the cropping area and the picturebox does not flicker anymore. Thanks to Zac for the 2x bug fixes. |
|
|
|
csAudioCD Library Pro v1.3 Example APP
|
A example application that highlights the features and options for the csAudioCD Library v1.3. The example shows some of the Library's basic features and some of the more advanced features. The compiled .dll is included. Version 1.1 has been removed. |
|
|
|
csAutoComplete - Example App
|
A simple example for VB.NET 2002/2003 that shows how to use the csAutoCompleteClass Library to give 'Auto Complete' support to your CombBox and TextBox controls. |
|
|
|
csAutorun Maker - Example
|
This is the source code to the csAutorun Maker on the software page that makes it very easy to select the execute (.exe) file you want and the icon to be the autorun icon. |
|
|
|
csCompactMusic Library v2.1 - Example
|
This is a basic application to show how to use the csCompactMusic Library Class. The app is very small on purpose :) The Class .DLL is included. |
|
|
|
csCPUFeatures Library v1.0 - Example App
|
A simple example of how to use the csCPUFeatures Class Library to get various features that the target computer supports. Some of the features you can check is 3DNow! instructions, as well as SSE, SSE2, RDTSC, Intel FPU Errata/Bug, and more. The library uses the IsProcessorFeaturePresent API to get this information. |
|
|
|
csCPUInfoBasic Library - Example
|
This is a example app that shows how to use my csCPUInfoBasic.DLL C++ library. The example will return the CPU Vendor, CPU Model, CPU Stepping, Clockspeed, and more. If you only want the .dll control itself you can download it under the VB.NET - Controls page. Check out the screenshot below if you want to see more info it can give. |
|
|
|
csMovie Library Pro v2.0 - Example
|
A brief example to get you started using the csMovieLibrary Class. Apart from the normal play, stop, and pause. It shows you how to get various stats and information. The library source can be downloaded from the controls section. |
n/a |
|
|
csMusicLibrary - PLAY Features/Options - Example
|
This is a example I made that shows how to add 3x different play features to your application. Continuous Play, Repeat Play, and Random Play features. Uses my csMusicLibrary for the playback of the music. |
|
|
|
csMusicLibrary Pro v1.0 - Example
|
A example of how to use the csMusicLibrary. This example should give you a jump for a music app. The compiled class is included. |
n/a |
|
|
csSoundPlayer Library v1.0 - Example
|
This is a example on using my csSoundPlayer Library to play wave sound files. The library uses no 3rd party controls. |
|
|
|
csStopWatch Library v1.1 - Example
|
A example of how to use the *BASIC* version of my csStopWatch Library. Returns the Elapsed: Minutes, Seconds, and Milli-Seconds. Checks the current Resolution and whether the Stop Watch is running, reset and more! |
n/a |
|
|
csTextBoxX v1.1 Control - Example
|
Demonstrates the eXtended functionality the csTextBoxX Control contains over the original textbox control. It highlights the AutoComplete functionality along with Character Restricting to only allowing Numbers or Numbers with a Single Decimal Point and Disabling the Beep on "Enter" in SingleLine mode. Update v1.1: Added a new feature to search the controls text for specific strings/letters/text with various search options like Match Case. |
|
|
|
csWebBrowser 'Com' Control Example
|
A example that shows how to use the 'Com' based ActiveX Webbrowser control in your .Net applications. This is a fully working Webbrowser with alot of various features implemented. It includes 'search/refresh/home/ect' features. Menu items - cut/copy/paste/delete/save/save_as/page setup/print/print preview and more. A tool to grab the source code of the webpage and more. Could be a good start for someone looking to make their own custom WebBrowser. |
|
|
|
csWindowsShutdown Library v1.4 - Example Application
|
Example of using the "csWindowsShutdown1.4" Class Library control to shutdown/logoff/reboot Windows. You can force the execution or execute the process normally. The Class Control IS Included in this zip. Check out the Class source code for alot more information.
Update: Version 1.2 added 2x new features, "initiateSystemShutdown and "cancelInitiatedShutdown".
Update: Version 1.3 added a new function to display the "Turn Off Computer" dialog and the option to use API or Shell to perform some of the shutdown/restart/logoff commands, along with other tweaks to the core of the library. This library has FULL intellisense documentation for most of the features.
Update: Version 1.4 added a new feature that will display the "System Settings Change" Dialog with a "Computer must restart before the setting will take place". There were also some more tweaks to the library as well.
Remember, Libraries made with earlier versions of VB.NET can be used in Visual Basic 2005 and Visual Basic 2008. So you can use this library in the new VBs as well... |
|
|
|
csWritingPad v1.5 - Example
|
This is the source code to my csWritingPad v1.5 application. Has MANY features and way to many to mention them all. Its based around the RichTextBox control and shows you how to use the control in your applications to create a advanced Word Processor based application. The Richtextbox control is almost used to its limit. It of course has your normal Cut/Copy/Paste, Set Font/Size/Color to the entire document or the selected text only. Shows a simple trick of how to add/paste images. Has capabilitys to print your documents and multi-level Undo and Redo features. Plus it has advanced 'Search and Replace' features. Hopefully this example is something you can benefit from. Enjoy :) |
|
|
|
Detecting/Getting the Users Last/Latest Activity
|
This example is based on the VB 6.0 version I made that will monitor system-wide user activity and determine the last time the user interacted with the Keyboard and/or Mouse. |
|
|
|
Dialog Object - Example
|
This is a basic example of how to display the open/save dialogs. No need to add a .ocx file to your project. |
n/a |
|
|
Directory and File Information - Example
|
A simple example that uses the DirectoryInfo class and the FileInfo class to get alot of various information for the selected directory or file. |
|
|
|
DirectX-DirectSound 9.0 - Example
|
This is a fairly basic example of how to use DirectX's DirectSound classes to play media wave files. |
n/a |
|
|
Display/Show how to display Text/Numbers in the Windows System Tray/Notify Icon area
|
A simple example that shows how to display/show text/numbers in the windows system tray/notify icon area. Creates a bitmap and draws text to it and then retrieves the bitmap as a icon that is then applied to the Notify Icon component. |
|
|
|
Download Files from Internet Example
|
A basic example of using the WebClient class to download files from the selected internet address to the selected path on your computer. |
n/a |
|
|
Draw a Ellipse on the Form with Mouse
|
This is a example of how to draw a ellipse on the form using the mouse. It will draw the ellipse, increasing its size, in real time, as you move the mouse. |
n/a |
|
|
Draw a Gradient - Form, Rectangle, Control, ect.
|
Example of how to draw gradient rectangle on a form. Select 2 colors from the comboboxes and click which gradient mode to use. |
n/a |
|
|
Find/Search Combobox and Listbox control
|
Example of executing full searching in a listbox and combobox control. The example can find the exact search value or only a part of the value. |
|
|
|
Get all Computer Logical Drives - Example
|
This is a example of how to get all of the logical drives on the current computer. Uses all managed code except 1 api call to get the type of drive each drive is. |
n/a |
|
|
Get a list of the Date/Time Formats
|
A basic example of how to get a specified or default date/time returned in more than 100 different formats. This example shows how to do it very easily with very little code. |
n/a |
|
|
Get More Computer Performance Information
|
This is a simple example based on the VB 5/6 version that uses the GetPerformanceInfo API call to get some more lower level memory and thread information. Nothing more to say I guess. :) |
|
|
|
Get Pixel Color from the Mouse Position
|
A example of how to get the pixel color from a window where the mouse cursor position is located. This example uses GetPixel, and WindowFromPoint API calls. |
|
|
|
Getting Line Information in Textbox Control
|
This example shows how to get the current line number in VB.NET 2002/2003, getting the text at the current line position and also getting the total number of lines currently in the textbox control. Getting the current line # code is for VB.NET because those versions does not have built-in support like the VB 2005/2008 Textbox versions. Otherwise, the rest of the codes is efficient with VB 05/08 as well. |
|
|
|
Get the CPU Timestamp/Calculate Processor ClockSpeed in Realtime
|
This is a example I made that shows how to get the processors actual rdtsc value in realtime. It also uses this value to calculate the clockspeed of the processor in realtime too. IT uses a .dll I made with C++ (thanks to 'knight' for his help) and simply gives us the time stamp counter value.. |
|
|
|
Higher Performance Windows API Timer - timeSetEvent/timeKillEvent
|
A simple example that uses the timeSetEvent and timeKillEvent API codes to create and use API based Windows timers. This event timer has a much higher resolution than the SetTimer/KillTimer versions at about 1 milli-second compared to 15/16 milli-seconds. But the lower resolution timer may uses a lesser amount of resources. You will have to decide if the tradeoff is worth it I guess. |
|
|
|
Image Converter
|
A basic example that shows you how easy it is to convert images to different formats.(This example shows: .jpg, .bmp, .gif conversion) The framework supports many more though. |
n/a |
|
|
JPEG Compression - Example
|
This is a example of how to specify the compression quality of a JPEG file. |
n/a |
|
|
Keyboard Key Press - Example
|
Example on capturing the keys that are pressed in your app on the keyboard. This example will throw 2 messageboxes depending on which key you press on the keyboard. |
n/a |
|
|
LinkLabel Control Example |
This example basically uses the linklabel control to mimick a real webpage link. The control will look like a link and when it is linked, it will goto the specified address like a normal link as well. This example uses the ProcessStartInfo class as well to fine tune how to open the link. |
|
|
|
Listbox/Combobox Control - Example
|
This example shows how to use some of the functions with the listbox in .Net. Works with the combobox also. (Add items, clear, search, ext..) |
n/a |
|
|
MDI Forms/Windows - Example
|
A basic example of how to create and use MDI Form/Windows in your applications. It will display the total MDI windows that are opened, Arrange the windows a 3 different formats. |
|
|
|
Monitor Files/Folders (FileSystemWatcher) - Example
|
This is a pretty decent example application that shows how to do full monitoring of files and folders using the FileSystemWatcher class library. You can specify the folder to monitor and it will tell you what happens to the files or folders. IT can let you know if a 'Change has taken Place', if 'File was Deleted', if 'Directory was Renamed or File was Renamed' and so on and so forth. |
|
|
|
Mouse Scroll Wheel - Example
|
A basic example of how using the mouse scroll wheel. It will determine which direction the user is moving the wheel and either increase or decrease the number in the label control. |
|
|
|
Move Form WITHOUT Titlebar by Subclassing
|
An example that shows a simple/easy way to move a borderless form that does not have the normal titlebar. This example uses subclassing to check for specific messages and reacts accordingly. Remember that VB.NET 02/03 Projects should have no problems running in VB 05/08. |
|
|
|
Movie Module v2.1 Beta Final - Example
|
This is a example on using the Movie Module to create a Movie player. Based on the VB 6.0 version and there are a few bugs left. I will not be updating this anymore. Important: This this is a obsolete library/module. You should use the csMovieLibrary instead. |
|
|
|
Music Module v2.4 Final - Example
|
This is updated to work with VB.Net. It is still alittle buggy. Has not been updated to take advantage of the new VB.Net coding.(Plays, most music files) v2.3 was removed. Important: This this is a obsolete library/module. Use the csMusicLibrary or csCompactMusic Library instead. |
|
|
|
Notepad Clone - Example
|
This is just a text editor that looks similar to Microsofts Notepad with alot of its features. This is not a completed example. |
|
|
|
Open/Execute/Shell any File/Program - Example
|
This example shows how to open any file that is selected and get various information about that file and the files current process. |
|
|
|
Performance Counters/Timers Shootout!
|
This is a pretty extensive example of how to use the Counters/Timers that are available to the Windows programmer. It uses the 3x most popular timers and allows you to decide which would fit your needs based on resolution, accuracy, and overhead. This example uses the 'Performance Counter', 'timeGetTime', and the 'TickCount' timers. |
|
|
|
Performing Safer Math Calculating when using String Variables
|
This example shows how to perform your basic Math like subtraction, addition, multiplication, and division using the numbers from a String based variable. Basically the example uses the Val() Function to help make it safer to use numbers from strings. IF the string contains no number or does not begin with a number, then it will simply return a 0 instead of throwing a error. |
|
|
|
Properly using DoEvents() in your Code
|
This example shows how to properly use DoEvents() in your applications. Just by looking at the screenshot you can see the performance increases MANY times over compared to consistantly using DoEvents(). Whats also nice, is that your application will NOT appear frozen and the user can STILL interact with your program! By using the GetInputState Api call you only process the messages when there is one. |
|
|
|
Restart, Shutdown, Log Off - Windows XP
|
This uses the Shell-Process class to run certain commandline arguments to Shutdown, Restart or Log Off the Windows XP operating system from your applications. I don't remember where I got the info for the command lines, to give proper credit. |
|
|
|
Rotating Images
|
Shows how to rotate images in various ways. There are about 16 or so rotations types built-in. |
|
|
|
Screenshot/Snapshot - Example
|
This is the source code to the csScreenshot/Snapshot application I made. This will take snapshots of the entire desktop or only a certain window. Can save it to the clipboard or a picture file and more. |
|
|
|
SetTimer/KillTimer API Callback Example
|
A simply example of using delegates to create callbacks for using the Windows Timer SetTimer/KillTimer APIs. These APIs can be used to add timeout/pause capabilities to fire your method every interval you specified in the code. |
|
|
|
Sending SMTP Mail
|
This is a basic SMTP example of how to send mail WITH attachments using the System.Web class library. |
|
|
|
Set/Scroll to the Bottom and Top of a Textbox Contents - Updated!: Added API Method as well
|
This is nothing more than a simple example of how you can cause the textbox control scroll down to the end/bottom of its contents and/or scroll to the beginning/top of its contents. This example uses native .net textbox codes and I then added codes to do it with the SendMEssage API call. |
|
|
|
System Tray/NotifyIcon Example
|
A example of how to put your application in the windows system tray. This example uses the NotifyIcon custom control. |
|
|
|
Tone Generator
|
This will generate sounds with different frequencys and durations. Could be helpful for a Morse code application. Same as the Classic VB Example just small changes to work with VB.Net. |
|
|
|
Ultimate Textbox Manipulating Example
|
This is a example that shows how to do almost everything you would want to do with a textbox control. There are Way to many codes to list here. But some of them are, searching, selecting text, page right/left, line right/left, page up/down, line up/down, getting line and character information, along with cut/copy/paste and adding, replacing, selecting text. Look at the screenshot to see what all if available. |
|
|
|
Yahoo Website Search Service Example
|
This is a simple example of creating a application that uses the Yahoo Search SDK Class to perform basic website searching and to get various info about the search results and info relate to each of the sites. While the compiled class is in this download, I recommend that you go and download the Yahoo Search SDK. Once you download and unzip the SDK, check the the: VB.Net\yahooSearch\Yahoo.API directory for many different source codes. Remember to add a reference to the sdk's compiled class located in the Bin directory under the: VB.NET\Yahoo.API path when you create a application. Click Here to get the SDK! |
|
|