Results for "Volume: 3_2004-2005"
This recreates (in a way) those sinusscroll effects that were very commonly seen in the old demo days on the amiga. I find it hard to see any use of this code but it might be fun for someone. Plz comment!!!
Will tell you on what word your moving with the mouse in a richtextbox control
Hi. I had this code on my hard drive for ages now, and never finished it, so I submit it as it is. I just wanted to experiment with 2 simultaneous players gaming, and I don't fancy finishing it (no point, there are plenty of similar games around plus I'm not going to submit a finished game source code that some &$%£"$£ will probably nick and release it as a shareware for easy bucks). The engine comes from my Tetris clone "SliTris" (game rules had to be tweaked of course, and that wasn't as easy as I expected :(), i.e. sprites with backbuffer for smooth gameplay. The main form again doesn't contain one single control, no text box, no image box, no timer... all is done via APIs for optimised and flicker free gameplay. Features original graphics shamelessly stole from Sega's original game :) Hope you'll like it and maybe finish it. Note: I had to remove all skins but the main one to keep size down :(
# TrueIP 1.0 # Visual Basic Example # (c) 2002, RMG Enterprises # Example by Armando Rivera ([email protected]) ** Note: This is my very first attempt at a VB program ** As an online gamer with a home network behind an Internet router, I at times really wished for a utility that would allow me to determine what my *actual* INTERNET IP address is, to allow me to easily host games for friends. I found quite a few VB based utils that would allow me to get my *Local* IP address,but none that would get my *Internet* IP address. So, I sat down with VB6, and coded TrueIP in about an hour. VB Vets might laugh, but I was literally flying blind here. LOL The proggy works by parsing the HTML from www.whatismyip.com, and displays just the IP address in a small window, and using the winsock ocx for the local IP. Short, sweet, and to the point. If anyone enhances my virginal (LOL) attempt at coding, please share! Thx. AIR.
This is a VERY SIMPLE IIS application which main purpose is to display that how to use web items, HTML template and database. If you people think that you need to know more about this fantastic but less talked feature of VB then please RATE THIS CODE and give me reviews. These applications are basicly designed to run on windows NT IIS(Internet Information Server) 3.0 or later. But if you want to run them on windows 98 then browse your windows CD for the PWS(Personal Web Server) and install it. Remember don't expect PROFFESIONALITY in this project, although can be achieved easily
I have been tinkering with the Windows API AnimateWindow function, and have wrapped it into a user control, which you can drop onto any top-level window. You simply call the controls CloseAnimation method from the form_unload event, and your window will roll or slide up, down, left, or right, or fade or zoom to nothing. This easy to use control has 2 main properties - the "AnimationEffect", and the "EffectDelay". The included example project here shows how easy it is to use. It seems that this API Function exists in Windows 98, ME, 2000, and XP (I was unable to get this to work with Windows 95 or Windows NT). I got varying levels of effectiveness depending on the OS. Keeping the EffectDelay to a minimum (500 or less) usually produces great results. This project has the default delay at 1000 to exagerate the effect, but you should set to 400 or 500 in your projects. Use the "Project1.vbp" to see the example, or include the CoolAnimate.ctl in your project to just use the user control. Hope this is helpful to some of you.
This nice little program illustrates the wonders of the famous Mandelbrot Set. It's very flexible, including features like magnifying to a selected region, saving and loading previously calculated sets, indicators for where the mouse pointer is pointing to, etc. etc. A readme file is included, and contains the full explanation of the program, as well as an explanation about complex numbers and the Mandelbrot Set, so that even people who have never heard of such things can enjoy this mathematical wonder. Enjoy! And if you like it, I'd really appreciate it if you'd vote for it :)
This is an end-to-end software solution for companies in DIRECT MARKETING AREANA - MLM (Multi Level Marketing) This caters to the requirement of profitability analysis. Customer Registration, incentive calculation and updation etc. I would like to highlight the points, which are very specific to this software. I basically have divided the entire operation into six modules : I. Customer registration. II. Network formation III. Franchise sales and inventory tracking. IV. Incentive calculation V. Payment module VI. Analytical Reports Generation
Its a simple and fast snowfall simulator where the snow stays on every place it whould stay normaly (2,5K Zip). It´s an very old source from me i only comented it for psc.
Great for VB learners! This program will help show you a lot of effects using forms. Almost every line of code is commented. Perfect for a beginner. Please leave comments and vote for me! Thanks guys!!!
Ive seen a lot of base converters on PSC, but most of them are limeted to only base 2(binary),8(octal),10(decimal), and 16(hexadecimal). Or they only convert from base 10 to another base. This program will convert Any number of any base to any other base up to 200. Plus it is very easy to understand and only 15 lines of code, could even be tweaked to convert to base 256. Hope you enjoy.
Demo consists if 4 GDI+ wrappers: DrawGDIPEllipse, DrawGDIPFocusRect, DrawGDIPFormattedText, DrawGDIPMultiStyleRectangle. These wrappers could be used to make a super button control. Must have GDI+ installed. See http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=37541&lngWId=1
BUG correction!!! Version 1.01 A solution for who does not want to use ADO/DAO or ODBC to have access its database in MySQL. With only one DLL you it has the power on all functionalities of the MySQL.
The purpose of this module is to show you how to change the form's position in 3 different ways (On Bottom, Normal, On Top). •The OnBottom function works just like the OnTop function, keeping the form constantly behind any open window. •The Normal function returns the form to its normal state. •The OnTop function keeps the form constantly in front of any open window.
This is just here because it's a contest winner. There's a newer version here also.
This is to show a battle system for a RPG. I seen some good code'd ones on this site, but the graphics or styles of it were just sick. So I took some from Final Fantasy 3, and made a complete design of a battle engine. --- Wow it's been more then a year since I updated this. If you want you can check my new site FoxGear.Net or my own PHP Game at FoxWar.Com.
Auto-show/hide vertical scroll bar in a multi-line TextBox control. If you set the ScrollBars property of a multi-line TextBox control to 2-Vertical, the vertical scrollbar will be displayed whether or not there's any text in the TextBox, or the length of the text exceeds the visible area of the TextBox. So, if there's more text than the TextBox can display in its client area, then the vertical bar will be enabled, if not, it will still be displayed but disabled. This code subclasses a TextBox to intercept WM_KEYUP and WM_SIZE messages, and compares the height of the text to the height of the client area of the control. If the height of the text is greater than that of the client area, the vertical scroll bar will be displayed. Otherwise it will be hidden. So you don't have to see the disabled scroll bar when there's no need for it. I resorted to subclassing particularly to watch for the resizing of the TextBox. In this sample, the TextBox's size changes when the form is resized. Therefore subclassing may not be necessary as the Form_Resize event is perfectly suitable for doing whatever's needed. Yet the TextBox's size does not always change because of the form being resized. For example; there may be a splitter on the form, and the TextBox may be resized by that splitter. Or for some reason, the size of the TextBox may be programmatically changed. In such cases, I can't think of any way but subclassing to catch the TextBox's resizing. The portions of the code pertaining to subclassing are, of course, nothing new as they are right out of Bruce McKinney's well-known "Hardcore Visual Basic", though a bit simplified. But for the rest of the code, I'd appreciate all feedback.
Spyder Personal Firewall is the first firewall (with source) on PSC. currently it only supports TCP, but UDP support is just arround the corner. It has the ability to block unique remote hosts, remote ports and local ports giving you complete control over your system. Also network traffic can be ignored, and let straight through. All ips and ports that do not yet have a rule set are logged and an alert window will pop-up. Please vote and leave comments =o) UPDATE: added options, security levels, warns on exit and when moved to system tray, system tray menu, trojan list (tells if a trojan may be using connection, used for low security level).
File Format Viewer & Editor by Robert Rayment.(Additions 29/9/02) The purpose of this program is to be able to view any file, particularly binary files, in an easily read format, ie as characters, bytes, integers and longs as decimal or hex. Format changes are set out on a new line with different colors and can be saved in a template file. Also loading in a template file will automatically parse the display. Numbers or characters can be edited and the new file saved. There is unlimited undo. Search & Mark, Goto and Highlighting is included. The displayed page can be printed and placing a shortcut of the EXE in the Windows SendTo folder will enable any file to be sent to this program. Some simple samples (made with this program) for ico, cur, bmp, gif, png, jpeg and RIFF palette files are included. There is a DEMO button to show the main function. Win98, Zip 69KB.
Generates realistic 2D terrain. Nice to play about with, and might be useful for creators of fantasy related stuff.