RT_HTMLis a constant that denotes an HTML resource. Unlike otherRT_*constants it is not defined in Delphi 7. If needed, the constant should be defined as follows: 1const 2RT_HTML=MakeIntResource(23); Listing 5 How to create HTML resources ...
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...
Earlier we have learnedhow to create a Python Type using Python4Delphi componentsin a Delphi GUI app. From the post we know, how to create and use Python4Delphi components such as TPythonEngine, TPythonModule, TPythonType by a simple drag and drop in our application. But ...
With Delphi, you can write and use your own DLLs and even call functions regardless of whether or not they were developed with other systems or developers, likeVisual Basic, orC/C++. Creating a Dynamic Link Library The following few lines will demonstrate how to create a simple DLL using Del...
Python4Delphidoes for us.PythonforDelphi(P4D) is a set of free components that wrap up the Python DLL into Delphi and C++Builder. They let you easily execute Python scripts, create new Python modules and new Python types. This post will guide you on how to use the...
Add-in Express publishes the Excel.Application object as an instance of TExcelApplication to access to all Excel objects and their events. So, if you need to integrate with Excel, or with MS Office in general, check out Add-in Express VCL, the tool that makes Delphi the best platform for...
So, I wanted to create the OnCellDblClick event, but as I've said earlier, I don't know how to do it. I noticed that a lot of people want this same event, but I can't find the answerd to it. Is it possible to know if the double click was on a record, if it was, then...
C# to create an access database...with password protection. C# to delete an Excel Worksheet c# to jQuery replace " with double quote C# To Open Access Database C# to OpenOffice Calc C# to POST HTTP with XML C# to query SQL and store results in a variable C# to read S.M.A.R...
How do I create an icon from an bitmap? Answer: You must create two bitmaps, a mask bitmap (called the "AND" bitmap) and a image bitmap (called the XOR bitmap). You can pass the handles to the "AND" and "XOR" bitmaps to the Windows API 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; ...