Codes from Developers

PHP

LDAP,Search,Example

LDAP Search Example


JavaScript

Dynamically,Filtering,an,Array,Jquery

Dynamically Filtering an Array with JQuery


C#

convert,string,to,url,friendly

this c# code will convert string to url friendly string


C++

FahrenheitCelsius,converter,c++

Fahrenheit-Celsius converter c++


Java

Clock,Applet,java

Clock Applet in Java


Delphi

,tree,view,control,add,item,delphi

The following example adds a new item to the selected item's list of child items in the tree view control. The new item is added first in the list of child items. The new item is identified by the text 'New Item'. The TBitmap object is attached to the new item.


C#

AutoResetEvent,c#,thread

c# AutoResetEvent


Delphi

CompareStr,,delphi

The following code compares String1, 'STEVE', to String2, 'STEVe'. Note that CompareStr returns a number less than 0 because the value of 'e' is greater than the value of 'E'.


Java

Auto,Complete,JComboBox,java

Auto Complete JComboBox in Java


Delphi

CopyMode,of,an,image,canvas,delphi

The following example uses the CopyMode of an image's canvas to whiten and empty the image when the user chooses the Cut menu item. This example requires a Main Menu with a Copy and a Cut menu item that have their OnClick error handlers populated. Note: CopyMode and CopyRect are members of the destination canvas.


C++

Inheritance,Example,c++

Inheritance Example in c++


PHP

easy,calendar,navigation,with,PHP

Easy calendar-navigation with PHP


C#

c#,implement,delegate,delegates

This Code Implements Delegates


Java

Reading,XML,file,java

Reading XML file in java


Delphi

FMXTBitmapDataPixel,delphi

This example shows how to use the TBitmapData.GetPixel and TBitmapData.SetPixel methods. This sample draws and fills the rectangle on an image, pixel by pixel. To build and test this example, create a Multi-Device Application - Delphi, then add the folowing objects to the form: A TImage to display the TBitmap. A TLabel to display the value of the TTrackBar. A TTrackBar to control the amount of Red in relation to which the transparency of certain pixels changes. Add the following code to the OnChange event handlers of the track bar.


Java

Demonstrating,method,mouseDrag,java

Demonstrating method mouseDrag in Java


C#

strategy,pattern

Strategy Pattern


C++

Read,Text,Files,c++

Read Text Files C++


C++

,Implementation,for,stack,c++

Implementation for stack in C++


C#

c#,encrypt,decrypt,rijndael,key

This Code Shows How to Encrypt/Decrypt using Rijndael Key