Delphi Passwords Snippets


By default, Delphi gets its date/time, currency and numeric format from Control Panel's International settings. We can set the constants defined in Delphi, like DecimalSeparator, ShortDateFormat and others like in the code below. To a complete list of these variables, look at Currency and date/time formatting variables in Delphi Help.

A short and simple code snippet using voice output with Delphi

01 September, 2014   

MySQL code example to assign random passwords

01 March, 2011   

Function that generates random passwords.

02 December, 2012   

Delphi code example for HTML color to Delphi TColor

10 March, 2012   

Example Delphi code for Copying a screen

Many applications, such as CuteFTP and Outlook Express, allows you to enter a password and use it when it is needed. However, if you forget your password, you cannot see it, because it's hidden behind asterisks ('****') characters. The following code snippet scans all windows on the screen and reveals the passwords behind the asterisks...

As the most important building block of any Delphi application, the TForm object is most of the times used as is. Delphi's TForm object provides enough properties and events to help you do (and control) whatever needed with it. Sometimes you'll find out that a few events or properties are missing... Try creating a simple form application. Now...

08 May, 2012   

Here shown an example for how to clone a Delphi Form

Sometimes you need to generate passwords for customers automatically when a new account is created. This code allows you choose the desired length and strength for the password and it is very flexible.

15 June, 2013   

Example shows here How to Clone a Delphi Form. Note: when you create a new clone from an existing form, the clone's OnCreate will not execute.

25 January, 2012   

Delphi Code example how to Cut, Copy and Paste

18 February, 2013   

A C++ algorithm which encrypts an alphanumeric password.

28 March, 2013   

Delphi code - Is running in terminal server

12 April, 2012   

Delphi code example - force the input in a TEdit

06 February, 2013   

Delphi code for Hexadecimal to Integer

Here's a simple trick to execute a Delphi object's method by name:

13 March, 2011   

This program make input type for password.

06 February, 2013   

Delphi code for String to Hexadecimal

Delphi's RTL ExpandUNCFilename function retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files (thus making my *very old* custom function obsolete).