Results for "Volume: 5_2007-2008"
Ok, here's a simple space game for you to play with. It's quite addictive (I think) and its got some comic sound effects. Its not supposed to be a true clone, I wrote it as an example of writing simple DirectX applications, so it uses DirectDraw, DirectSound and DirectInput. The ending is quite funny (but slightly tacky). The code is well commented and quite easy to read, that was the idea. Please vote for this app. It takes a while to load the images and sound files on some computers. So if the screen is blank for a long time, just wait a little longer, it most probably hasn't crashed. Due to a 500 server error when I try to upload the file, I've put the data files from the game here: http://www.geocities.com/nozza_prog/sg1.zip sorry for any inconvenience, but it couldn't be helped.
Example Code to illustrate class/object using php. Example for database conectivity class.
A calculator with all the usual functions, plus: help, memory, Exp, sqrt, log, abs, atan,tan, cos,acos, sin, asin, pi , ln10, ln2,sqrt 1/2, e
Return a dataset from an excel spreadsheet using OLE DB and a "named region" as a table
Uses a call to CreateToolhelp32Snapshot() to list all of the processes running on a windows machine. Very small amount of code, cleanly written in my opinion.
To learn database in VB.net easy to add, edit, delete using OLED connection
I use ExtractArgument (written by my friend Mike Carper) all the time. It returns an argument or token from a string based on its position within another string and a delimiter. For example: I want the "2" in the following string: "1,2,3,4,5,6,7,8,9,10". 'Sample call 'Dim sList as string 'Dim sTown as string 'sList = "POB 145,Dexter Street,Anytown,USA" 'sTown = ExtractArgument(3, sList, ",") 'sTown will be "Anytown" I find this very useful in working with delimited files and strings, and have implemented it in INI settings as well.
I really miss DAO/ADO. I like ADO.NET's disconnected DataSet but not it's syntax. So I wrote this class to let me use DAO/ADO-like commands with ADO.NET operating in the background. It is really great for Looping thru in code. This is Version 3, with some bug fixes.
This code is for people who have two versions of their site: one for computer browsers, and one for web-enabled phones or PDAs. It automatically detects which is being used to access the site and redirects accordingly. index.php should replace the index page of your site. Rename your current index something else. The local path to that should be the $main variable. When someone accesses index.php from a regular ol' computer, it simply prints out all the information from $main. Really, everything else is explained in the comments. When someone accesses your mobile page via redirection only (NOT manually), at the top it says "click here if you are not on a mobile phone or PDA". When they click that link, it sends you an email with their O/S, browser, and IP address before printing out the contents of the main page. I wanted to do this in a form in index.php, but the T-Mobile Sidekick wasn't passing the variables back. I figured it would be more foolproof just to link. Anyway, if you want to turn off this feature, just comment out the line above "require $mobile" (I didn't write out the line itself because it has html tags). Enjoy! http://www.thanksforthemammaries.net
This shows you how you can dynamically scroll text using Javascript! It shows text (from Dear Abby) in a large text box. When you pass the mouse over (or click) the 'scroll up' or 'scroll down' link, the text in the text box scrolls in the proper direction.
This program has four functions: list processes, kill process, get process priority, and set process priority.
Notepad Application
This fabulous class encrypts and decrypts any chain of characters, it uses an encryption method without having an exact order neither a fixed size of chain. This class was developed originally by Kelvin C. Pérez for the language VB and implemented in PHP by Heriberto Mantilla Santamaría. View online example --> http://hackprotm.webcindario.com/EncryptDemo/Demo.html
A guide for PHP
This program runs on WinNT and '2000 systems. It monitors directories or entire volumes and displays certain activities.
This code is a simple demonstration of a text that fades in and fades out using only Javascript. You can customize this code to display your own custom messages. Cool!
This code applies the quadratic formula to an equation and derives the variable value given the three coefficients.
It automatically makes your form on top until they close or end the program and it is all API free!
'This code will tell you how to get our computer screen resolution 'just a few lines of codes..
Run your mouse over either image to change both images. The swap image has been preloaded to be readily available when needed.