[delphi-en] ClassName To ClassType

2007-05-05 Thread Jonathan Taylor
Hiya, I have a singleton factory controlling all my object instances (forms bdm's), I need a way of 'saving' this list of classes so as to recreate the objects at next runtime, but how can I 'save' a class type other than by saving its name, and then how do I get to the class type form the

[delphi-en] ASPX/ASCX and DLL association, how to know

2006-08-28 Thread Jonathan Mora
We are using Delphi 2005 and our current project is a web application developed in ASP.Net. Is there a way to know which DLL (full path name of the IL DLL) is associated with an ASPX or ASCX file? - How low will we go? Check out Yahoo! Messenger’s

RE: [delphi-en] Easy way to copy components

2006-05-14 Thread Jonathan Taylor
Hey Nisha, Have you seen Delphi Config Expert, http://dcexpert.1a.cn/ , I haven't tried it myself but looks interesting, will backup and migrate all tools, components etc. Cheers Jono _ From: delphi-en@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dawood Nisha

RE: [delphi-en] Accessing cells in Excel file

2006-03-22 Thread Jonathan Taylor
Have you tried ARExcelReport (http://www.vector-ski.com/reports/arexcelreport_index.htm), allows you to write a code generated report using a .xls workbook as a 'template' with #tags that are filled with vars or direct from data sets. _ From: delphi-en@yahoogroups.com [mailto:[EMAIL

RE: [delphi-en] Re: Re: commercial grid component

2005-11-28 Thread Jonathan Taylor
Bit off the topic, but talking about memory leaks, I use MemCheck @ http://v.mahon.free.fr/pro/freeware/memcheck/ . Link into your project file (as per samples and tutorials on the website) and forget about it. It only kicks in when it detects either a reference to non assigned object, or an

RE: [delphi-en] Capturing video from a camera

2005-11-10 Thread Jonathan Taylor
Assuming the webcam driver you are using is TWAIN enabled / compatible, you handle the image the same as if it was through a scanner. See http://delphi.about.com/od/graphics/l/aa030299.htm for info re Delphi and TWAIN, they also have links to components. Good Luck Jono

Re: [delphi-en] double + trunc + IntToStr apparent weirdness

2005-10-12 Thread Jonathan Mora
I think you're right. The code below produces 22 procedure TForm1.Button1Click(Sender: TObject); var d: double; begin d := 2.3; caption := IntToStr( trunc( d * 10 * 10 * 10 * 10 * 10) ); end; --- Rob Kennedy [EMAIL PROTECTED] wrote: Walter Prins wrote: I'm having a blonde

[delphi-en] DBX Error : No Mapping for Error Code Found

2005-06-10 Thread Jonathan
I experience that kind of error message everytime I execute a query against firebird (1.5.2). The real error should be about duplicate key (Primary key violation), but seems like the dbx cannot map the error to its internal error code somehow. Can anyone point me whether this is a known bugs, or

Re: [delphi-en] Control MDI Children Behaviour

2005-05-03 Thread Jonathan Mora
); {===} --- Walter Campelo [EMAIL PROTECTED] wrote: Jonathan: I'm having the exactly the same problem as you... One solution that I've found is to use a TToolbar instead of a TMainMenu and give all MDIChild forms a sizeable border and a system menu. That way the forms

Re: [delphi-en] Finalize Dynamic array

2005-03-20 Thread Jonathan Mora
using FreeMem). 2) The variable contains long strings, variants, or interfaces, not all of which are empty or Unassigned. My comment is based on #2. --- Rob Kennedy [EMAIL PROTECTED] wrote: Jonathan Mora wrote: A call to finalize is necessary since the dynamic array contains long strings

Re: [delphi-en] getting enumerated count

2005-03-18 Thread Jonathan Mora
: TyourEnum; begin Result := 0; for i := Low(TyourEnum) to High(TyourEnum) do Inc(Result) end But personally I don't use the enum types with predefined value for items With best regards, Mike Shkolnik EMail: [EMAIL PROTECTED] http://www.scalabium.com --- Jonathan Mora [EMAIL