Advertisement

Results for "Volume: 4_2005-2006"

4_2005-2006 #156447
IP Utility - API Only!!

This little utility uses only API calls! The majority of the code was taken from the internet. Some of the features it includes are Host Name lookup by IP, IP lookup by Host Name, and IP and Host Name of the current machine.

4_2005-2006 #156454
RUNDLL32.EXE functions

You might find the following code useful in complicated tasks that require a lot of code in other methods. I have not tested all of them, but they should work.

4_2005-2006 #152058
Arc Drawing and Mathematical Routines - Including Line Intersection Routines - *Updated!*

This submission is split into 2 - A DLL, which holds all routines for handling arcs, and a program, which demonstrates how to use the DLL. The DLL is basically a maths DLL, exposing a Line Intersection Routine, and an Arc Drawing routine. Each arc is defined by a series of three points - three points along the line that is the arc. The arc is drawn to any hDC by API, using specified colours, widths, penstyles, and drawmodes. The DLL also contains data type defining arcs, and routines to suit, to make using this DLL as easy as possible. The program is a mimick of a CAD package, except it only uses arcs. It allows creation of arcs by clicking three points on a picturebox, then the arc, and the centrepoint of its circle, are drawn. From here, the points may be moved to update the arc, by dragging them and dropping them. During a dragdrop operation, the arc can be seen to be moving by using XOr drawmodes. The update includes the following changes: Program: The Arcs may now be moved by dragging the arc where there is no control point. An Arc must be selected before its control points can be moved. Added Arc Selection Routine to Point Selection Routine. About and Help boxes added. Arcs can now be rotated around the centrepoint by rightclicking and dragging. ZOrder for arcs also added, + buttons to manipulate. DLL: Updated routines and handling of data types inside DLL. Numerous routines added to assist external calculations of angles, distances, radii, etc. Overall, this has been a wonderful experience with mathematics for me. I strongly suggest that you download it, even if it is just to see what VB is really capable of, when the maths is applied. My 486 is fast enough to draw the arcs in real time, so I believe that any computer should do justice to the wonder of maths and graphics combined. Hope you enjoy it! Jolyon Bloomfield

4_2005-2006 #156519
Slpash Screen (Very Cool) Type 2

This is a very cool splash screen. The graphics are like the Matrix. You must see it to belive it. Very Good. No extra OCX files needed. Pure VB. Vote if you like the code or/and leave comments

4_2005-2006 #157277
Snap you app to the side of the screen (like ICQ does.. Resizing desktop.. not just moving the form)

This code uses the SystemParametersInfo API to change the work space area of the desktop. You can make you app 'lock' to either top/bottom/left or right of the screen very simply.

4_2005-2006 #156261
mySql with DSN

This code will show you how to connect to a mySql Database using a DSN. It is very simple program but it shows the basics.

4_2005-2006 #156262
mySql Connection DSNless

There has been a few questions on how to use VB to connect to a mySql database. This will show you how to connect without using a DSN. Most of the code is from a ADO Tutorial from this site. I just modified it to show how to connect to a mySql Database.

4_2005-2006 #157035
New code/article/tutorial from PSC - downloader(UPDATED)

This code will let you download the latest source code zip files/tutorials/articles from PSC.When you run the prog it looks for the newest code pages.Gets the 9-10 new code/articles/tutorials and if they have any source code in zip format it downloads those zip files.It saves these files locally you can view the list of downloaded files by opening Download.htm .Currently it does not download image files but i am working on it .This is just to help people save time ,download and take a look at all codes and use it to post comments and votes for all those people who work hard and post their codes on PSC.As evry developer would know a feedback is very imp . And this code can be used by anyone from beginner to advanced. So please leave your comments and votes

4_2005-2006 #152308
Set Caption to Right Side Of Form

This is just a sample program that shows how to set the Caption to the right side of your form using API. Also included is a way to make your form appear backwards. I havent seen this done by using API before, Just cheap imitations using strings. !Win2k only!

4_2005-2006 #155732
Database Connect Tester

This is a program which will allow you to test a connection to most databases (SQL,Oracle etc...) and run any SQL query through. The connection to the database is handled using RDO although this could be quite esily changed to ADO if required. To test the connection you will need to enter the desired connection settings like server name, database name and password, DSN name if required etc..

4_2005-2006 #157221
Space Shooter (Direct X Game)

This is a game called spaceshooter. This was my frist game it has flip stereo, music, a shop to buy and upgrade weapons. After download unpack and read the readme.txt. Requires DirectX 7 or higher (for sound). i saw that some guys not know the controls well: 'arrowkeys' for moving a round 'enter' to enter shop realy cool!! 'ecs' to quit 'spacebar' to launch nuke (if you have one) 'ctrl' to shoot with cannons Cheats : god mode : press 'delete' key then enter newlive more Score : press 'delete' key then enter egbert tell me what you think (vote) and tell me your new hi-score! thx egbert

