[DUG]: How to hide a form

2000-05-04 Thread Bird, Geoff GD
> I am currently doing an upgrade to a Delphi (D1) app developed some 3-4 yrs ago. > > I have an initial (Startup) form which manages security, then calls other forms etc. > This Startup form has no user interaction (although it does display a user reg. >key..), and (at the time) seemed a goo

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Alex Kouznetsov
I just do "select * from my_table". Table has about 40 columns. 2 of them are decimals and they both come up as currencies. - Original Message - From: "Dennis Chuah" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, 04 May, 2000 3:3

[DUG]: Package corruption

2000-05-04 Thread Patrick Dunford
Does anyone have experience of package files becoming corrupted. I installed a component into D3 into the Delphi Users' Components package, which normally works fine, except that Delphi just hung immediately after the installation. The component in question was installed in Delphi when I installe

RE: [DUG]: decimal-aligned text

2000-05-04 Thread Max Renshaw-Fox
In a couple of direct print things I did a while ago I just got the length of the text from a canvas and positioned based on that. It worked OK - the code was dead simple. Max -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Barker Sent: Thursday,

RE: [DUG]: decimal-aligned text

2000-05-04 Thread Stephen Barker
Thanks Max, but this is from a Dos app so I don't have api or canvas functions to measure text lengths etc. I think I'll just flip from proportional to fixed font to do the numbers. Steve > -Original Message- > From: Max Renshaw-Fox [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 4 May 2000

Re: [DUG]: BorCon Tutorials Revisited

2000-05-04 Thread Terry Johnson
>Because, Terry, that isn't what the courses are - they have no information on whether or not you should buy the product, they detail exactly how to achieve certain goals in the product.< Ok, the detail of the implementations I wouldn't expect, but in broad terms how about an explanation of what

[DUG]: Error.

2000-05-04 Thread Matthew Comb
Does anyone know what causes a Kernel 32 Error ? Thats all I have to go on. Cheers, Matt. --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: BorCon Tutorials Revisited (Entera)

2000-05-04 Thread Richard Vowles
I can answer the Entera one easily - Entera doesn't exist anymore as a product, so don't buy it! Richard - Original Message - From: "Terry Johnson" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, May 05, 2000 2:54 AM Subject: Re: [DUG]: Bor

Re: [DUG]: How to hide a form

2000-05-04 Thread Richard Vowles
This may be of some assistance - it is from TApplication: Determines whether the application shows its main form on startup. property ShowMainForm: Boolean; Description Use ShowMainForm to control whether and when the application shows its main form. The default value of True is set in the co

RE: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Dennis Chuah
I am meaning you can try select convert (varchar(30), my_field) from my_table This will comeback as string, and you can convert that to a Double. Slower, but ought to work. Regards, Dennis. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Alex K

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Neven MacEwan
Why not convert to a float? Regards Neven N.K. MacEwan B.E. E&E [EMAIL PROTECTED] - Original Message - From: Dennis Chuah <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Sent: Friday, 5 May 2000 09:22 Subject: RE: [DUG]: SQL 7 decimal comes as currency in d

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Alex Kouznetsov
> Why not convert to a float? How ? If I run a query 'select my_decimal_column from my_table' I get result set with a Fields[0].DataType=ftCurrency. Regards Alex > > Regards Neven > N.K. MacEwan B.E. E&E > [EMAIL PROTECTED] > > - Original Message - > From: Dennis Chuah <[EMAIL PROTECTE

[DUG]: Kylix : Interesting read.....

2000-05-04 Thread Donovan J. Edye
Chuck & Kylix: straight outta Scotts Valley Exciting times at Inprise. But after a series of crises, culminating with the Corel purchase, the company is fighting back with Kylix, an ambitious project to port its Windows development environments to Linux. Chuck Jazdzewski, Chief Architect of Delph

Re: [DUG]: Seminars in Christchurch

2000-05-04 Thread Peter G Jones
You would get 1 or 2 from Foodstuffs. >Hi people, > >We are thinking about doing these seminars in Christchurch around 7-9th >July >(not sure yet), but we need an indication of numbers. Who would be >interested? Cost would most likely be the same ($299 for one, $499 for 2 I >think?, +GST). ___

[DUG]: MTS Shared Properties

2000-05-04 Thread Peter G Jones
I have a MTS server componment that uses shared properties to maintain sate. I don't know if this is really the correct usage of spam but I'm doing it anyway and it works... I think. My questions are: 1: When are properties released by MTS or do I have to do this manually? 2: How do I del

[DUG]: executing an app...and waiting till its finished.

2000-05-04 Thread Jeremy Coulter
HI all. I am wanting to execute an app form another app (in this case an Autorun fiel I have written to go on an Install CD) but not move to the next step UNTIL the the app that was execute has finished? Would I be best to look for the handle of the app ever few seconds, then when its not there

RE: [DUG]: executing an app...and waiting till its finished.

2000-05-04 Thread Stacey Verner
We have developed the following procedure to simplify the use of CreateProcess and WaitForSingle object. This will execute the program, and wait for it to finish. function ExecuteApplication(PPath, PFileName, PParameters : String): Boolean; var LStartUp: TStartupInfo; LProcess: TProce

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Neven MacEwan
select convert (real, my_field) from my_table - Original Message - From: Alex Kouznetsov <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Sent: Friday, 5 May 2000 11:16 Subject: Re: [DUG]: SQL 7 decimal comes as currency in delphi > > Why not convert to a f

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Neven MacEwan
Alex this from D5 help 'Delphi does not have a native type for BCD. Therefore, TBCDField converts the data from a BCD value to a Currency value when it fetches the data from the database table, and converts it from a Currency value to a binary-coded decimal value when it posts the data to the da

RE: [DUG]: executing an app...and waiting till its finished.

2000-05-04 Thread Jeremy Coulter
Thanks Stacy...it seemed to work nicly cheers, Jeremy Coulter > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Stacey Verner > Sent: Friday, 5 May 2000 11:50 > To: Multiple recipients of list delphi > Subject: RE: [DUG]: executing an app...and w

RE: [DUG]: Simple DB app

2000-05-04 Thread Paul Roper
Neven Look at QDB component from DSP and/or Torry Free Modest inflation of exe One Db file - data and keys, keys loaded into memory when db opened. Bog simple, NOT Access format. HTH Paul --- New Zealand Delphi Users group

[DUG]: Custom TChart Series

2000-05-04 Thread Derricutt, Mark
Hi, has anyone here written any custom tchart series at all? I have my nice new TLineSeries descendent that works all nicely, except for the fact that when I select "add series" from the TChart property editor, I get an access violation I'm thinking it might not be finding a bitmap resource

[DUG]: ADO recordset = nil

2000-05-04 Thread Blackie, Nikolai
When recordset objects go out of scope does Delphi clean them up? Is there an advantage to explicitly setting RS objects to nil as done in VB? --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

RE: [DUG]: ADO recordset = nil

2000-05-04 Thread Nic Wise
Depends on how you get the RecordSet, and what the variable type is: var rs : OLEVariant; begin rs := ADOConn.execute("select * from blah"); //use it rs := nil; //or unassigned? end; should work OK. If in doubt, step thru your code and use the CPU view - there should be fairly obvious

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Alex Kouznetsov
Thanks Neven. This simply means that Delphi developers cannot use MSSQL 7.0 decimal data type. At least it is pointless, as money type is shorter than decimal, and money is OK if no more than 4 positions after decimal point required. And if more precision needed then real type may be some kind of

Re: [DUG]: SQL 7 decimal comes as currency in delphi

2000-05-04 Thread Neven MacEwan
Alex Delphi developers cannot use any BCD, Numeric type for anything other than money for any database not just MS SQL I'd be interested to see what happens with no decimal points Regards Neven - Original Message - From: Alex Kouznetsov <[EMAIL PROTECTED]> To: Multiple recipients of lis