Advertisement

Results for "Author: dave andrews"

2002C #10290
REAL Transparent Textbox

Makes a textbox transparent. Here's how I do it: Get the DC from the textbox hWnd. Paint the textbox text onto the textbox parent. Paint the parent's image onto the textbox. Pretty Simple eh?

2002C #10291
SHOW DATE TIME CALENDAR DIALOG - HOOKED API ONLY

FINALLY A FUNCTION THAT EVERONE CAN USE - Microsoft should have thought of this. This is a DATE/TIME calendar dialog that is created using only native Windows API. (See ScreenShot) NO FORM NEEDED! It is used / called like any normal function. EXAMPLE: MyText = ShowDate() This will show the Date/Time Calendar and allow the user to select a date/time from a calendar / clock. You can also supply a 'default' date for the calendar to start at. This is my first attempt at hooking with VB and researched all of the requirements online at the MSDN libraries. Vote if you are so inclined. I would appreciate any comments or suggestions. *AMPM bug fixed *sorry* ENJOY

2002C #10292
Transparent Buttons (UPDATED)

**********UPDATED*********** 90% speed increase for transparency math, as well as refresh speed. Also now uses a simple class module. Very easy to use and configure. I wrote this code to avoid having to design up and down images for projects with graphical skins. This code allows you to create rectangular and elliptical transparent buttons on any container without ActiveX controls. The code is completely modular and has many editable parameters.--- NOTE: If anyone knows how to hook / get procedure callbacks from classed-functions, please contact me.

2002C #10293
View DXF FIles

This program will open and allow you to view any '2D' ASCII DXF file. It supports BLOCKS, INSERTS, DIMENSIONS, and ALL 2D GEOMETRY types (for R12 and R13). It stores the DXF data in an array, so you have full access to perform manipulation and calculations on the geometry. NO OCX REQUIRED - just pure VB. *Keep an eye out for an update that will hande R14 and DWG 2D files.

2002VB #18886
Word Racer and Boggle Solver (UPDATED)

I developed this to solve 'Yahoo Word Racer' games. You can put in a 'letter grid' of any shape or size - even ones with HOLES such as in round 4. (right now up to 10X10) and it will solve all of the possible REAL words (using the included dictionary). It would also work fine for Boggle. Since Word Racer is a fast-paced game, I have it set to only solve 3,4, and 5 letter words (unless there is a 'QU' in there in which case it will also solve 6 letters) One of the intersting things about my solver is that you can use groups of letters in each cell, and it could find words in combination of groups of letters. If you want to have it solve longer words, simply add a new listbox to the lstWords array - giving it an index number equal to the number of letters wanted, and then modify the limits at the bottom of function "AddNextLetter" Enjoy!

2002VB #18887
QSCRAB - 3D Cubic Scrabble ™

***UPDATED WITH USER REQUESTS*** A one-player 3D scrabble™ game using DirectX7. Has a 250,000 word dictionary (plain text). Will check and verify the words. Uses standard scrabble™ rules and scoring - except you can build words around corners. It is lots of fun. To Play, simply click on a letter in the 'rack' and then rotate the cube and click the space you want to place the letter. I might end up modifying the game to be 2-player over the TCP/IP if enough interest and positive feedback is given. If you think it's worthy of a vote, then vote. I would appreciate any user feedback and suggestions to improve this game. Enjoy!

2002VB #18888
Transparent Skin Textbox AND Buttons

This is the source code for a textbox that has an hDC handle! ***THIS IS NOT A LABEL*** This means that you can paint a picture / skin onto it, thus simulating transparency . . .or whatever you want it to look like. My textbox supports ALMOST EVERY function that a MS-textbox supports . .including selection of text, jumping to words and scrolling. ***PLEASE TAKE A LOOK*** Included in this code-download is also my newest 'low-memory' version of transparent buttons, which is a class-module that automates on-the-fly skinning of command buttons. A MUST SEE!

2002VB #18889
VB - IZZY

This game is played just like a jig-saw puzzle, but has an infinite number of solutions. In order for a tile to fit on the board, all of the colors on the tile must line up with any adjacent tiles on the board. After starting a game, select a tile from the 'tile-set' on the right hand of the form. Place the tile on the board by left clicking. Use the right mouse button to rotate the tile 90 degrees. You can swap tiles by clicking on an existing tile on the board. If you select a new tile from the tile-set before you place it on the board, then the previously selected tile will return to the tile-set. You may also right-click on a board-tile to return it to the tile-set. The game is over when you fill the board. There is *always* a possible solution. The exception being if you do not supply a big enough board for a given number of colors. The score is based on the number of colors used and the size of the board. Have fun!

2002VB #18890
Pond Ripples

This code demonstrates a very easy and effective way to simulate pond ripples on a picture. It will simultaneously render multiple pond ripples. Just click-drag your mouse across the image, and watch all the ripples dissipate. Very cool effect. Votes or comments are appreciated.

2002VB #18891
Dungeon Mapper 3D (Updated)

***REQUIRES DIRECTX 7*** This is a 3D dungeon mapper that is very easy to use. Please see screen-shot. Displays / maps multiple levels within the maze. Great for MUD's, Doom-Wads, and other RPG maze-type games. Use the cursor keys to add 'squares', 'D' to go down a level, 'U' to go up, and 'Delete' to remove a square. Happy Gaming! Comments and/or votes greatly appreciated.

