Developer code samples

Download code samples and demo applications for windows and other products which uses the .Net Runtime Library for Delphi.

Search Value

.Net
  1. Use regular expression to check whether a string is a currency or not.

    The demo illustrates the use of a regular expression to check whether a string either represents a currency value or has the correct format to represent a currency value.

    15 Downloads | Updated 28/08/2018 | Tags , , , , ,
  1. Use a regular expression to check for repeated occurrences of words in a string

    The demo uses a regular expression to check for repeated occurrences of words in a string using .Net class "Regex" in Delphi.

    10 Downloads | Updated 28/08/2018 | Tags , ,
  1. How to create a WebRequest instance and return the response.

    The following demo shows how to create a WebRequest instance and return the response.

    14 Downloads | Updated 20/08/2018 | Tags , , , , ,
  1. Send data to and receive data from a resource identified by a URI

    The demo example takes the URI of a resource, retrieves it, and displays the response using .Net WebClient.

    10 Downloads | Updated 20/08/2018 | Tags , , , , , ,
  1. .Net Web Browser Control in Delphi

    How to create your own web browser(starter) with the .Net Web Browser Control in Delphi using the .Net Runtime Library for Delphi

    29 Downloads | Updated 25/05/2018 | Tags , , , , , ,
  1. File Encryption and Decryption in Delphi

    Demonstrates how to encrypt and decrypt any file type in Delphi using the .Net Runtime Library for Delphi.

    29 Downloads | Updated 15/05/2018 | Tags , , , , ,
  1. .Net GZipStream - Compress/Decompress a String in Delphi

    This demo demonstates how to use .Net GZipStream to compress and decompress string in Delphi.

    6 Downloads | Updated 15/05/2018 | Tags , ,
  1. Host WPF Composite Control in Delphi VCL Forms

    This demo demonstrates how to host WPF Composite Control packaged into a .Net library in Delphi using the .Net Runtime Library for Delphi TClrContainer component.

    32 Downloads | Updated 10/05/2018 | Tags , , , , ,
  1. How to use the .Net FileWebRequest to access a file system resource in Delphi

    This demo demonstrates how to use the .Net FileWebRequest class to access a file system resource in Delphi using the .Net Runtime Library for Delphi.

    10 Downloads | Updated 10/05/2018 | Tags ,
  1. How to send an e-mail message asynchronously using .Net SmtpClient in Delphi

    The demo how to send an e-mail message asynchronously with the .Net SmtpClient in Delphi using the .Net Runtime Library for Delphi.

    17 Downloads | Updated 10/05/2018 | Tags , , , ,
  1. How to Encrypt/Decrypt a message using the .Net CreateEncryptor in Delphi

    This demo shows how to use the .Net CreateEncryptor method to encrypt and decrypt a message in Delphi using the .Net runtime library for Delphi.

    11 Downloads | Updated 10/05/2018 | Tags , ,
  1. How to use .Net Reflection to Open and Close SqlConnection in Delphi

    This demo shows how to use .Net reflection in Delphi to load System.Data assembly, load and create instance of SqlConnection type, set the connectionString property of the SqlConnection and invoke the open and close method of the SqlConnection instance.


    11 Downloads | Updated 10/05/2018 | Tags , , , ,
  1. How to Upload a File to a network in Delphi

    The demo shows how to upload a file to the network and also show the progress of the upload operation in Delphi using the .Net Runtime Library for Delphi.

    9 Downloads | Updated 10/05/2018 | Tags ,
  1. How to Send Strings to Serial Ports in Delphi

    This demo shows how to use Computer.Ports interface to send strings to the computer's serial ports in Delphi using the .Net Runtime Library for Delphi.

    14 Downloads | Updated 10/05/2018 | Tags , ,
  1. How to receive Strings From Serial Ports in Delphi

    This demo shows how to use Computer.Ports interface to receive strings from the computer's serial ports in Delphi using .Net Runtime Library for Delphi.

    11 Downloads | Updated 10/05/2018 | Tags
  1. How to Read From Text Files with Multiple Formats

    The demo demonstrates how to parse a text file named testfile.txt with multiple formats in Delphi using .Net Runtime Library for Delphi.

    8 Downloads | Updated 10/05/2018 | Tags ,
  1. How to download a File from the Network in Delphi

    The demo shows how a file can be downloaded from the network with or without supplying a user name and password using the .Net Runtime Library for Delphi.

    7 Downloads | Updated 10/05/2018 | Tags , ,
  1. Handle and raise .Net events in Delphi (Standard)

    This demo shows how to raise .Net events and handle these events from Delphi using the .Net Runtime Library for Delphi.

    13 Downloads | Updated 10/05/2018 | Tags , ,
  1. Handle and raise .Net events in Delphi (Advanced)

    This demo shows how to raise .Net events and handle these events from Delphi using the .Net Runtime Library for Delphi.

    12 Downloads | Updated 10/05/2018 | Tags , ,
  1. How to add, remove, and insert data in .Net generic List in Delphi.

    This demo demonstrates how you can add, remove and insert data in .Net generic List in Delphi using the .Net Runtime Library for Delphi

    18 Downloads | Updated 10/05/2018 | Tags ,
  1. How to use .Net Generic Dictionary in Delphi

    The demo shows how to use .Net Generic Dictionary in Delphi to add data, remove data and enumerate though the data stored in the generic dictionary.

    13 Downloads | Updated 09/05/2018 | Tags ,
  1. How to host .Net DataGridView Controls in Delphi

    This demo shows how to host DataGridView control, load data from a dataset and display the data in the datagridview.

    8 Downloads | Updated 09/05/2018 | Tags , , , ,
  1. How to use different .Net Collection types in Delphi

    This demo shows how you can use .Net Collection types such as StringCollection, Stack, Queue, Hashtable, SortedList etc in Delphi.

    11 Downloads | Updated 09/05/2018 | Tags , , , , ,
  1. How to create Instance of .Net Objects

    In order to interact with .Net Objects's methods, properties, Fields and events, you need to create an instance of the object. There are several ways to Create an Instance of a .Net Object in Delphi using the .Net Runtime Library for Delphi.

    33 Downloads | Updated 07/04/2018 | Tags , , , , ,
  1. How to load .Net Assemblies from Delphi

    There are several ways to load an assembly into an application domain using the .Net Runtime Library for Delphi. The recommended way is to use the static Load method of the TClrAssembly class (Declared in CNClrLib.Host unit).

    36 Downloads | Updated 07/04/2018 | Tags , , , , ,
  1. Hello World -- My First Program

    The following segment of codes create a Delphi version of the traditional "Hello World!" program using the .Net Runtime Library for Delphi. The program displays the string Hello World!

    24 Downloads | Updated 06/04/2018 | Tags