Advertisement

Results for "Volume: 4_2005-2006"

4_2005-2006 #160341
Gear Toy

Gear simulation! You select a gear (by clicking the very center of it) and adjust the parameters. Spin the gears with the Rotate slider. Based on Gear-Box by Emilio P.G. Ficara http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=73622&lngWId=1

4_2005-2006 #171952
Bilateral Filter - Cartoonizer (08Gen2011)

This application applies Multipass Bilateral Filter to color Images. Bilateral filtering is an Edge-preserving smoothing filter. This technique extends the concept of Gaussian smoothing by weighting the filter coefficients with their corresponding relative pixel intensities. Pixels that are very different in intensity from the central pixel are weighted less even though they may be in close proximity to the central pixel. This is effectively a convolution with a non-linear Gaussian filter, with weights based on pixel intensities. This is applied as two Gaussian filters at a localized pixel neighborhood , one in the spatial domain, and one in the intensity domain. Cartoon: To obtain cartoon-like results, these new effects have been implemented: * Contour * Luminance Segmentation **' Licence: GPL3 ***

4_2005-2006 #172122
File Explorer

Advanced File Explorer that uses Tree View and List View to show files and folders.

4_2005-2006 #171929
account & inventory manage

This is a perfect Accounting & inventory management application, user can maintain all basic accounting payment, receipt, sales, puchase, sales return, purchase return, contra & journal with inventory management. user can manage inventory with serial number. creat stock summary, trial balance sheet, user can find perticular serial number stock item account. and basic payroll system as well. many futures included in this application. enjoy it & if you like it please vote it. Thank you for using this application. ajay patel

4_2005-2006 #167471
Periodic Table Game

Periodic Table Game. Sorry If I don't have a screenshot, I don't have a VB6 installed on my PC. I've done this game for a very long time.

4_2005-2006 #160342
Racko Card Game

Racko card game. It's fun! It's addictive! Play against 1, 2 or 3 CPU players. Instructions included in the help chm. Be first to score 500 points in several rounds of play. Each round, you replace the cards in your rack so their numbers read in any numerical progression from a LOW number at the front to a HIGH number at the back. [Update Jan 11: Various changes and new features]

4_2005-2006 #171951
Crowd Simulator

Crowd Simulation - Virtual Walkers - realistic walking in virtual world.

4_2005-2006 #169538
How to Use DyCOMHelper to achieve Real inheritance in vb6..etc [UPDATE]

You can download entire demo file from this url:http://www.ph586.net/soft/TestDyCOMHelperLib.zip Before you use this demo, you should do by the following steps, 1.Include DyCOMHelperType.tlb and TestInheritLib.tlb under Types directory to this project. 2.You needn't to include DyCallerLib.dll and DyCOMHelperLib.dll.because they are standard dlls. 3.Start with pressing F8 and see how it works Somthing improfect: you need to create type Lib manually by the tool which can be found in the CD distributed with Advanced Visual Basic 6 written by Matthew Curland. More information can be found on the website http://www.powervb.com/ we will provide tlb creation tools which can transfer VB6 Codes to type lib in the future . There are three classes which are Animal, Wolf and Demiwolf. Demiwolf inheres from wolf, wolf inherets from animal and animal is derived from IDispatch. This is to show you how to achieve real inherence in VB6, how to create object and use it. It will bring you to the world of COM at the back of VB6. Let us have a look at it. Features of object created by DyCOMHelper: 1.Object is written in Moudle(.bas), not in Class Moudle(.cls). 2.Object is lightweight. Every instance ocupies 20 bytes in memory which is about 20% of VB6's(at least 96 bytes per instance). 3.Type is defined in TypeLib(.tlb file) currently. 4.It can be used like object of VB6. Even though it is not created by VB6 object system, it can be identified by VB6 as object. 5.It supports late binding, error handling, multible interface in one class, etc.. 6.It supports real inherance which will be explained by this demo. 7.Speed of function invoking in IDE is 21% faster than that of VB6 Class. After you complied, it is 50% faster than that of VB6 Class. 8.Speed of instance creation is 10 times faster maximum. 9.Speed of instance release is about 100 times faster maximum. 10.Instance creation mode is richer than VB6. Instance of VB6 Class is created on heap whose spead is very low. While, DyComHeper could let you create your object on either heap or stack. DyComHeper can also support you to create from certain struct(UDT) or fix size memory manager supplied by DyComHelper which is written by Mathew Curland. 11.We supply you real pointer access to the inner data of an object created by DyComHelper with faster speed. 12.Creating thousands of classes by DyCOMHelper, you won't need to worry about efficiency. You will find more good features about it.

4_2005-2006 #171935
PENGUIN REG FIX

A SMALL APPLICATION TO FIX REGISTRY.......

4_2005-2006 #170417
Simple Hotel Booking Program

A simple Hotel Booking Program. With its basic tasks: Reservation, Check-In, Check-out, an informative Room Status screen, and Reports.

4_2005-2006 #169887
Elastic Trail

Elastic Trail with Png Images

4_2005-2006 #166604
Valid & fast TrimNull

While I think these TrimNull functions are a bit silly business, I guess they're mostly used due to lack of understanding of Windows API return values or of the file that is being processed, here you can find proper implementations of the LTrim & RTrim equivalents for NULL characters. Instead of InStr of any kind the string is processed as Integer array, without making a new copy of the string. This allows full control over the validation process and thus string is properly parsed from any NULLs at the end or beginning of a string. A test program is included for comparison which shows the bugs in other implementations. Also a bit fuzzy logic RTrimZZ is included: it is fast, but it is mostly dedicated to cases where you expect a buffer full of NULL, except for the actual data at the beginning of the string. The functions are long but fast.

