Open Source Sample Code
-
Interacting with TinyPic from C#
by Fernando Sanchez
The following tutorial will demonstrate how to interact with http://tinypic.com, an image mirroring service, directly from a C# application using the WebRobot component.
-
Large Number Operations
by Eric
What do you do when you want to work with numbers that have a total length of digits that reach into the billions? You sure can't store those in a conventional variable, or perform normal operations on them. This module demonstrates how to perform these.
-
Create Hashes - MD5, SHA1, SHA256, SHA384, SHA512
by David Cumps
In PHP its a simple task to generate hashes, but in C# it takes a little more work. We'll create a Hash class to simplify the process.
-
Executing a .CS file
by David Cumps
Demonstrates how to write a C# program that can "launch" a .cs file and execute it.
-
CExtStatusControlBar - Managing status bar's panes
by Dmitriy Yakovlev
An enhanced status bar which allows you to easily add/remove almost any controls to/from its panes, on-the-fly.
-
Storing / Retrieving pictures from database
by Imthiaz Rafiq
This sample code demonstrates how to save and retrieve pictures from a database using PHP.
-
PHP Port Scanner
by Gringod
An object-oriented port scanner class. Can be used for scanning any number of ports on a range of ip-addresses. Useful for checking you network for un-authorised webservers or possible trojans.
-
Get metadata on MySQL databases
by Edward Tanguay
An example of how to get metadata - such as all the databases on the server, all of their tables, and the corresponding field information for that table.
-
How to create XML files
by Edward Tanguay
How to generate XML files in PHP using its new_child function.
-
How to Create a Sprite using MFC
by David Nishimoto
This sample demonstarates how to create a bitmap, create a DC in MFC VC++, and then how to tell the DC to draw the bitmap
-
Handling multiple Direct ODBC calls that fail.
by Dale Harkness
The article addresses the problem that sometimes occurs when making several direct ODBC calls in a sequence.
-
Creating your own GUIDs
by Joseph M. Newcomer
GUIDs are a useful entity to guarantee that you have a unique name for a kernel object, Registered Window Message, clipboard format, or other object that must be guaranteed to be unique. However, there are times when a program needs to create a GUID; for example, a program that writes .h files. This essay tells how I created my own unique IDs.
-
Determine execution time in PHP
by Gringod
This is based on the ASP script posted by Lio. It will determine the time taken for a php script to execute correct to 0.000000000000001 seconds.
-
Getting Started with Database Programming
by gigsv00
This is a conceptual idea of how I start to do database programming. In this article, I had highlighted a few points that become vital to understand for any new comers to do database programming.
-
Domain scanner
by Akas Triono Hadi
This simple code gets a list of domains with a certain extension from google.com
-
TAPI Application
by S.S. Ahmed
This is a short application showing you how to create a small telephony application.
-
Asynchronous Process Notification
by Joseph M. Newcomer
This example consists of a simple dialog-based application that can launch another application and have the GUI remain alive while the launched process runs, instead of just blocking and being non-responsive.
-
Total size of a directory
by Alt-PHP-Faq
How to calculate the total size of a directory from a PHP script
-
Output number with leading zeros
by Alt-PHP-Faq
How to output a number with leading zeros
-
Accessing COM objects from PHP
by Alt-PHP-Faq
How to load a Windows COM object from a PHP script