Create help file topics by going to the menu section«Settings -> Add topic», or right-click on the project tree on the left, then from the menu select«Add -> Add topic». For making the complete description of Delphi-application, create a topic for each of its object. In...
It's much simpler to create a resource file that is identified by an ordinal (e.g.200) than it is to create one identified by a string (e.g.'MY_RESOURCE'), since the resource header records are a fixed size in the first case and are variable in the second case. We will only co...
In Java there are various predefined stream classes that provide filters for other stream classes. The filter classes essentially "wrap" the streams they operate on and can often be applied to further filters. This article demonstrates how we can do this in Delphi in a way that is extendable ...
1functionTWebBrowserWrapper.NavigateToLocalFile( 2constFileName:string):Boolean; 3begin 4Result:=FileExists(FileName); 5ifResultthen 6NavigateToURL('file://'+FileName) 7end; Listing 4 NavigateToResourceis slightly more complicated in that we need to create the required URL using the IE specific...
.Net 4 FileLoadException permissions problem With windows service .NET code to extract data from an excel sheet and create a text file having a specific format .Net Core 3.0 Console App. Microsoft.Data.SQLClient is not supported .NET Core supporting distributed transactions .NET Regular Expressio...
To see the problem let's create a small application that shows the name of the parent form's active control in the status bar. Start a new Delphi application and drop the following controls on the form, keeping the default names:
The following code shows how to strictly verify a file against its baseline copy stored in the Stores > Files collection: JavaScript, JScript Python VBScript DelphiScript C++Script, C#Script Copy Code Files.OrdersList_old.Check("C:\\Work\\OrdersList.txt"); ...
Sample Excel add-in / plugin in Delphi with complete source code. Learn how to create COM add-ins for Microsoft Excel 2021 - 2000, add custom ribbon tabs, handle Excel events, and more.
icons, andcursorsfrom resources. As stated in that article we can use the Image Editor to create and edit resources that consist of such types of files. Now, when we are interested in storing various types of (binary) files inside a Delphi executable we'll have to ...
Double click the OnGetText event to create the event handler Add the next line of code (italicized below): procedure TForm1.DBTableDataGetText( Sender: TField; var Text: String; DisplayText: Boolean); begin Text := Copy(DBTableData.AsString, 1, 50); ...