4_2005-2006 #166510
Duplicate characters

This is quite a rare need, but here is a very fast solution for finding out whether there is a duplicate of any specific character within a string. Some people use InStr or InStrB as a solution for finding out a character duplicate, but the drawback is that InStr gets slow very fast if the first few characters are not duplicate characters. Also, if there are no duplicates then InStr loops the whole string the amount of length of the string, which can mean hundreds of times at worst case scenarios. The project provides two functions: HasDuplicates and HasDuplicatesM, the latter is class wrapped. The first one is a straightforward InStrB version. The second uses bitmasking in a Long array as well as safe array tricks to get Integer array access to the characters of the given string. Both functions return a character position of the first duplicate they find, however the results between the functions are always different, because InStrB version returns the first character while the safe array version returns the duplicate. InStrB version can be changed to work the same way. This code was requested at VBForums, I don't know why, but I made it anyway. The code should have enough comments for people to learn some advanced VB6 memory tricks.

4_2005-2006 #166511
Small tips: validate control array index

I've seen many ways to check whether a certain control index exists in a control array, where all indexes are not filled. For example, you could have a control array of labels with indexes 0, 1 & 3. I guess one of the most common ways to check for this is to use On Error, but I've always found resorting to rising errors a bad habit to do. A much better another alternative is to loop through the control array using For Each and check for the Index property, but even this becomes a bit silly if you know the index you want to check for and loop the entire control array just to check if it is there or not. The solution: VarType() VarType returns the variable type of default property of a control, ie. VarType(MyLabels(1)) returns 8 (vbString), from Caption property. What makes this usable for sniffing for valid index is that VarType returns 9 (vbObject) for invalid indexes! There is no control that returns an object in their default property, making this a perfectly safe method to check if an index exists or not.

4_2005-2006 #166512
Hex string & byte array conversions

These functions convert hex strings from/to byte arrays. A quick introduction to each: HexStringToBytes_A1: one of the most common ways to turn hex string to byte string using "&H" string conversion to a byte value. HexStringToBytes_A2: an optimized version of A1, grabs bigger values in one go and reduces amount of strings created. HexStringToBytes_A1: fills byte array using AscW & MidB$ HexStringToBytes_A2: same as before, but uses the passed string as a buffer instead just for comparison. Slower as creates more strings than A1. HexStringToBytes_C1: uses Windows CryptStringToBinary API. HexStringToBytes_S1: uses a lot of advanced VB6 tricks to achieve the greatest speed. API just can't compete with this one. HexStringToBytes_F1: uses advanced VB6 tricks like last one, but allows for any formatting in the passed hex string (such as spaces, line changes or anything else – simply looks for any valid hex pairs it can find). Shortly put: the C1 and F1 functions can parse "41 00 42 00 43 00", with formatting. The others only accept "410042004300", no formatting. Those hex strings would convert into a byte array: B(0) = 65 B(1) = 0 B(2) = 66 B(3) = 0 B(4) = 67 B(5) = 0 Or "ABC" as a string (Dim S As String: S = B). There are also functions working the other way around, BytesToHexString_C1 & BytesToHexString_F1. C1 is a version using CryptBinaryToString API while F1 is an optimized function that allows for custom output formatting! You can have any kind of formatting: none at all, just spaces between each hex pair, HTML, XML, C notation, JSON... use your imagination. Not only that, the F1 version is way faster than the C1 version with the exact same output! The following tricks are generally used for speed in the S1 and F1 functions: Safe arrays: VB6 stores arrays internally as safe arrays. The function creates "fake" Long and Integer arrays. Integer array for accessing the string data (1 character = 2 bytes = Integer) and a Long array for memory manipulation (PutMem4 & GetMem4 replacement) as well as saving the decoded hex string to the byte array. SysAllocStringByteLen: this API creates a BSTR and it does that very fast, especially if pointer is set to 0, in which case you get any free point from memory. That memory is not touched in any way except for setting up the minimal BSTR structure information (4 bytes string length & 2 bytes null terminator). This memory is not given to a string however! Instead it is given to the resulting Byte array. Why? It saves an unnecessary step of nullifying all the bytes that are reserved, and this always happens if you just ReDim an array. Long is the fastest datatype in VB6 in current processors. This is why a Long array is used to store the new bytes into the Byte array instead of just using it directly. Summa summarum: these functions should give good knowledge for anyone who wants to understand how memory can be handled so that you achieve better performance code in VB6. It isn't pretty though.

4_2005-2006 #167865
VB6 Mass compile

This may help some of you that have a need to perform mass compiles using Visual BASIC 6.0

4_2005-2006 #171910
Generador de Clases BD, Class Generator BD

Generador de Clases en VB6 para acceso de datos a tablas funciona en muchos motores de BD. Class Generator Access BD. MANY BDS. Repaired bugs and SQL class support. Actualización para crear clases a partir de un SQL especifico, bugs mejorados y no requiere esquemas.

4_2005-2006 #171961
Electric Guitar - Bass

Physical Modelling Synthesis to create sounds of Electric guitar / bass guitar . [ Movable pickups , Frets Slide ] http://www.youtube.com/watch?v=yZhstUIitYc http://www.youtube.com/watch?v=4DbVcyov8nw

4_2005-2006 #172114
Simple Login System [UPDATED version] 03/31/11

Allows users to learn how to connect to database and how to access data entries, add, delete. how to call api, listview tricks etc.. please do rate my work, and please post some comment, thank you very much. fix some bugs and added some new features

4_2005-2006 #156172
Roulette Menu

It is a nice 3D Program for your Desktop. Allows choise the image and action for each Icone. 4 Roulette types, with Zoom and Stretch features.

Languages
Top Categories
Global Discovery