Windows Explorer is what you use in the Windows operating system to browse for files and folders. You can create a similar structure with Delphi so that the same content is populated within your program's user interface. Common dialog boxes are used in Delphi toopen and save a file in an ...
Anyone knows how to code in Delphi to get my actual IP? it should be a function, and by just clicking on a button, the actual IP will be shown. Here is a small function, which will take your REAL IP address. It is different, because you may be behind proxy. However, ...
If you find yourself in uncharted territory in your industry, you can seek expert advice through a forecasting process known as the Delphi method.
DELPHI - How to use opendialog1 for choosing a folder? On Vista and up you can show a more modern looking dialog usingTFileOpenDialog. varOpenDialog: TFileOpenDialog; SelectedFolder:string; ... OpenDialog := TFileOpenDialog.Create(MainForm);tryOpenDialog.Options := OpenDialog.Options +[...
1) Start Delphi, and followComponent -> Import ActiveX control ...,and you will see: 2) In theImport ActiveXdialogue box, selectXChartfrom Ultimaserial 3) Click theInstallbutton, thenOKs to install XChart control to ActiveX tab to be used in Step 7) ...
I use theTWebBrowsercontrol quite a lot. But, since the control is simply a wrapper round the Microsoft® control, it doesn't really do things the "Delphi way". If, like me, you've found yourself saving dynamically generated HTML code to disk just so you can access it usingTWebBrows...
The demo project is a Delphi 4 project that writes out some user provided strings to a file using theTStrStreamclass, and reads them back in again. This source code is merely a proof of concept and is intended only to illustrate this article. It is not designed for use in its current...
In Delphi we link the resource by adding the following line to a project file or to a convenient unit. For the example given above we would use: {$R HTML.res} Using better resource names You may find it helpful to name resources with file-like names. Doing this will make it easier ...
Delphi wrapper routines Let us now define some wrapper functions that (a) hide the API routines and (b) give easy access to the fixed file information, string values and translation table. We will create five routines: GetVerInfoSize –a thin wrapper round the GetFileVersionInfoSize API func...
Windows Explorer is what you use in the Windows operating system to browse for files and folders. You can create a similar structure with Delphi so that the same content is populated within your program's user interface. Common dialog boxes are used in Delphi toopen and save a file in an ...