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...
4 inherited Create; 5 fHostedBrowser := HostedBrowser; 6 SetBrowserOleClientSite(Self); 7end; Listing 3 Here we simply check that the browser control passed to the constructor is not nil and record a reference to it in a field. Our container object then registers itself as the web browser...
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 ...
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.
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 few lines will demonstrate how to create a simple DLL using Delphi. For the beginning start Delphi and navigate toFile > New > DLLto build a new DLL template. Select the default text and replace it with this: libraryTestLibrary; ...
.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 Expression...
Delphi:LoginDialog.dproj PressF9or chooseRun > Run. Select a connection definition from theUse Connection Definitiondrop-down menu. ClickConnectto connect to the database. TheFireDAC Loginappears, allowing to input the login credentials.
No, NTFS file system 5.0 provides an implementation of IPropertySetStorage interface for files on an NTFS volume when the files themselves are not compound files. To get a pointer to the NTFS implementation of IPropertySetStorage, we have to call the StgCreateStorageEx function: ...
The following few lines will demonstrate how to create a simple DLL using Delphi. For the beginning start Delphi and navigate toFile > New > DLLto build a new DLL template. Select the default text and replace it with this: libraryTestLibrary; ...