Results for "Volume: 5_2007-2008"
My DM wanted a small program to simulate a battle field and display it on his big screen TV when we play. The form is about 1024x768 because his video card is able to display at that resolution on a TV. Players are represented by circles and monsters by triangles. Each players and monsters have a number to make it easy to track them. You can drag the characters where you want. Right-clicking a character toggles between healthy, wounded and dead. Left-clicking and draging on the grid allows you to draw (wall, obstacles, etc). Right-clicking on the grid is the eraser tool. I only implemented medium and large characters because other sizes are rare. -- Updated 2004-11-16, added an icon for the eraser. -- Updated 2004-11-18, added different colors to be selected for line drawing. Comments and votes are welcome :)
This little class provides basic window 'magnetic docking' (like WinAmp). Glueing is also supported. Simply, use AddWindow() method specifying handle of new window and its parent, if any. __________________________________________________ Based on original post by Benjamin Wilger. Thanks again to Paul Caton for the 'self-subclassing' template (IDE-safe). __________________________________________________ Update #1. Improved: hereditary glueing is now supported. __________________________________________________ Update #2. Improved: removed 'RemoveWindow()' method. Now, class processes WM_DESTROY message and automaticaly removes window. __________________________________________________ Update #3. Fixed: incorrect checking of 'hereditary glueing'. I hope it's working fine now! Sorry. __________________________________________________ Update #4 (last?): now, WinAmp's *behaviour* is fully emulated (I hope!). Hereditary magnetism, as well as glueing, is working for ALL child (connected) windows. __________________________________________________ Update #5. Never say final update: added CheckGlueing() method. Call in case repositioning manually a window and want to enable/check (glue) again, if any. This was only checked for first time when a new window was added to the collection. __________________________________________________ Update #6: Back to manual window destroying (problems on W9x). __________________________________________________ Update #7: Special cases: 1) Added processing of WM_SYSCOMMAND and WM_COMMAND messages. Thanks to LaVolpe for suggesting solution 2) Maximized windows (edge offset out of screen area).
This is a little firewall i decided to build. i tried my best to repllicate its gui after the new NIS 2005.
Dynamic controls made easy for everyone.
Have fun flying around in 3D whilst shooting heat-seeking rockets at a UFO. Pure VB; no DirectX or OpenGL; I did all the maths myself. This is *** VERSION 8 *** - if you want to understand this code, I suggest you start with version 2 which is available on PlanetSourceCode... just search for "Peter Wilson" under the Visual Basic section. * The 'heat-seeking' rockets always point at the UFO. * The 'heat-seeking' rockets only have a short fuel supply, so after the fuel is exhausted they tumble back to Earth. * This is a quick-and-nasty submission.... there is heaps of unused code in here. * There's a few extra 3D models in the 'xfiles' folder - it's pretty easy to substitute values. * There's comments everywhere... I suggest stepping through the application using the F8 key (instead of pressing f5) * I promise to clean this up, and make a good game out of it... or something. I'm getting to the stage where I need to redesign my data structures a little better to accomodate the particle effects (like smoke, and bullets etc.)
This will save a audio file (wav file) in to a database file. Try it, and please vote!
Had a request for this from another PSC user. So, here it is for all to use. One module with functions for placing Icon in SysTray and Setting a Balloon ToolTip on it. Please look at the code snipits in "Systray Form Code.txt" file in the ZIP, thats where you need to get the rest of the code to put into the form events to make the whole thing work right! Also if you look at the example project, I also have the API and call for opening the default browser and email client when you click a textbox. Nothing to complex, but usefull.
This program lets your search for a text file on the internet and compare versions with the application you have installed. It does acctually download a dummy file called 'Update.exe' which you can set where to download to and run it afterwards. I made this code for a new program I am making because I couldnt find any good ones on PSC. BlessedMan this is for you: Edit: Oh yer and dont look at the interface because its a skin I have on my PC (WindowsBlinds), LOL! - Some extra help for anyone who needs it: I have "version.ver", "news.txt" and "update.exe" uploaded too; http://homepage.ntlworld.com/hughes.clan/tracker/, so you will have to change the lines that have this URL in it to point to your files ( go to the code view of "frmDownload" and press CTRL+F on your keyboard now type in http://homepage.ntlworld.com/hughes.clan/tracker/ press 'Find Next' and change the bit it finds to your file ( on your site ), then go to "frmUpdate" and do the same, now go to "frmDownload" form view and change the 'Text' property of the object "txtWebsite" to fit your websites file ( you can find the "txtWebsite" object above the 'version' text in the lower left corner, ( little wite box ) ) Hope this makes sence and helps you all. [U][P][D][A][T][E][S][.][.][.][Updated - The version of the program is now set from 'major.ver' and 'minor.ver' files, in the ZIP file ( 'major.ver' holds the App.Major version / 'minor.ver' holds the App.Minor version ) Just change these files to the version that your program is and have fun][Updated - Extra help in description][Updated - Changed frmMain error!][Updated - Now with comments on nearly every line!]
Modem Master Diagnostics 1.6 reports and checks your modem status in over a 100 ways: Independent S-Register status, Internal Profiles, and Resets. Checks Nvram, Product ID, Checksums, and Product Codes. Loads and edits Profiles. Reports DCE, DTE and Compression information. Identifies stored numbers, control settings, and fax classes. Does analog and digital loopback and internal echo tests. Checks line signal strength and noise DB levels. Works on COM ports 1 to 16 at 110 to 256000 BPS. Also works as a dial-up terminal. Fully configurable with Edit, Copy, Paste and Print functions of tested functions.
Has Cancel, Default, Mouse Snap To, and AccessKey features. Draws optional focus rect. Win 98 and up compatible. Parent Windows active state aware; raises active state event when parent form is activated or deactivated (as the Windows topmost window). This function is useful for redrawing custom title bars. My goal with this button is simply to create an efficient and reliable XPButton that is appropriate for 99% of the apps I write, a single line button without all the overhead of multiple visual styles. I painstakingly tested this control to ensure it never draws twice unnecessarily, or freaks when the user doesn't release the mouse button when expected. If all you want is an efficient original style XP button that works solid, this one may be for you. Its functionality may also provide a workable shell for developing other custom buttons. Please comment/rate/report bugs, I appreciate your input.
Another Method of putting a picture in a command button with style set to normal (to preserve XP skin-ability). This is in response to a posting by Abílio Rodrigues "A Command Button with Icon (XP)" at http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=57116&lngWId=1. I tried to post it as a comment on his posting, but received an email saying it did not work. So, it's easier to just upload it as a zip. This works for XP, but might work in other OS's.
This is a Source i made of a yahoo booter , Boots people of yahoo its 1 login has 2 options Error/Clone Buzz works well..Check it out vote for me
Function: sGetXPCDKey() will return the CD Key for Windows XP in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
This class allows users to implement undo/redo functionality within their own applications. The new and improved version now even includes the "actual" classes ;-)
This is a game I wrote awhile back called DragonQuest. You basically are trying to fight your way to the top and become strong enough to defeat the dragon. Along the way you will visit: your home, weapon/armor/item shop, the trainer to advance your training, the forest to fight monsters and gain experience/gold and to search for the ever ellusive dragon. It uses SQL and all VB coding with an Access database. I know the graphics are horrible so please don't flame me over them. I commented where I could but there is a lot of repetitive code. All battles are performed with a dice-rolling competition (learn how to do random dice rolls and show the correct dice). If the players roll is higher than or equal to the monsters, he/she wins the attack. I hope someone learns something from this. Please comment and vote. I am thinking about upgrading this with DirectX and sounds but I don't know. I guess I'll see what kind of response I get here. Thank You
hi all, this code creates chart at runtime. At run time if you can change a value the chart will automatically change. u just set the values and it shows results continuously. u can use this code in any u r applications.its very smart.in this i m not using ms-chart control, everything is done by code.......but trust me the code is soo short.
here's the updated version of my uno game 2.1. More features added, bugs fixed and nice GUI. BTW, since this is just an update, it's up to you if you want to vote it or not.
To Remove Your Yahoo! ID off another persons List and the ability to Remove them from Your List Yahoo! serverside using the YMSG protocol. (Been old this does not work anymore - update 2008)
a simple 3d function paint.you can rotate it round any axis.i give example of helix equations.i tried to make the code more simple to the reader and replaced the old bad interface by new one.see it now and please vote or at least comment.i need ur recommends
A small competition ;) : This should be the fastest gradient sub in VB running from Win95 to Win XP. A small iterative shell arround shows VB's power on your machine. It draws a gradients with ramdom colors onto client area and subdivide into four equal parts. Repeat. This way we get a mix of larger and smaller gradients. Its amazing how many gradients VB can draw even uncompiled in ten seconds. Have fun ;) ! ____ Regards - LiTe _____ (Please comment and vote if you like it. Thank you.) ___________________________________________ UPDATE 1 : Carles P.V. 's solution beats all! Got upto 7 times! faster results (879500 gradients in ten seconds ... !). His code is elegantly and charming - plz look at it!___________________________________________ UPDATE 2 - 12/15/04: (FINAL VERSION - hope so ;) ) Some bug fixing in code and demo (implementing the suggestions from the thread here) and new (tricky) intro screen.___________________________________________ UPDATE 3 - 02/01/2005: Bugfix for X size and speed improvement ... ;)