Results for "Author: jan botha"
I bet you're one of those programmers that want to time something in your code, aren't you? Well, with this code you can! This, is a Stopwatch! Not one of those that screw will up when midnight occurs while you're timing. This is... no, not Y2K compliant, infact, it's midnight-compliant! (Fully documented code!)
This is a class that you can use to make your app pause for a few hours/minutes/seconds or milliseconds. This will work even if midnight occurrs while pausing! (Thus, this is midnight-compliant, just like my CStopwatch class I submitted earlier.)
This module enables you to manage file types programmatically (by accessing the Windows Registry). For example change Text Documents (.txt) to open with a text editor other than Notepad; Change the icon of eg. Text Documents. And a whole lot more. I hope you find this useful!
Global Idle Check is used to monitor your system for activity. If found that your system has been inactive (idling) for the amount of time you specify, the code will call the IdleStateEngaged sub, which is where you can put your code. The code demonstrates the use of the GetAsyncKeyState as well as the GetCursorPos API's. The code continually monitors the state of your keyboard and mouse buttons, as well as you mouse position. This submission is commented quite heavily, and I hope it is easy to follow. Please vote for me if you think I deserve it. Give me comments as well, please. If you've always wanted to create a screen saver that is independent of windows, you can do so now.
I bet you're one of those programmers that want to time something in your code, aren't you? Well, with this code you can! This, is a Stopwatch! Not one of those that screw will up when midnight occurs while you're timing. This is... no, not Y2K compliant, infact, it's midnight-compliant! (Fully documented code!)
This is a class that you can use to make your app pause for a few hours/minutes/seconds or milliseconds. This will work even if midnight occurrs while pausing! (Thus, this is midnight-compliant, just like my CStopwatch class I submitted earlier.)
Use this module to do many calculations concerning dates. I will maybe add a few more later on. This module inlcudes the following Functions: 1. DayOfWeek (Returns the day of the week of a certain date) 2. DayOfYear (Returns the day of the year, eg. 31 December 1999 will be 365) 3. DaysBetween (Returns the amount of days between two dates) 4. DaysInMonth (Retruns the days in a specified month, eg. 29 in February 2000) 5. DaysInYear (Returns the days in a specific year, eg. 365 in 1999) 6. IsLeapYear (Returns whether a year is a leap year) Come on in, and take a look!!
This class can do EVERYTHING that a collection can do, and more! Collections are slow and use alot of memory, as far as I know. With this class you can enjoy the same Add, Remove, Count and Item methods of a collection as well as new methods which are, MoveDown, MoveUp, Clear. Check this!! I've written it so that you have the ability to access items by either specifying its key or index!! Enjoy!!
This module enables you to manage file types programmatically (by accessing the Windows Registry). For example change Text Documents (.txt) to open with a text editor other than Notepad; Change the icon of eg. Text Documents. And a whole lot more. I hope you find this useful!
Global Idle Check is used to monitor your system for activity. If found that your system has been inactive (idling) for the amount of time you specify, the code will call the IdleStateEngaged sub, which is where you can put your code. The code demonstrates the use of the GetAsyncKeyState as well as the GetCursorPos API's. The code continually monitors the state of your keyboard and mouse buttons, as well as you mouse position. This submission is commented quite heavily, and I hope it is easy to follow. Please vote for me if you think I deserve it. Give me comments as well, please. If you've always wanted to create a screen saver that is independent of windows, you can do so now.
I bet you're one of those programmers that want to time something in your code, aren't you? Well, with this code you can! This, is a Stopwatch! Not one of those that screw will up when midnight occurs while you're timing. This is... no, not Y2K compliant, infact, it's midnight-compliant! (Fully documented code!)
This is a class that you can use to make your app pause for a few hours/minutes/seconds or milliseconds. This will work even if midnight occurrs while pausing! (Thus, this is midnight-compliant, just like my CStopwatch class I submitted earlier.)
Use this module to do many calculations concerning dates. I will maybe add a few more later on. This module inlcudes the following Functions: 1. DayOfWeek (Returns the day of the week of a certain date) 2. DayOfYear (Returns the day of the year, eg. 31 December 1999 will be 365) 3. DaysBetween (Returns the amount of days between two dates) 4. DaysInMonth (Retruns the days in a specified month, eg. 29 in February 2000) 5. DaysInYear (Returns the days in a specific year, eg. 365 in 1999) 6. IsLeapYear (Returns whether a year is a leap year) Come on in, and take a look!!
This class can do EVERYTHING that a collection can do, and more! Collections are slow and use alot of memory, as far as I know. With this class you can enjoy the same Add, Remove, Count and Item methods of a collection as well as new methods which are, MoveDown, MoveUp, Clear. Check this!! I've written it so that you have the ability to access items by either specifying its key or index!! Enjoy!!
This module enables you to manage file types programmatically (by accessing the Windows Registry). For example change Text Documents (.txt) to open with a text editor other than Notepad; Change the icon of eg. Text Documents. And a whole lot more. I hope you find this useful!
Global Idle Check is used to monitor your system for activity. If found that your system has been inactive (idling) for the amount of time you specify, the code will call the IdleStateEngaged sub, which is where you can put your code. The code demonstrates the use of the GetAsyncKeyState as well as the GetCursorPos API's. The code continually monitors the state of your keyboard and mouse buttons, as well as you mouse position. This submission is commented quite heavily, and I hope it is easy to follow. Please vote for me if you think I deserve it. Give me comments as well, please. If you've always wanted to create a screen saver that is independent of windows, you can do so now.
Use this module to do many calculations concerning dates. I will maybe add a few more later on. This module inlcudes the following Functions: 1. DayOfWeek (Returns the day of the week of a certain date) 2. DayOfYear (Returns the day of the year, eg. 31 December 1999 will be 365) 3. DaysBetween (Returns the amount of days between two dates) 4. DaysInMonth (Retruns the days in a specified month, eg. 29 in February 2000) 5. DaysInYear (Returns the days in a specific year, eg. 365 in 1999) 6. IsLeapYear (Returns whether a year is a leap year) Come on in, and take a look!!
This module enables you to manage file types programmatically (by accessing the Windows Registry). For example change Text Documents (.txt) to open with a text editor other than Notepad; Change the icon of eg. Text Documents. And a whole lot more. I hope you find this useful!
Global Idle Check is used to monitor your system for activity. If found that your system has been inactive (idling) for the amount of time you specify, the code will call the IdleStateEngaged sub, which is where you can put your code. The code demonstrates the use of the GetAsyncKeyState as well as the GetCursorPos API's. The code continually monitors the state of your keyboard and mouse buttons, as well as you mouse position. This submission is commented quite heavily, and I hope it is easy to follow. Please vote for me if you think I deserve it. Give me comments as well, please. If you've always wanted to create a screen saver that is independent of windows, you can do so now.
This is a class that you can use to make your app pause for a few hours/minutes/seconds or milliseconds. This will work even if midnight occurrs while pausing! (Thus, this is midnight-compliant, just like my CStopwatch class I submitted earlier.)