Results for "Category: Miscellaneous"
This code is an example of how to send text to the Ultima Online game window (to say out loud) using API and not SendKeys like most people do.
I was wondering whether MMX/SSE instructions could be employed to improve on the performance of CopyMemory for large blocks of data. Well, as you can from the screenshot, in some scenarios huge benefits can be wrought. Though I have to state, overall, the best strategy is to play nice with the cache and ensure that both source and destination are aligned on 16 byte boundaries. Nota Bene: The ASM routines DO NOT work with overlapped source and destination, though why a VB programmer would be doing that, I can't imagine. Don't concern yourself that that a user's CPU might be ancient and not support either MMX or SSE instructions, if those capabilities aren't found, then the cMemory class seamlessly falls back to using the regular api functions. For actual usage, use the cMemory.cls which chooses SSE over MMX, if available, automatically, rather than the cMemTest.cls, as used in the sample project, which was written just so that I could demonstrate both MMX and SSE codes against each other. Just for fun, I also test the equivalent C run-time functions memcpy, memmove & memset. The screenshot was produced on a P4 @ 1.8GHz See comments below for update details...
I wrote this project because viruses are increasing dramatically and are becoming more and more everyday and I wanted to give a hand to fight them, not that this project will exinquish all the viruses but at least it can be developed by many programmers and become a great tool for removing new viruses. Please respect my work, leave comments(important!) and if you like it vote for it.
Code Organiser "beautifies" your code, i.e. automatically indents it properly. You tell it which project to organise, and it will allow you to select which forms, modules or classes to modify. Extremely useful for making code much more readable.
This is a class module that will return a midpoint color between a start and end color. You specify the start color, end colors, and a percentage to find out what color falls in between. A method is included to draw gradients on a form or picture box. This is a standalone class module. A project is included for testing the class, but you only need the class module in your final code.
I think I have finally got it working the way I wanted. Use it to measure pixels on screen or in projects.Hope you like it.
This is an improvement upon my ColorFade class. Supply up to 11 colors (0% to 100% by 10%) and it will produce a gradient on your form or picture box. Optionally choose up to 8 sources for the gradient (4 sides, 4 corners). The only file needed is the class module. The test project is for demonstration purposes. Updated with comments. Added a new UnSetColor method.
This is a really good demo that will help show you all the basics with using a listview and how it works compaired to a listbox. I added as much comments as I could and I think it will really help you to get started with using a Listview.
Another contribution to existing code. Very quickly sort a two-dimensional array containing any amount of members (ex: vArray(5,1000) by simply identifying the member of the array to sort on. This routine has links to the original authors' posts in the source. My only contribution was to tweak for use in more than a 1-dimensional & 2-dimensional/2-member arrays. Please no voting on this one; 99% of it is the work of other coders. PS. Revised by switching the array elements around properly,i.e, from vArray(1000,5) to vArray(5,1000). Revised once again (21 Nov) to offer fast search on sorted array & to properly handle non-zero based arrays.
Dont spend 100's of $$$ simply to have a look at the assembly language listings of your VB code. Use this free program. NOTE : Download this only if you understand assembly language. Not for new programmers. Keywords : ASM, ASSEMBLY, COMPILE, EXE
this code makes a effect with picture box, this code make copies of this picture box and make the effect like a menu it's cool and funny...
Learn to crack visual basic applications, learn how to protect yourself from crackers. This is a video , that means multimedia, so sit back relax and Watch in learn.
CodeSense is a control that allows you to have syntax highlighing, autocomplete and function tooltips in an edit control. Unfortunately, it doesn't include a proper VB example. This example shows you how to properly use the CodeSense control in Visual Basic, providing AutoComplete, function tooltips and syntax highlighting. If you go to http://www.dansoftaustralia.com/index.php/3/1 then you can see some screenshots of stuff you can do with the control (the last 2 screenshots aren't included). NOTE: you will need to download the CodeSense control (version 2.22) from http://member.telpacific.com.au/daniel15/cmcs21.ocx and register it for this code to work.
This is for a beginner who requested I add source code so that he could learn from it.
This code lets you turn almost any program into an AppBar (that is, make it a dockable toolbar on your desktop). You could for instance, have MSN Messenger docked at the side of your screen so it's always visible and other windows don't maximize over it. The AppBar and TaskBar DLL code was mostly not written by myself; I merely combined the two into this project because they did what I needed them to do. You should run the GROUP PROJECT and NOT the individual projects. Thanks to Patrick Bigley for the AppBar code and Jim White for the Taskbar code.
see screenshot for explanation.
Log-in forms of the systems I've seen are so monotonous so I have made this innovation, take a look!
This is a normal Message Box, but with a timer which will make it disappear after a certain amount of time. The return value depends on whether the user clicked one of the buttons (when the normal MsgBox return values are handed back) or whether the box was closed automatically - in this case a zero is returned.
This code attempts to detect and disable the following: (If it can't disable, it'll just quit) Win32Dasm, Debuggy, OllyDBG, ProcDump, SoftSnoop, TimeFix, TMR Ripper Studio, Regmon and Filemon. It also attempts to add protection against other step-debugging applications. (TimeFix-kill used before this check too!!)
Generate 3 of 9 barcode (in just 1 sub). No special fonts used, just code. This is an update to one of my old submissions.