2002VB #18892
The 'Same' Game

This is a simple, but addictive game. The object is to clear the screen of all of the blocks. You may only select blocks that have neighboring blocks of the same color. This is not an original idea. I saw the game on a B&W handheld PC, and wanted to have it in color on my 'work' computer. It uses a complex sorting algorythem, which could possibly be used for sorting non-linear arrays of data.

2002VB #18893
API ListBox

This is an all API list-box function. Use it the same way you would use inputbox() or msgbox(). Fully configurable and auto-resizes the controls on the fly. Very easy to use, and a great example to learn API/hooking in Visual Basic. Vote if you like, but please leave comments if you like or dis-like this code.

2002VB #18894
REAL Transparent Textbox

Makes a textbox transparent. Here's how I do it: Get the DC from the textbox hWnd. Paint the textbox text onto the textbox parent. Paint the parent's image onto the textbox. Pretty Simple eh?

2002VB #18895
SHOW DATE TIME CALENDAR DIALOG - HOOKED API ONLY

FINALLY A FUNCTION THAT EVERONE CAN USE - Microsoft should have thought of this. This is a DATE/TIME calendar dialog that is created using only native Windows API. (See ScreenShot) NO FORM NEEDED! It is used / called like any normal function. EXAMPLE: MyText = ShowDate() This will show the Date/Time Calendar and allow the user to select a date/time from a calendar / clock. You can also supply a 'default' date for the calendar to start at. This is my first attempt at hooking with VB and researched all of the requirements online at the MSDN libraries. Vote if you are so inclined. I would appreciate any comments or suggestions. *AMPM bug fixed *sorry* ENJOY

2002VB #18896
Transparent Buttons (UPDATED)

**********UPDATED*********** 90% speed increase for transparency math, as well as refresh speed. Also now uses a simple class module. Very easy to use and configure. I wrote this code to avoid having to design up and down images for projects with graphical skins. This code allows you to create rectangular and elliptical transparent buttons on any container without ActiveX controls. The code is completely modular and has many editable parameters.--- NOTE: If anyone knows how to hook / get procedure callbacks from classed-functions, please contact me.

2002VB #18897
View DXF FIles

This program will open and allow you to view any '2D' ASCII DXF file. It supports BLOCKS, INSERTS, DIMENSIONS, and ALL 2D GEOMETRY types (for R12 and R13). It stores the DXF data in an array, so you have full access to perform manipulation and calculations on the geometry. NO OCX REQUIRED - just pure VB. *Keep an eye out for an update that will hande R14 and DWG 2D files.

ASP_Volume2 #29934
Word Racer and Boggle Solver (UPDATED)

I developed this to solve 'Yahoo Word Racer' games. You can put in a 'letter grid' of any shape or size - even ones with HOLES such as in round 4. (right now up to 10X10) and it will solve all of the possible REAL words (using the included dictionary). It would also work fine for Boggle. Since Word Racer is a fast-paced game, I have it set to only solve 3,4, and 5 letter words (unless there is a 'QU' in there in which case it will also solve 6 letters) One of the intersting things about my solver is that you can use groups of letters in each cell, and it could find words in combination of groups of letters. If you want to have it solve longer words, simply add a new listbox to the lstWords array - giving it an index number equal to the number of letters wanted, and then modify the limits at the bottom of function "AddNextLetter" Enjoy!

ASP_Volume2 #30128
Anagram Phrases: Planet Source Code = ACCENTED OUR SLOPE

This will make phrase-anagrams of any set of words (like names) For example "Planet Source Code" = "Accented Our Slope" Or my name "David Michael Andrews" = "I am dad's new arch-devil" This code is a lot of fun and easy to use. Nothing 'really' useful though, if you want to vote, go ahead, but I prefer positive user feedback much more than votes. NOTE: this upload includes a 250,000 word dictionary in plain-text form.

ASP_Volume2 #30149
QSCRAB - 3D Cubic Scrabble ™

***UPDATED WITH USER REQUESTS*** A one-player 3D scrabble™ game using DirectX7. Has a 250,000 word dictionary (plain text). Will check and verify the words. Uses standard scrabble™ rules and scoring - except you can build words around corners. It is lots of fun. To Play, simply click on a letter in the 'rack' and then rotate the cube and click the space you want to place the letter. I might end up modifying the game to be 2-player over the TCP/IP if enough interest and positive feedback is given. If you think it's worthy of a vote, then vote. I would appreciate any user feedback and suggestions to improve this game. Enjoy!

ASP_Volume2 #31449
Magic Strategy Game (3D DirectX)

Based on "Rubik's® Magic Strategy Game" sold by Matchbox™ about 15 years ago. Each player has tiles with a circle on one side, and a diamond on the other. Each player must place one of their own tiles as well as flip one of their opponents tiles over. The object is to get three like-tiles in a row that can NOT be flipped out of that run by your opponent. Play against the computer or play against a friend. You can also watch a DEMO of the game by letting the computer play itself! There are 6 levels of difficulty. The game requires DirectX7, and all objects are 3D and can be rotated on the screen. Easy to play and lots of fun. If you like it, and think it's worthy of a vote, then please do so. I would also appreciate any feedback and comments. -ENJOY!

Languages
Top Categories
Global Discovery