delphi

How set font properties in calculated field using Digital-Metaphors Report Builder RAP

I'm trying to set font attributes in a variable in Digital-Metaphors Report Builder using RAP. The code I'm using is: if (DBdetail['LINEATTR']='1') then begin budgetValue.font.style:=[fsBold]; end; but this isn't working, I get a compile time error. How can I set the font style? ...

Compare Delphi Exception Handlers

How would you compare MadExcept to EurekaLog as an Exception handler for your Delphi application? Why would you pick one over the other? Are there any other exception handlers for Delphi that should be considered in addition to these two? Well the answer was between Smasher and Mark, who both had good info in their comparisons but e...

search and replace inside files usind Delphi language

Hello, I want to make a small app with Delphi to search inside files for a specific word and change it then save the file It should support ansi and utf-8, how I should do that ? thanks ...

are there any delphi code assistant or helper exist?

Hello all, :) im looking for delphi code assistant or helper, are there any such like helper exist in delphi? such like when i was used WingIDE of python, there 's such like ballon pop up code related help explain popuped. so i can guess what is this method , sorry my english. thanks in advance ...

FastShareMem still necessary in Delphi-2010?

Hi, Up until now I am developing using Delphi 7. In order to pass f.e. TStringLists to my DLL's I use the FastShareMem unit as first unit in every program and dll I develop. If I should migrate to Delphi-2010, Does FastShareMem still necessary ? Thanks for any insight you may provide. ...

problem source in delphi EmbeddedWB1

Hello all im new to delphi and EmbeddedWB1 , i really don't understand where is my source have problem. very simple but can't work correctly, my problem is in my delphi source EmbeddedWB1.ReadyState <> READYSTATE_INTERACTIVE not work correctly. there is login form exist in this site(http://sports.khan.co.kr/htdocs/login/login.html...

switching of debugger

I am using Delphi to create a program and need help with turning of the Delphi debugger. I create some code as follows: try ... ... ... except ... unfortunately before moving to the except code the debugger kicks in with a un-user friendly message. How can switch it off and move directly to the except code? ...

Troubleshooting SQL Server connection issues.

I'm relatively inexperienced at SQL Server, but am trying to troubleshoot some of the (non-SQL Server-related) logic and UI issues in a Delphi app someone else wrote which uses it. Currently trying to get the dev environment functioning. Here's the environment: Dev machine: Virtual machine (VMWare) running Windows XP, using Bridged Net...

Why Does Delphi's Math.Payment Function Return A Negative Number

I'm trying to calculate the monthly payment for the following scenario: $5,000 is borrowed for 3 years at 8.00% compounded monthly with $1,000 due at the end of the term. /* From Math.pas function Payment(Rate: Extended; NPeriods: Integer; const PresentValue: Extended; const FutureValue: Extended; PaymentTime: TPaymentTime): Exten...

Why does my "if" statement appear not to run?

Hi everybody. I'm defecting from C# to Delphi 2009, I'm liking it so far very much. I wrote a binary search procedure, which works fine. I added a simple if-else statement at the end of my proc and it just doesn't fire! I can't see anything wrong with it and am embarrassed to have to say I am stuck. Please help! procedure BinSearch; v...

Using Delphi to take advantage of GPGPU technology?

GPGPU is the principle of using the parallel processors on video cards for massive increases in performance. Does anyone have any ideas about using GPGPU in Delphi, using either OpenCL or CUDA? CUDA was/is NVidia only, but they have also adopted the OpenCL "standard". I found a few Delphi samples from Google searches but they either c...

How to convert WMI DateTime to standard DateTime?

I'm trying to read the install date from WMI (Win32_OperatingSystem.InstallDate). The return value looks like this: 20091020221246.000000+180. How can I get a valid Date? ...

Profiler able to start profiling when executing some procedure

I browsed and read a lot of questions/answers about profilers on StackOverflow, but still have one more question I haven't found an answer to. I have been using TurboPowers Memory Sleuth for years with Delphi 7 and am still very hapy with it. However, I plan to upgrade to Delphi 2010 and suspect that this program will not run anymore. ...

Anyone upgraded Turbopower's Onguard to Delphi-2010

Titel says it all: has anyone been able to upgrade The Onguard component suite from Turbopower (which is opensource) to Delphi-2010 ? I am still trying to make sure all my trusted components (which I have used for years in Delphi 7) can be compiled and used in Delphi-2010. Not an easy tasks at all. I would pay any reasonable price for...

delphi and mysql DB help

hello all I want to create an application for my friends ,Its like a slam book I want like this in nameditbox when i entered name it has to fetch data from database and have to display in respected fields example : nick name editboz :nick number:1111 2.moreover i want to add to database new entry from my application b...

How do I implement an Delphi coded "ICollection" from a C# .NET collection defined within a 3rd Party Open API Tool.

How do I implement an Delphi coded "ICollection" from a C# .NET collection defined within a 3rd Party Open API Tool. I have a Laserfiche API toolkit where I am calling the code to return a collection of search hits. --- This is the process to call it from VB# --- search.BeginSearch(True) set results = search.GetSearchHits() ' retrie...

Delphi: constant class instance

If I define a record, I can define an instance of that record as a constant record e.g. Tunit = record _name: string; _scale: real; end; const metre: Tunit = (_name: 'metre'; _scale: 1.0; ) I need to do something similar where Tunit is a Class and metre is an instance of the class, but is a (particular) instance whose asso...

Is VTune Worth Considering for Delphi?

Running through all the questions on profiling tools, I was surprised to discover VTune by Intel that I hadn't heard of before. At $700, it is even more expensive than AQTime. But before I make the decision to put down the big bucks for AQTime, has anyone used VTune for Delphi, and if so, do you think it has any benefits that may make ...

Delphi "Internal Error EVA 1528"

Can anyone please help me out in rectifying the error: BORdbg70.exe BORdbg70.dll "Internal Error EVA 1528". What is the cause of this error? how can i slove this problem. See here how the remote debugging session was setup ...

How to get Title, cookies, and post data for all tabs in IE

hey! I need a way to get Following data for all Tabs of IE : Titles of all Tab instances. Post Data when a form is submitted. All Cookies Actually my client wants to keep tab on his employees surfing behaviors, he has this requirement. I am not sure how i can do this.I guess it will be done in VC++/Delphi,Any technology will do as l...