Delphi code to send data to web server based on POST method To send content using the POST method in Delphi, you can use the TIdHTTP component from the Indy library, which is a popular library for internet components in Delphi. Below is an example Delphi code snippet demonstrating how to send content using the POST... |
Sending email messages in .Net Sending an e-mail message (even with attachments) in Delphi for .Net (ASP.NET or WinForms) is very simple. You don't have to learn complicated syntaxes and other commands to achieve the task. The System.Web.Mail namespace provides the classes for sending e... |
Delphi for .Net Code Folding keyboard shortcuts Privately I don't think this shortcut is not easy to memory and frequently used so not practical.However Delphi for .Net's Code Editor introduced Code folding. Code folding lets you collapse (hide) and expand (show) sections of your code to make it easier ... |
How to encrypt a string If you need to encrypt a string in Delphi for .NET you can use the System.Security.Cryptography namespace. Here's a sample function:Note: the example below uses MD5 algorithm implementation, for a list of possible implementations read MSDN help for System.... |
Download a file from the Internet with progress indicator If you need to save the contents of a specified URL to a file - and be able to track the download progress, use the TDownLoadURL Delphi action While TDownLoadURL is writing to the specified file, it periodically generates an OnDownloadProgress event, so th... |
Browse for Computers, Folders, Files and Printers By using the SHBrowseForFolder Windows API function and Delphi we can invoke a Windows system dialog used to browse for files and folders on users hard drive as well as network computers and printers. First, let's look at what SHBrowseForFolder needs. Here... |