Developer code samples

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

Search Value

Load
  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 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. 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 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).

    34 Downloads | Updated 07/04/2018 | Tags , , , , ,