Results for "Category: Miscellaneous"
A beginners guide to how windows (tm) works
Demonstrates how to implement a closed loop PID Controller. A PID controller is a closed loop control system (for real world applications) that is used to control systems that include feedback. some examples that may include a PID loop: temperature control (such as a thermostat) position control (such as a servo) speed control Includes a class that allows easy implementation in other applications. The *.frx files are now included please vode if you like this code.
When draged to top/left/right/bottom of the screen will snap to the closest side when it comes within 30(or other desired number) pixels of a side much like winamp.
Shows how to dock a statusbar control to the top-left-right-bottom of an mdi form, or make the statusbar detatch from the form and 'float'
Let me intoduce you to Langston's Ant. its an interesting demonstation of somthing called 'emergent behaviour'. Imagine a large surface made up of square, white tiles with an imaginary ant somewhere around the middle. The ant follows two very simple rules. The first rule states that if the ant is on a white tile, it turns black, and the ant then moves foward one square and turns left and continues. The other rule is, if the ant is on a black square, the ant turns it white, then moves foward and to the right and continues. When the ant starts to move, the movement appears random. At around 10,000 moves it suddenly switches to a fixed and repeditave pattern of movement that it wont deviate. Even if the surface is seeded with black squares, the result is the same, but the number of moves will be more. You will find that in all instences the same final fixed pattern is acheived. So far, no one has come up with mathematical proof that this will always be so. * for versions earler than VB6, delete the private from the sub to get it working.
This is a activex control to help you with the system tray icons handling. I've never seen another like this. It's very easy to use, and i show some great stuff!! This is a really old project, but it´s useful! It has 5 mouse events as follows: * click * dblclick * mousedown * mousemove * mouseup It never was too easy!!
This code successfully compiles VBScript code into a .VBS which acts as an .EXE! It has many functions such as "Run" and "Last Run", along with the usual "New", "Open", and "Save" abilites! If you know VBScript (it is almost exactly the same as Visual Basic) then this program will be a temendous help. VOTE FOR THIS!!
ResChanger will change the screen to the specified resolution and color depth, execute an application, and change the screen settings back when the application terminates. Execute the application for command line parameter specifications.
This program is a demo that allows you to command the different Microsoft Agents to do certain things. You must have Microsoft Agent to use this. You can download it at http://msdn.microsoft.com/msagent. Upon request, I have added the ability to move actions up and down, as well as save and open commands.
PLEASE RATE THIS CODE, MORE SMS CODE TO COME! This application allows you to send SMS to a mobile phone via the ICQ system, very simple code (when you know how), instant delivery, full 160 characters. NOW SUPPORTS RECEIVING OF SMS!
This project demonstates how to prevent keystroke recording for your application. Actually it would be a keystroke recorder jammer, because it sends out a continuous stream of random keystrokes and validates these against the internal streambuffer.
This will help the beginning programmer with some basic stuff. Has a Code Window to view the code for the current item in a webbrowser control. Shows how to change Title (caption), onmouseover effects, progress bar stuff, centering forms, resizing form and contents, adding items to listbox, inserting text, etc. Tell me what you think about it.
This has got to be the easiest way to have a splitter on an MDI form. See ScreenShot. Please leave comments and/or vote.
This has got to be the easiest way to resize a borderless form (borderstyle=0) and move a form without a titlebar!!! NO API!!! Please comment/vote.
This is a cool closing effect for your app. Tell me watcha think!!
Secure method of removing duplicate entries from a combobox. Optional second pass to remove possible 'left-over' dupes after first pass.
sets your app to be of "High" priority
This handy VB addin allows you to set the tabindex of the controls of a form. Imangine having to set the order in a +100 control form, this makes it easy. It also omits labels and other controls wich cannot get the focus.
A few days ago, TimeStink uploaded a piece of code called The Best Randomizer Ever. I just uploaded this to show TimeStink a much faster way to do the exact same thing.
This program dedects if system has a CD-ROM Drive(s) or not. If exists tells the drive letter(s) of your drive(s)