Results for "Volume: ASP_Volume3"
The best way to flood fill is to use ExtFloodFill. Absolutely vital functionality for graphics applications. Trouble is it doesn't lend itself for use with .NET. Your only alternative to ExtFloodFill is to use recursive routines to scan an image and change pixels colors appropriately. This can be quite inefficient and take an unreasonable amount of time to perform. There was quite a good example last month here on PSC and I've seen a good one by Bob Powel. Searching on the intenet for ExtFloodFill and .NET will return many examples of people wanting to use ExtFloodFill but I have yet to see a solution. So here it is.
LandMass is based on the old Commodore 64 game "Lords of Conquest" by Electronic Arts. This game played a little bit like the board game Risk, only there were different playing pieces and --here's the cool part-- the playfield was generated randomly, so that no two games were the same. As it stands right now, LandMass simply generates a random world based on settings that you can tune. Each world is composed of countries and water. Countries that border each other are shown with a borderline between them. Each country has properties that can be read, such as its color or which other countries border it. LandMass also contains a small example of how to read map parameters and interact with the map. The program is class-based, which means you can take the Map class and drop it into your own program. And since each map is a separate object, you can generate multiple maps at once. With very little work you can have cool custom maps in your own program!
Ah! Simply The Best... This code allows you to play as many Waves as you like, no limit Can set up DirectX7 sound with just 3 calls. Must have Dx7 installed. www.microsoft/directx Have Fun... Send me your games.
This Is A Fully Featured Game. IF YOU PROGRAM GAMES IN VB YOU MUST SEE THIS ! The aim of the game is to save earth (it is set in the future). This Game Includes Over 60 files, of which 25+ Contain vb-programming !!. It Aslo Includes PicClp32 (ver. 6) For The Vb5 Users, So There Should Be No Problems
This code shows and explains how to make controls on a window using pure API, using CreateWindow and CreateWindowEx. This example shows how to make list boxes, edit controls, and buttons. Not only does it tell you how to make them but also how to use the. Unlike other examples I’ve seen this example also shows you how to enable TAB, Shift+Tab and other normal windows navigation things like Alt+ to use a button. This example also shows how to use malloc and pointers the text of a edit control or selected item in a list box. It allows you to add items and remove items to the list box control at run and design time aswell. I hope this code helps you, please give me some feedback! (the zip includes VC++6 and DevC++ project/workspace files)
Demonstrates how to use devices such as webcameras, scanners and other for recording or taking snapshots, also how to implement support for Microsoft Windows XP stylesheet (ComCtrl v6). Do rate and comment this piece of code for future updates and fixes.
This is an example of using DX7 DirectPlay4. Program allows you to connect and play a basic tic tac toe game over ipx, tcp/ip, or modem against another player with the same program installed. This program includes a basic chat program. All of the multiplayer code is done with directplay4. This is a multiplayer tic tac toe game i originally wrote using the com port across a modem. I recently ported it to directplay4 just for the fun of it thought the code might be helpful. Requires DIRECTX7 SDK to compile and DIRECTX7 runtime to play.
This code will show you how to create nested directories even if one of the directories in the path already exists. Notice that Error 76 is ignored by the program (This error is generated by MkDir when it attempts to create a directory that already exists).
This example shows how to make windows, list boxes, buttons and edit controls. Not only does it show how to make them but it shows how to use them as well. This example enables XP Themes and keyboard navigation. I'd like feedback, good or bad, so please give some! This sample works on all Win32 computers and only enables themes if they are supported by the current user operating system.
An alternative to some commercial vector graphics programs. Has Transparency effects, anti-aliasing, gradients (linear and radial), and in the future can have many custom shapes added to it because of its abstract nature.
Launch different web pages in a browser based on a selection from a listbox or a combo box. Don't know how useful but it seems like this may come in handy to someone.
Wouldn't it be nice if you could use good-ole SQL language to execute a Select statement against a set of locally-cached DataTables that you've already retrieved from an underlying database? This class does exactly that... it supports a minimal set of SQL SELECT command statements against a group of ADO.Net DataTables contained in a detached DataSet. The purpose is to prevent a round trip to the server to accomplish simple things like what is available with the JOIN and GROUP BY clauses of the SELECT command. The syntax for the SELECT command is designed around the SQL Server 2000 dialect of the SQL language. What's supported is SQL statements like the following: SELECT Categories.CategoryID, CategoryName, AVG(UnitsInStock) AS AvgUnits FROM Products JOIN Categories ON Categories.CategoryID = Products.CategoryID WHERE (UnitsInStock > 0) AND (Discontinued = 0) GROUP BY Categories.CategoryID, CategoryName HAVING (AVG(UnitsInStock) > 30) ORDER BY AvgUnits DESC
This will give a brief overview of how to make games. I've edited this article in HTML Help format because I like it that way. I've discovered some bugs if I submit in .html format.
This is Calc is a Scientific Calculator. * It has functionality more than Normal Calculator. * Simple UI and flexible in use.
Here's a solution if you dont want the commondialog1.showprinter method to change your default printer. It also gets you out of using comdlg32.ocx. I found this on Carl and Gary's site, but it took me all day to find it.
This program show how use following functions in VB: arrange windows (tile, cascade); shutdown, reboot, log off windows; restart explorer; force shutdown (no prompts); show Control panels; show display, mouse, keyboard, printers and fonts control panel; change cursor blink speed; swap mouse buttons; disable mouse and/or keyboard; print test page; add new hardware; connect network drive; repaint screen; show Copy disk dialog; show Format drive dialog; show open with dialog; system crash; FTP
This dotnet solution developed in c# can be used to create a barcode 128b from an alphanumeric string. --> input: string --> output: imagestream or imagefile -- compile as windows application to see the example application -- compile as class library to use as a dll in another dotnet application Feel free to use this code in your applications. Enjoy! Curi0uS
A JavaScript DeBugger written in javascript.
This code will open a Print Dialog using nothing but JavaScript and HTML. It should work with most newer browsers (Netscape 6+, IE 6+)
This program creates awesome random shapes with your given specifications. With this, you may never see the same shape twice, and every one looks great! This I could proudfully say is an awesome program -- IMPRESSION IS GUARANTEED!!! Please let me know how you like it.