Codes from Developers

PHP

Function,to,generate,calendars,on,the,fly

Function to generate calendars on the fly


C#

visitor,pattern

Visitor Pattern


C#

Get,online,users,from,session

This code will return you all online users of your website using sessions.


JavaScript

javascript,js,clear,selection

clear selection from javascript


C++

A,Templated,Stack,Data,Structure,Example,c++

A Templated Stack Data Structure Example in C++


C# JavaScript

associative,arrays,client-side,caching,ajax,javascript

Using Associative Arrays for Client-side Caching using AJAX & Javascript


Java

Creating,Checkbox,buttons,java

Creating Checkbox buttons in Java


PHP

An,SQL,Administration,User,Interface,for,the,Web,php

An SQL Administration User Interface for the Web in PHP


Delphi

AfterOpen,event,AfterClose,event,delphi

This example adds an entry to a memo with a message when an AfterOpen event or an AfterClose event occurs. Populate the ClientDataSet events with CheckButtonActive.


Delphi

FMXTCanvasDrawFunctions,delphi

This example shows how to use the TCanvas drawing functions and their results. The TCanvas drawing functions are: DrawArc, DrawBitmap, DrawEllipse, DrawLine, DrawPath, DrawPolygon, DrawRect, DrawRectSides, CreateThumbnail. To build and test this example, create a Multi-Device Application - Delphi and add the following controls on the form: A TImage A TGroupBox with nine TRadioButton objects (a radio button for each function). Change the TRadioButton.Text property for each radio button with the name of a function. A TButton A TOpenDialog The example draws on the canvas of the bitmap. The bitmap is displayed on the TImage.


PHP

An,easy,page,browser,php

An easy page browser in PHP


Delphi

exception,handling,runtime,errors,delphi

This example demonstrates exception handling to catch run-time errors.


C#

c#,binary,reader,binaryreader

This Code Implements BinaryReader


C#

render,partial,view,as,string,return,html,of,view

this code will let you render partial view and return string of view html


C#

c#,selection,sort

This Code Shows How to Perform a Selection Sort. Selection sort is an algorithm of sorting an array where it loop from the start of the loop, and check through other elements to find the minimum value. After the end of the first iteration, the minimum value is swapped with the current element. The iteration then continues from the 2nd element and so on.


Delphi

region,clipping,rectanglecanvas,ClipRect,,delphi

This example creates a region and selects this region as the clipping rectangle for the Image component's canvas. It then sets the canvas's brush color to red and calls FillRect using the ClipRect as the area to fill. Lastly, the ClipRect is reset to the original value that it contained by calling SelectClipRect with nil as the second parameter and deletes the region. Place a TImage object in the form.


Java

Draw,Delete,lines,from,JPanel,in,java

Draw or Delete lines from JPanel in java


C#

Get,url,meta,tags,and,title,utf8,encoded,using,htmlagilitypack

this code will get all meta tags of any url using htmlagilitypack library.


C#

c#,matrix,addition

This Code Shows How to Perform Matrix Addition


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.