Results for "Category: Miscellaneous"
Pentium class cpu's include a 64 bit register that increments from power-on at the CPU clock frequency. With a 2GHz processor, you have in effect, a 2GHz clock. The cCpuClk class allows the user to retrieve the 64 bit CPU clock cycle count into a passed currency parameter. The class can be used as a basis for sub-microsecond benchmarking and delay timing. Note that with the extreme resolution provided, multitasking and the state of the cpu caches will show in the results. Thanks to David Fritts and Robert Rayment for the vtable trick. Update 7/1/2003 - I said... at this resolution cache FX come into play. In determining the call overhead, I should have born that in mind. Just goes to show you have to be extra, extra careful with benchmarks. Update 7/5/2003 - I got asked to do an article for a benchmark site based on this submission so I thought I'd put a little more effort into the data displayed. See new screenshot.
This is a must-se example of ListView. It shows how to load, save the listview in a VERY easy way! It shows how to load other programs FROM the listview and how to get the filename, path, size from a selected file from a file list. Discover how easy it really is!!! Please VOTE!
Seems my previous submission had some modules stripped out of it ,so here is a remake.Good luck guys,don't let the lady of the house get hold of this.Howdy from Texas.Oh,not responsible for any extra chores.
A program for opening various programs of Windows. It shows you how to run other programs through VB.
One line code to display: 1 Display Control panel 2 View the display settings 3 Display Mouse settings 4 Display the Keyboard settings 5 Display Modem settings 6 Display Printer settings 7 Display time/date settings Reposted from : "Stringer" ([email protected])
[v 1.1] You can use this class to sort ListView columns that contains numbers, dates and time. uSc_ListView_Xtended_Sort is not very fast, but it's powerful and easy to use and customize. Update: Now it shows sort icon on right
Now UPDATED whit an example There are 2 maps in the zipfile, in the map host you'll find a project and if you compile it, it will become the dll that your program has to use to let the plugins work. The second map is named "Plugin" and there is an example of how your plugin can be made EVRY FILE that is in the project of the map of "plugin" is necesarly to let it work like it must except form1, you can change that and ofcourse can you add your own things. An other important thing is that the projectname and the name of the dll (plugindll) is the same. PLEASE GIVE ME A GOOD RATE FOR THE CODE. I've done a lot of research to acomplish this (al code is selfwritten, except if there is standing some reference to another coder in the module)
An interesting and simple program to demonstrated how bot prevention pictures are made (like the vote one on this site ;-) ). Also included is a new feature that would further confuse any OCR program. I have included extensive comments to try and make it as clear as possible on what’s happening.
Use this function to determine if the scrollbars on a control are visible.
Fast Bit-shifting Class Demo (Update + ASM files)by Robert Rayment. Thanks to David Fritts for highlighting this method on PSC (CodeId=45885). I've corrected the assembler and Ulli has recast it in his own inimitable style with some explanations. In fact the method is the self-same as that used by Dmitry (CodeId=11830) a few years ago. The main point is that, when comparing fast EXEs, this bitshifting class is over 10 times quicker than the standard VB way using functions of the form 2^p. This description is extended in Notes.txt.
Did you ever sad that vbscript is simply not enough for your needs. Here it is how to extend it.
I have noticed a few uploads where the code was just a bit off because of incorrect handling of the counter variable of a 'For' structure,so conducted some experiments. This is the result, nothing great but might help someone. It's a bit long so I zipped it as well, so you can read off-line. Additional input welcome.
Teaches you how to use common richtxtbox controls there is also a module that teaches you how to print text in a richtextbox! enjoy :)
Get your local ip with just 1 line of code! Get it fast and easy as hell! :)
**UPDATED** Finds the OS (Operating System) information of the computer the app is running on. Please give feedback and vote if you like.
Get the System OS
This simple little program will count the number of characters in a TextBox. Please leave your comments and votes, thanks :)
Program demonstrating how to add menu item runtime.
FlexGrid Control demo
Demonstration program tells u how can use .chm (HTML) help file into your application program.