Results for "Volume: 6_2008-2009"
This is an application I designed to simulate the mitotic replication of single cellular organisms. It demonstrates this process with two types of cells, animals (Animalia) and plants (Plantae). When the simulation is initalized, the origional two cells (Adam and Eve) begin replicating, spawning new cells. The red tiles symbolize the animal cells and the green tiles symbolize the plant cells. Each cell is its own individual entity, and the only overhead there is in this simulation, is time itself. The cells are self-contained and constructed using a single class module (clsCell) which is manipulated into whatever type of cell is required. Every minute, the simulation data is appended to a log file which can be found in the "logs/" folder.I added in a sterility feature to show the parabolic bell curve created by a sudden loss in reproductive abilities. Other than that the code is fairly self-explanitory.
These are some functions that I use all the time that Microsoft left out of core VB. Some of them are more useful than others, like IsEven()/IsOdd() and IsLeapYear() and PlaySound() and SaveString() and GetPathDir(). Some of this source is borrowed and modified from other authors' sources, but at least half of it is original. I have rewritten this code to put it into a class module, and then I compiled it to a DLL. I use the DLL all the time in projects. Very handy!
Wallpaper Cycle 1.1 is an automatic wallpaper changer. Unlike version 1.0 you can now view the image files in a directory as thumbnails like in Windows Explorer. Another good thing is that the thumbnails only load as they come into view. With Wallpaper Cycle 1.1 you can choose if you want the wallpaper centered, tiled, or stretched. You can also quickly view all the files in the wallpaper list (as thumbnails, if you wish) by double clicking on the tray icon, you can also quickly set the wallpaper from the wallpaper list by double clicking on the thumbnail or by clicking on it and then clicking on Set Wallpaper.
I wrote this code when i was developing a software for an Estate Agent. The code copies the database path in the System Registry and everytime picks it from the registry. If connection fails another dialog box opens where you can specify where the Database is saved. Secondly, you can take out the report of all the data in the table using MS Word. A small routine to accomplish the task. This is basically a three in one program. Save DB Path in the registry, Create Report using MS Word and Specify the database path. Just copy extract the .zip in C:\post directory. Please rate it.
This code is an example of how to make a frame control.
A new Cool Aqua Button + Images, if your not afraid of having ago who knows whats possible...
Simple but useful (for somebody) utility for stripping ID3v1 and ID3v2 tags from any file. It's API based and much faster than version 1.0. It removes tags from all files inside selected folder (or subfolders).
Some cool animations with some useful techniques like antialiasing, SafeArray, dynamic creating of picture objects using API, partial window redrawing and other. Code is relatively fast but can be much faster using assembler optimizations (maybe later).
I have seen many ways to do this using that evil ocx (not open source); but this is pure vb!!!! I origionaly posted this on VBForums and decided that I should post it on PSC so here it is. ONLY works on 98 and ME. Please vote and leave feedback.
This Code was written by Dave Andrews and modified by Tom Pydeski It is an api form with a listbox which can be used as an inputbox replacement where the user is presented with a list of choices in a listbox form instead of the standard inputbox. modifications include: made list 3d automatically size list based on the number of entries and the width of the longest entry added the keystroke capability added the option of changing the font to that of the calling form or any of its container controls that support .textheight. added double click capability to the list
Re uploading my xp side menu the BEST on psc was in 6th pos before some %*°_£% hakker hacked the system
Linear (any angle) and circular gradients. Parameters: pressure (transparency) and frequency.
Repost due to a %$)£?&!! hacker.... This class allows you to detect changes in system date and time. It raises an event whenever the date and time is changed by means of the control panel applet. You will need the SSUBTMR6.DLL that you can find at www.vbaccelerator.com under Libraries->Subclassing without the crashes.
This database comparison tool can compare 2 databases for differences. It can give you missing Tables, a script to create it... Check 2 tables for missing cols... Right now this works with only MS Access Databases... planning to include SQL Server and Oracle too.... This uses ADO objects... so mdac 2.5 is required on your machine. This is available in Microsoft's Website.
This editor is only GUI application for Netwide Assembler. You can build binary file, dynamic-link library (DLL) or executable file (EXE). It has good compiler and linker error handlers (error line is highlighted after compiling). You can get help for any instruction or directive by pressing F1 (just like in Visual Basic). Project has some executables not allowed on PSC, so download here (+ help + libs + samples +++): http://flashlight.webpark.cz/eindex.htm
The purpose of this code is to allow you to provide help for your menus. When someone moves their mouse over a menu it will raise an event telling you the caption of the menu the mouse is over. This will allow you to have a status bar that will help them understand what each menu item will do.
This will allow you to stop the form from being resized below or above a user-defined amount. Because it uses subclassing, it is totally flicker-free.
Simple scripting language using classes. Uses callbyname function to run a classes methods. This allows for very fast parsing, because there is no IF Then or Case statements. Create a class module with the functions that you want in your scripting 'language'. Then you can simply send a string of text into the class' parse function to get the name of the function and the values to be operated on. After you have gotten the name, use CallByName with the vbMethod operator. This is a quick class (OOP) example. To keep it simple, I didn't include properties, only public and private variables.
This submission was deleted due to the recent hacker attack. So I'm re-posting it to give access to other users who want this code.
API for beginners made easy. Yet another submission for beginners. The API is sometimes avoided when first starting VB programming because it seems too difficult. In fact it's quite easy, just experiment. I've tried to split the code up to into various modules to make it clearer to undertand. Vb controls sometimes lack some properties we as programmers need. The API can be used to return those properties to us. In addition API gives us access to built in dialogs and other functions not otherwise available through VB. This demo covers only a few of the more common API functions, there are hundreds and hundreds of others! Modify VB Controls: Listview Flat Column headers, Treeview no tooltips, Progress bar change back/forecolor, Textbox - lower/uppercase and numbers only, Command button - thick edge, flat, hover. Dialogs: Open, Save, Browse for Folder, Printer, PageSetup, Color, Font, Add to Favorites, Organize Favorites, Import/Export Favorites, About. Functions: GUID Generator, Unique Temp filename, IE Version, Keycode giver, Hard Disk info, Common Paths, Long filename, Short filename, FileExists, Binary open/save String Parsing: Pathonly, Fileonly, ExtensionOnly, ChangeExtension, Unique filename, File size, Trim null characters. I recommend you visit www.allapi.net for excellent downloads regarding the API - but be quick, I understand the site is closing soon.