Codes from Developers

Delphi

BinToHex,HexToBin,delphi

The purpose of this example is to illustrate the BinToHex and HexToBin methods from the Classes unit. This code will convert a binary value to its hexadecimal representation and back.


HTML

Align,the,form,controls,with,table,html

Align the form controls with table in Html


C++

A,generic,stack,that,holds,two,values,in,c++

A generic stack that holds two values in c++


C#

c#,asynchronous,method,async

This code shows how to Create an Asynchronous Method


PHP

Timer,class,that,uses,microtime,provide,easy,calculation,elapsed,times,php

Timer - a class that uses microtime() to provide easy calculation of elapsed times in PHP


JavaScript

Controlling,Ajax,Request,Before,Complete,Success,Error

Controlling Ajax Request


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.


C#

c#,binary,integer,recursion

This Code Prints Binary Equivalent of an Integer using Recursion


Java

Demonstrating,the,runnable,interface,java

Demonstrating the runnable interface in Java


C#

AutoResetEvent,c#,thread

c# AutoResetEvent


JavaScript

Using,the,Photo,viewer,JQuery,Javascript

Using the Photo viewer with JQuery


C#

c#,trigger,timer

This Code Demonstrates Trigger Concept


PHP

Connect,MySQL,database,php

Connect to a MySQL database in php


PHP

Button,builder,php

Button builder in PHP


C#

get,deserialized,json,object,c#

get deserialized json object


Delphi

AppendRecord,delphi

This statement appends a record to the MyCustInfo data. Note that Nulls are entered for some of the values, but are not required for missing values at the end of the array argument, i.e. after the Field3 field. InsertRecord behaves differently depending on the indexing of the table.


C#

c#,divide,sequence,into,groups,linq

This code will to Divide Sequence into Groups using LINQ


C#

Adding,Controls,at,Run,Time,in,c#

This Code Shows How to Add Controls at Run Time


HTML

Absolute,positioning,for,header,html

Absolute positioning for header in html


C#

c#,insertion,sort

This Code Shows How To Perform Insertion Sort. Here it takes an element from the list and places it in the correct location in the list. This process is repeated until there are no more unsorted items in the list.