A similar approach is taken if you wish to use VBScript rather than JavaScript, but the precise details are, as they say, left as an exercise! All we have to do to call into our Delphi code from JavaScript is to reference the relevant methods of the external object. For example to acce...
In this case our code would find the registry key and would report that version as being installed. So what's the solution? Within the registry subkey there is a value named RootDir that is present for all versions of Delphi to date. This value stores the full path of the directory ...
Create a new Delphi project containing one form. This form is, by design, the main form. If you change the name of the form to "TMainForm" and save the unit as "main.pas," the project's source code looks like this (the project was saved as "PasswordApp"): program PasswordApp...
A demo program to accompany this article (and the relatedarticle) can be found in thedelphidabbler/article-demosGit repository on GitHub. You can view the code in thearticle-02+03sub-directory. Alternatively download a zip file containing all the available demos by going to the repository's l...
See "How to call Delphi code from scripts running in a TWebBrowser" for an example of how we reuseTNulWBContainer. In the following two sections we will develop the code for these classes. Developing a reusable base class Recall that this class,TNulWBContainer, will have all the features ...
How can I convert from string to code in C# How can I convert object into Type T? how can i create a countdown timer using C# ? How can I create a file in a sftp server. (c# console application) How can I create an .EXE file from a Visual Studio project? How can I create ...
develop and deploy an ActiveX control in native code(VB, C++, Delphi, …), however there’s few documents describe the manual in .NET. With this manual, you will learn how to develop, sign and deploy an ActiveX control with C#.NET. The practice can also be applied to C++.NET or V...
However, if you have resource string comments, then Soluling needs to read also the source code files. To find the source code files, Soluling needs to know the location of the Delphi project file (.dpr). Check Scan source code to find resource string comments if you want to scan the ...
ProDelphi measures the runtime of Delphi programs. If a program is too slow, ProDelphi gives the necessary information to optimize it. The principle of source code instrumenting , a sophisticated correction algorithm and the unique granularity of 1 CPU cycle guarantee to get correct...
Note!All the platforms (iOS, Android, etc.) of Delphi use the same .ntres file, but the file paths are very platform-specific, so you most likely need to use conditional compiling. If you don't specify the ResourcePath, Soluling code will try to find the file from directory returned ...