Access Control Snippets


Example Apache .htaccess file to add access control header

Shows how to focus a control in a Windows Form. If you are working with Web forms it is very simple, you just use "WebControl.Focus()" but this does not work for Windows Forms.

05 November, 2013   

Apache code example to limit access by IP address

The ActiveControl property of a Delphi Form object specifies what control has the input focus. You can use this property to set what control is (initially) focused when the form is created and displayed to the user. If you want to move the mouse cursor to the control with the focus, you can use the next code in the form's OnCreate event handler...

The pyperl dist provide an interface to the Perl DBI (dbi.py). This allow direct access to all the perl supported databases from python. Full documentation of the API from 'perldoc DBI' or the ORA "Programming the Perl DBI" book, by A. Descartes and T. Bunce.

30 January, 2012   

The PL SQL code samples making use of the control structures will be given in the following.

Delphi code example - how to Cut, Copy and Paste text from the control which has the focus.

11 July, 2013   

Help manage mysql database common task

Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

An example of HTML form control where used-password input box

An example of HTML form control where used single text input box

The following code snippet shows how to execute standard Control Panel applets (Display Properties, Reginal Settings, Mouse Properties, and more) from Visual Basic code.

28 November, 2013   

Edit database using vb + access

15 November, 2012   

If one of the input values is zero, then the program will end with an error code of "1" in the job control card listing following the execution of the program. Normal output will be one line printed with A, B, C, and AREA. No specific units are stated.

07 March, 2011   

Shows how to upload a single file to a FTP server.

19 January, 2012   

CSS Code example - how to control the letters in a text

This snippet shows how to add treenode's to a treeview control. It also shows how to add sub nodes.

21 January, 2013   

VB code to add data using access

03 January, 2013   

Choose a color scheme as found in the Display control panel applet

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...