4_2005-2006 #151726
Smart Artificial Intelligence

To demonstrate how people can react with artificial intelligence. Please vote for it.

4_2005-2006 #152521
Menu Builder Update

Updated version - removed many bugs and errors. Thanks for the feedback and interest shown by all those who emailed me. It helped greatly. This little App will allow you to edit or create menus in VB6 Forms. It removes the limitations of the number of nested submenus allowable in the VB6 menu editor on which it is based. New forms can be created with menus in place. It can be used to extract menu structures from one form and place it in another. You can save menu structures as templates for later use. It has only been tested in VB6. Use it as you would the Menu Editor in VB6 with the exception of the Open/Save operations. As with all my submissions, bugs and errors are provided completely free of charge.

4_2005-2006 #157324
Longbow Server (NEW)

Check the old longbow server entry :), this is an update because the last entry was missing a few dlls

4_2005-2006 #151386
IP Configuration Wizard

IP Wizard is a GUI interface for Windows 2000 to review your current TCP/IP network protocol settings. This can be useful when you are troubleshooting problems, such as problems connecting to your Internet provider. This application uses Windows Management Instrumentation (WMI).

4_2005-2006 #152353
Real Artificial Intelligence

This demonstrates how to program artificial intelligence in vb. It is a bug (insect, not a computer data destroyer) that wonders around a grid and when it meets a wall it remembers it and marks it. Then when it has been running for a few minutes it will know alot of the walls. When you exit and reload the program later it won't mark it again because it knows its been there.

4_2005-2006 #155663
engineX beta demo 1 by Simon Price

UPDATED AGAIN: 3 more major bugs fixed! UPDATED: many bugs fixed already ! *** engineX beta demo 1 *** engineX was designed to be as simple and reusable as possible. It uses DirectX 8. It features: - 3D graphics with support for hardware acceleration - dot, line and triangle primitives - materials - texture mapping with transparency - lighting - frame hierarchies - loads .x files - loads .exf files (a custom file format, made specifically for engineX, has it's own editor, not released yet) - collision detection - 2D and 3D sound (mono wave file only) - input from keyboard and mouse - MIDI music This demo was designed to demonstrate most of these features, as quickly and simply as I could. There are 2 sample worlds to choose from (see screenshots). In the demo you can just walk and look around, and bump into objects in your way. I need as much feedback and bug reports as possible, it's very hard to get DirectX to work on all OS's and hardware, I especially have problems with Windows 2000. PLEASE DO VOTE if you find the code to be useful/well written/cool in some way The demo is 1.9MB, so I couldn't upload it to PSC, please instead use this direct link to the zip file stored on my website. http://www.VBgames.co.uk/downloads/exdemob1.zip If you just need the source code because you've already got the resources, use : http://www.VBgames.co.uk/downloads/exdemob1src.zip

4_2005-2006 #157047
Menu Copier (Updated!)

Updated 8-13-03. You can copy any object from one Form to another except the Menu; that is until now. This application will copy the menu properties and source code (under the Click event) from one Form to another. If the Destination Form already has a menu, it will be replaced with the menu from the Source Form or you can merge the Source and destination menus. There are few times you need to copy menus, but I wrote this app just to see if I could. Included are two form to try it with.

4_2005-2006 #155941
Splitter Active-X control for VB

This control creates a splitter bar with 2 resizable panels. The panels are adjustable by a specifying the size of the Child1 panel through the PanelSize property. It also includes minimum and maxmimum size parameters. It is well commented and also provides a demo application to explain all the options. I would also like to thank Mark Joyal for his great SplitterControl on which this is based. His control provides a way to resize based by a percentage, while mine provides a way to resize based on a size value. Since this is my first Active-X control, I would really appreciate your votes and any feedback you can provide.

4_2005-2006 #152680
Dial Net

The improved Dial Net - Ver 1.1. Over the last app. this newer version has been updated with the necesary user information(dial up status). It also includes a new feature to play sound whenever a connection is successful. Check it out... This application illustrates: 1)how to connect to the internet using RAS (Remote Access Service). 2)how to optimize an internet connection. 3)how to detect an internet connection. 4)how to automatically disconnect an internet connection 5)how to identify valuable internet information. 6)how to use encryption routinues 7)how to maintain internet time. 8)how to play sound files using API function calls. 9)how to use API to show the open file dialog. Check the code...

Languages
Top Categories
Global Discovery