Codes from Developers

C++

virtual,calender,shows,current,month,and,user,can,navigate,c++

This virtual calender shows current month and user can navigate through previous or next month / year using arrow keys in C++


Java

Accessing,a,data,source,from,a,servlet,java

Accessing a data source from a servlet ib Java


JavaScript

generate,unique,id,javascript,guid

this simple js code will generate unique id on client side


C#

c#,EqualityComparer,Equality,Comparer

This Code Shows How to Use EqualityComparer


Java

Interface,List,and,class,LinkedList,example

Interface List and class LinkedList example in java


Delphi

dataset,FetchPooler,delphi

This example fills in the parameters of a client dataset from the entries of a list box.


C#

c#,file,comparison,compare

C# Program to Perform File Comparison


PHP

php,mysql,Select,Examples

Returning Numeric Array Indexes with MYSQL_NUM in PHP


C#

c#,get,current,user,ldap,all,users,groups

this code will return you current ldap user or ldap users with groups


Delphi

draw,grid,top,row,DrawGrid,delphi

This code uses a draw grid and a button on a form. When the user clicks the button, the last row of the draw grid becomes the top row. This example requires a button, a DrawGrid, and a populated ImageList.


Delphi

FMXAttachTAnimation,delphi

This example demonstrates how the AnimationType and Interpolation properties affect the rate at which the value of a property changes under their control. This is illustrated by controlling the X and Y of a TRectangle with TFloatAnimation instances. The Interpolation properties on the TFloatAnimation objects are set to Linear, making the change of X and Y constant over time. The Interpolation and AnimationType properties of the TFloatAnimation instance can be set in the Object Inspector to any TInterpolationType and any TAnimationType. Drawing of the path is done using the DrawLine method of the form's Canvas. Points are collected and drawn using a TPointF array in the animation's OnProcess event handler and then redrawn in the form's OnPaint event handler. The TFloatAnimation instances have to be created as children of the TRectangle. Many of the TFloatAnimation properties can be set at design time. To replicate this example, create a Multi-Device Application - Delphi and add the following components to the form: A TRectangle--the animated object Two TButton objects Two TComboBox objects Two TFloatAnimation objects Rename the buttons to MoveRect and ReturnRect. Using the Object Inspector, add event handlers for the Form1.OnCreate, MoveRect.OnClick, ReturnRect.OnClick, FloatAnimation1.OnProcess, and Form1.OnPaint events. Fill in with the sample code below. The form should look like the following image.


C#

c#,socket,send,recieve

This sample code shows how to Socket Send and Receive in c#


Java

Audio,channel,player,java

Audio channel player in Java


Delphi

FileAttributes,delphi,getting,setting

This examples demonstrates the use of getting and setting the attributes to a file.


Delphi

FMXTSwipeTransitionEffectMousePoint,delphi

This example shows how to use the properties of a TSwipeTransitionEffect transition, so that the parent object of the transition starts peeling down from a corner chosen with the mouse. 1. To build and test this example, create a Multi-Device Application - Delphi, then add the next objects to the form: A TImage A TSwipeTransitionEffect 2. Add CornerPoint and MouseDown public fields of the TForm1 class. Add the following code to the OnMouseDown, OnMouseUp and OnMouseMove event handlers of the image:


Delphi

TButtonedEdit,edit,control,delphi

This exemple demonstrates the use of a TButtonedEdit edit control. The code will load two bitmaps located as resources in the executable and generate an image list at run time. The two loaded images are then used for the left and right buttons of the edit control.


C#

c#,bubble,sort

This Code Shows How To Perform Bubble Sort. Here bubble sort changes the postion of numbers or changing an unordered sequence into an ordered sequence.


C#

c#,game,hangman

This Code Creates a HangMan Game


PHP

Simple,script,send,emails,html,form,different,users

Simple script to send emails via a html-form to different users


C#

c#,http,server

This Code Shows How to Write a simple HTTP server