Do you know this example tricks?

Delphi / Examples

nonsense error message parameter mismatch for procedure

VB.Net by API / System Xml Xsl

XslTransform Load

Delphi / Hardware

Change meanings of mouse buttons

C# by API / System Diagnostics

Process GetProcessById

C# by API / System Windows Forms

CheckBox ThreeState

C# / ADO Database

Creating SQL Connections

Java / JPA

Start Transaction and Commit

JavaScript DHTML / Language Basics

Accepting Either One or No Arguments

Java / File Input Output

Load an Icon from a jar

JavaScript DHTML / Ext JS

StripeRows

Java / Collections Data Structure

Compare if two array is equal

Flex / Graphics

BitMap Scaling

Sample Android Codes

Android / 2D Graphics

Paint ANTI_ALIAS_FLAG

Android / Hardware

SDCard File Util

Android / Date Type

String resource

Android / Development

Browse through Wiktionary content

Android / Date Type

Space trim

Android / 2D Graphics

Generate Mipmaps For Bound Texture

Android / Core Class

From Raw Resource File

Android / UI

Switch to a TableLayout

Android / Network

Restful authentication task

Android / Animation

Utility for slide down and slide up

Android / UI

Adding EditText to Activity

Android / Core Class

Application Widget

Sample C# Codes

C# / Language Basics

Using break with nested loops

C# / File Stream

Read data in line by line

C# / 2D Graphics

Write font metrics for Times New Roman font family

C# / 2D Graphics

New Pen(clr, f)

C# / Language Basics

Using command-line arguments to initialize an array

C# / Class Interface

Demonstrates how a static field is shared by multiple instances of a class

C# / WPF

Formatted Digital Clock

C# / Data Types

Talking to Mars

C# / ADO Database

How to control the command behavior to return a single row

C# / File Stream

Reads the stream from the current position to the end of the stream

C# / Network

Web Downloader

C# / Network

Build the DownloadString

Sample Java Codes

Java / Core

Working with Temporary files

Java / PDF RTF

Custom PDF Document

Java / Class

This program demonstrates anonymous inner classes

Java / GWT

Grid Edit Freeze Sample (Smart GWT)

Java / Swing JFC

Changing the Text of the Approve Button in a JFileChooser Dialog

Java / 2D Graphics GUI

Setting the Orientation of a Printed Page

Java / Development Class

Computes p(x;n,p) where x~B(n,p)

Java / File Input Output

Remove file or directory

Java / Swing JFC

Transferable Color

Java / Language Basics

Infinite For loop Example

Java / Network Protocol

Zip URLStream Handler

Java / Database SQL JDBC

Determining If a Database Supports Batching

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.