Wow, Its been a long time since this comment have been visited! Engwi, No comment has been added lately (82 days), so it's time to clean up this TA. I will leave a recommendation in the Cleanup topic area for this question: RECOMMENDATION: Award points to geobul -- Please DO NOT accept this comment as an answer! -- Thanks, knightmad EE Cleanup Volunteer Remember you (all) can object this recommendation if you disagree, just leave a post here explaining why are you objecting and what should be done instead. Within 7 days probably this thread will be closed, so, hurry up!: ). Sometime we need some special directories path from Microsoft Windows system to store User data or to copy some files etc. So we can get those folder paths in Delphi in several ways. In this blog I have tried to cover all the ways. If I have left something please feel free to add comments. Telugu chiranjeevi songs. By using Windows API function SHGetFolderPath Delphi provides SHGetFolderPath API function which helps us to get windows system folder paths. We need to use ShlObj unit in uses clause. For more details about SHGetFolderPath please visit following link Here at following I have created a string function GetSpecialFolderPath using SHGetFOlderPath API function which will return all special Windows folder path as per CSIDLFolder value. Function GetSpecialFolderPath(CSIDLFolder: Integer): string; var FilePath: array [0.MAX_PATH] of char; begin SHGetFolderPath(0, CSIDLFolder, 0, 0, FilePath); Result:= FilePath; end; // to get DESKTOP folder location // procedure TForm1.Button2Click(Sender: TOb. Delphi Windows Service DescriptionCreating a Windows Service in Delphi (Page 1 of 5 ). A service is an application type that runs in the background, and is similar to UNIX daemon applications. Abstract: In this Delphi Labs episode we are looking at different DataSnap application types and as a demo project Delphi DataSnap server application is implemented as Windows Service. DataSnap architecture is very flexible and open. Currently you can use Delphi and C++Builder to. Mar 17, 2017 - Use Delphi to create, start, stop, list or inventory long-running Windows services which run in the background without much user input. In this blog I will describe how to read and write data from and to an Excel file. Sometime in our application we use Excel for reporting purpose, for data import / export purpose and for other works. So here I will explain how to access an Excel file and use for data read / write. For this Excel 2003 or later should have installed in our system. First use Excel2000 unit to uses clause. This unit comes with Delphi installation it self. You can get the unit in installed path C: Program Files (x86) Embarcadero RAD Studio 10.0 OCX Servers Uses Excel2000; Before proceed I would mention an important word LCID which is required at most places. So what it LCID? LCID = In Microsoft Excel, the LCID indicates the currency symbol to be used when this is an xlListDataTypeCurrency type. Returns 0 (which is the Language Neutral LCID) when no locale is set for the data type of the column. We can get LCID in Delphi by using GetUserDefaultLCID function. Om namah shivaya shiva mantra peaceful chants mp3. Private LCID: Cardinal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |