Results for "Volume: 5_2007-2008"
*bug fixes - you will want to redownload* This is a complete and optimized vb6 for vb5 function replacement module. Functions include Round(), Split(), Join(), Replace(), Filter(), StrReverse(), and InstRev(). I code alot of examples for friends and i found no good replacement functions that didnt rely on cheap string concatenation or that even functioned like the vb6 version does. This acts and does exactly what the vb6 fucntions do, and are optimized to work as fast as possible with pure vb code, while still being complete. When converting vb6 code to vb5 you will need to turn some of your arrays for split() an Join() into variants, otherwise its a simple drop-in solution. I have fully tested all these functions but if you find any bugs let me know an ill fix them ... enjoy :) *lots of bug fixes in each function, works much better now, lots of comments added, make sure to get this again if you downloaded it before*
SVD is a robust algorithm used for solving linear least squares problems, and systems of equations. Keywords: linear algebra, matrix, neural network, curve fitting
Sort arrays into alphabetical/numerical order. Uses QuickSort for large arrays, Insertion Sort for small subarrays, and CopyMemory APIs for string swapping. Fastest Sorting routine on PSC.
Grr....They took down my last upload of this.. But here it is again! This is 5 easy steps to make ur own kewl anti-trojan or anti-virus.
Acts as a small server which can either function as a proxy gateway or a bouncer. Uses a Winsock2 client. Good if either your mate or yourself is not able to access a site or server at school/college just use it as a redirector on port 80.
This will show you how to make a quick little splitter for an mdi form using only a picture box and an image control.You can set limits for the minimum and maximum widths. I also use a stopflicker routine for a smooth transition at the minimum and maximum widths. This is not one of the best ways of doing this but it is quick and it does work
Updated November 2007, fix a DEP problem. CDECL DLL functions cannot be called from Visual Basic... or so they'll tell you... such dll's use a incompatible technique for parameter stack cleanup. The included class uses VB+ASM to slay the "impossible" cdecl call dragon, even allowing 'C' style variable length/type parameter lists and the use of VB bas module functions as cdecl callback routines. The convention used with a cdecl function is that the caller cleans the stack on return; the stdcall convention is that the called function cleans the stack at function end. The advantage of stdcall is reduced program size, 6 calls to a function, one bit of cleanup code. The advantage of cdecl is that variable length/type parameter lists are "safe" because the caller, he who pushed the parameters onto the stack, cleans the stack... he knows exactly how many parameters he pushed and thus knows the required adjustment on function return. Years ago I worked on a team that lost a project because of our inability to speedily resolve this issue for a third-party dll - So, perhaps not the sexiest submission of the week, however, it might just save your a*s someday. The included sample demonstrates variable length/type parameter lists and callbacks routines, focusing on the std 'C' library qsort (quicksort) function.
The server uses multiple winsock objects to provide multiple connections and it also uses multiple packet-sending to send large files via http safely. Please vote if you find this code useful.
See screen shot. Find text in a combobox or a listbox as you type.
Provides a Monthly Calendar and keeps track of the Important dates and appointments you have.
Add special effect to your form when it is showing and hiding! 6 types of effects can be applied. They are roll left to right, roll right to left, roll top to bottom, roll bottom to top, expand window outward and fade window. This program shows how to add these fancy effects. Make sure you have Windows 2000 and later or Windows 98 and later running before running this program. The program is well commented and a tutorial is included. Your comments and votes is the way you repay me for my work.
Replacing the nasty bsOctControls is the latest in BadSoft tomfoolery - the bsPolygonButton. This control will let you create a 3D button with between 3 and 100 sides, with customisable colours. For more UserControls please visit http://www.badsoft.co.uk/activex
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...
Learn how to not only create a DLL file, but also add it to another project, and call its functions, subs, and properties. This tutorial is step-by-step and very easy to understand. I made this because I noticed that all the other how-to DLL examples on PSC were pretty poor.
....unusually IMPORT external fuction to VB---!
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.
This piece of code was created by me but now since i have no use for it check it out. Basicly the program connects with socket compoments to the fuse server HabboHotel.com and contains a client sock and sends custom data and thats it but to add all the info together it comes up to to that it basicly connects recieves sends then custom sends.Dunno if this code is useful.Great code to learn spliting and a little bit of variable array looping :)
]]] An improved AutoResize Usercontrol [[[ Put this small selfcontained usercontrol to your form, add three chars to the tag property of every control to handle. Ready. Thats all! Based on the very good submission of Hamed Oveisi (look/vote at PSC CodeId=49740) I tried to improve/change some things ('Refactoring' is the trendy word for ;) ): * More possibilities in resizing (look at the 3D lines (frames) ). * No more flickering when forms gets too small. * No more call in the Form_Resize event neccessary. (In fact you didn't need ANY code.) (Ups! Just check out Hamed's last update. He did the same ;) ) * The tag value still can be used for "standard" purposes. (But you will need a (very) litte change in your code, sorry ;( ) * Its faster. * Handling is easier/more straight forward. (Only two simple digits in tag value to enter, not four) * Prepared for handling 'Lines', too. (Not done by me - I don't use lines ;) ) * A var naming convention is used, so code is easier to read/modify. * Demo and description extended. * ... All -(C) Copyleft on 11/10/2003 - Light Templer (LiTe)
learning for newbie programmers
Easiest way you will ever find to check if someone is online in Yahoo. Just enter the ID and it checks it.