[DUG]: Ellipsis truncation

2003-01-21 Thread Nahum Wild
Does anybody know of a good way of shortening a capition shown on screen to
X pixels and putting an '...' at the end?  I seem to recall that there might
be an API call that'll do it, but I can't remember it's name.


Cheers,
Nahum.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Ellipsis truncation

2003-01-21 Thread Nahum Wild
Cool, I think that is what I was trying to remember.  Might have a write a
small funciton that finds out how long the string will be when rendered and
slowly shrinking it till it fits with an '...' at the end.


Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Its a flag thats part of the DrawText API callbt thats all I can
 remember. Take a look a that.

 Jeremy

 -Original Message-
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Wed, 22 Jan 2003 11:32:17 +1300
 Subject: [DUG]:  Ellipsis truncation

 Does anybody know of a good way of shortening a capition shown on
 screen to X pixels and putting an '...' at the end?  I seem to
 recall that there might be an API call that'll do it, but I can't
 remember it's name.


 Cheers,
 Nahum.


 --
 -
 
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Ellipsis truncation

2003-01-21 Thread Nahum Wild
We are currently still using Delphi 4 and don't seem to have it. :o(


Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on 

 MinimiseName in FileCtrl unit...
 
 Why it's not in the D5 help, I dunno...
 
 HTH,
 
 C.
 
 -Original Message-
 From: Nahum Wild [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 22 January 2003 11:32 a.m.
 To: Multiple recipients of list delphi
 Subject: [DUG]: Ellipsis truncation
 
 
 Does anybody know of a good way of shortening a capition shown on
 screen to X pixels and putting an '...' at the end?  I seem to recall
 that there might be an API call that'll do it, but I can't remember
 it's name. 
 
 
 Cheers,
 Nahum.
 
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Weird form behaviour

2003-01-14 Thread Nahum Wild
http://www.delphi-gems.com/ThemeManager.php

It doesn't support Delphi 7 though, only versions 4 thru 6 :o)


Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 I think the problems with your tabs are most likely to do with the
 version of Delphi you are running.  Only D7 has full support for the
 XP interface. There is a component set you can get that will
 implement things in older versions of Delphi (Delphi 7 comes with
 this set built in I think).  Sorry I cant remember the name of the
 component set, I'm sure someone else will know.


 Rob

 Software engineer
 Wild Software Ltd
 Ph 03 377-0495
 - Original Message -
 From: Alistair George [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:30 PM
 Subject: [DUG]: Weird form behaviour


 Hi all.
 Please help.

 ftp://alyvirtualav:[EMAIL PROTECTED]/public_html/t
 emp/pic1.jpg
 is the form as designed. Note the tab on pagecontrol1 is
 highlighted in
 design
 which is not changed in execute. Also the tabs on the left of
 pagecontrol2

ftp://alyvirtualav:[EMAIL PROTECTED]/public_html/temp/pic2.jpg
 is the program running.
 Note the difference between the tabs eg no highlight (why I cant set
 the highlight property) and no left-hand tabs; yet I can set the top
 tabs for this page OK. Any suggestions please?
 Alistair+

 --
 - New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/




---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Theme manager: Weird form behaviour

2003-01-14 Thread Nahum Wild
I've never actually used at :o) I just know that it's there.

Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Hello Nahum,
 Yes tried it and it is actually on the form shown. But it makes no
 diff there or not. Still does not make sense can highlight in design,
 but not in run. Al+



 Wednesday, January 15, 2003, 3:52:35 PM, you wrote:
 http://www.delphi-gems.com/ThemeManager.php

 It doesn't support Delphi 7 though, only versions 4 thru 6 :o)


 Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 I think the problems with your tabs are most likely to do with the
 version of Delphi you are running.  Only D7 has full support for the
 XP interface. There is a component set you can get that will
 implement things in older versions of Delphi (Delphi 7 comes with
 this set built in I think).  Sorry I cant remember the name of the
 component set, I'm sure someone else will know.


 Rob

 Software engineer
 Wild Software Ltd
 Ph 03 377-0495
 - Original Message -
 From: Alistair George [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:30 PM
 Subject: [DUG]: Weird form behaviour


 Hi all.
 Please help.

 ftp://alyvirtualav:[EMAIL PROTECTED]/public_html/t
 emp/pic1.jpg
 is the form as designed. Note the tab on pagecontrol1 is
 highlighted in
 design
 which is not changed in execute. Also the tabs on the left of
 pagecontrol2


ftp://alyvirtualav:[EMAIL PROTECTED]/public_html/temp/pic2.jpg
 is the program running.
 Note the difference between the tabs eg no highlight (why I cant set
 the highlight property) and no left-hand tabs; yet I can set the top
 tabs for this page OK. Any suggestions please?
 Alistair+

 -
-
 - New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/




 --
-
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


 --
-
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


--
Regards,
 Alistair+

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: DBISAM

2002-12-11 Thread Nahum Wild
That's pretty cool, I've never quite been able to use it because of the lack
of one of these - third party reporting (eg, crystal) and the like was never
possible.  Now it comes down to is the ODBC implementation any good?

Cheers,
Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 there is an ODBC driver for the DBISAM that Elevate Software do...I
 saw it on their website.

 Jeremy

 -Original Message-
 From: Bob Osborn [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Thu, 12 Dec 2002 14:31:30 +1300
 Subject: Re: [DUG]:  DBISAM

 Can ADO connect to DBISAM?


 Bob

 - Original Message -
 From: Tim Perry [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Thursday, December 12, 2002 1:48 PM
 Subject: RE: [DUG]: DBISAM


 Hi Jeremy

 I have found DBISAM to work well, my only complaint is the lack of
 Referential Integrity in the engine.

 There are a lot of examples on Elevates web site,  the additional
 tools which Elevate supply are good.

 cheers Tim

  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of vss
  Sent: Thursday, 12 December 2002 13:31
  To: Multiple recipients of list delphi
  Subject: [DUG]: DBISAM


  HI all.
  For those of you who use DBISAM, what products are you using?
  I am looking at a product that needs a database, and I
 dont want
 the
  hassel of distributing MDAC or the BDE etc. , when
 DBISAM is just
 as
  good for what I need.

  Thanks Jeremy

  p.s. I have looked at DBISAM by Elevator Software which seems
  pretty good. IT supports most SQL statements that I need.


 -
  --
  New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED] Website:
  http://www.delphi.org.nz To UnSub, send email to:
  [EMAIL PROTECTED] with body of unsubscribe delphi
  Web Archive at:
 http://www.mail-archive.com/delphi%40delphi.org.nz/





 --
 -
 ---
 -
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/

 ---
 
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Another Citrix and RemoteDesktop Quirk

2002-12-09 Thread Nahum Wild
Jeremy,

I've nearly finished creating a fix for this in the way of a imagelist
replacement.  It's to do with how the image list stores the images.


Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Hi all.
 I have found yet another Citrix and RemoteDesktop (RDP in XP) quirk.
 IF you connect to a machine via either of these protcols using 256
 colours, and you are using ImageLists, it will convert the imagelists
 256 colors !! You then go physically to the machine you just
 connected to, and the ImageLists are still screwed, and you have to
 reimport the images. This is REALLY REALLY anoyoing esp. if you are
 using Hi Res images !

 Jeremy

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: Opposite of Pos()

2002-12-05 Thread Nahum Wild
All,

Ages ago I was trolling thru the help and I stumbled across a function that
did the opposite of Pos, it searched from the end of the string to the
beginning looking for a match.  I thought at the time that I should remember
it's name because it would most likely come in handy.  So I promptly forgot
it, as you do. :o)

Does anyone remember/know what the function name is?
Save me writing my own.

Cheers in advance,
Nahum.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Opposite of Pos()

2002-12-05 Thread Nahum Wild
Thats what I'd thought it was!  And that's why I saw it and then could never
find it again as I installed Indy a while back and then removed it :o)

Thanks,
Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on 

 Nahum Wild wrote on Friday, 6 December 2002 4:33 p.m.:
 Ages ago I was trolling thru the help and I stumbled across a
 function that did the opposite of Pos, it searched from the end of
 the string to the beginning looking for a match.  I thought at the
 time that I should remember it's name because it would most likely
 come in handy.  So I promptly forgot it, as you do. :o)
 
 Do you mean RPos? To the best of my knowledge this function is only
 available if you are using Indy, though I don't know why it's not
 part of the standard VCL. 
 
 Cheers,
 Paul
 
 -
 Paul Eggleton  Ph:+64-9-4154790
 Software Developer Fax:   +64-9-4154791
 CJN Technologies Ltd.  DDI:   +64-9-4154795
 http://www.cjntech.co.nz   Email: [EMAIL PROTECTED]
 -
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


attachment: winmail.dat

RE: [DUG]: Empty string test

2002-10-30 Thread Nahum Wild
How about A[0] = 0; ?

 [EMAIL PROTECTED] mailto:owner-delphi;delphi.org.nz
 wrote on 

 Nope, That is the most efficient form ie (A = ''). The compiler does
 a nice job of optimising it - basically a single instruction -
 ignoring the jmp 
 
 eg
 cmp dword ptr [es],$00
 jnz ...
 
 Compare this to Length(A)
 
 Move eax, ecx
 Call @LStrLen
 test eax,eax
 jnz ...
 
 And LStrLen is
 tst eax,eax
 jz $03
 mov eax,[eax-4]
 ret
 
 Myles.
 
 
 
 
 
 -Original Message-
 From: vss [mailto:vss;vss.co.nz]
 Sent: Thursday, 31 October 2002 4:04 p.m.
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Empty string test
 
 
 I second that. if legnth(mystring)=0 then showmessage('its empty')
 
 Jeremy
 
 -Original Message-
 From: Jeremy North [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Thu, 31 Oct 2002 14:00:41 +1100
 Subject: Re: [DUG]:  Empty string test
 
 
 I was once told that checking the length was.
 The person that told me said that it was recommend by boundschecker
 application. JED
 
 Whats the fastest way to test for an empty string
 I just get the feeling that String = '' is not good practice
 
 
 
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please
 notify the [EMAIL PROTECTED] 
 
 
 --
 -
 
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Empty string test

2002-10-30 Thread Nahum Wild
Wow, thats pretty yuck, you would think on the face of it that it would be
quicker.  But oh well.  Back to using A = ''; which I had thought would have
been slowest.

An interesting thing to have learnt for the week.


Nahum.

 [EMAIL PROTECTED] mailto:owner-delphi;delphi.org.nz
 wrote on

 That will be about 3 times or more slower than length(a) - given that
 A is a string.

 Delphi's handling of single characters in a string is rather
 horrible. It generally creates a temporary long string of 1 character
 copies from the original string and then does the compare - Yuck!!
 Plus of course you have just added a compiler generated try - finally
 around you block of code.

 Myles.


 -Original Message-
 From: Nahum Wild [mailto:Nahum.wild;payglobal.com]
 Sent: Thursday, 31 October 2002 4:36 p.m.
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Empty string test


 How about A[0] = 0; ?

 [EMAIL PROTECTED] mailto:owner-delphi;delphi.org.nz wrote
 on

 Nope, That is the most efficient form ie (A = ''). The compiler does
 a nice job of optimising it - basically a single instruction -
 ignoring the jmp

 eg
 cmp dword ptr [es],$00
 jnz ...

 Compare this to Length(A)

 Move eax, ecx
 Call @LStrLen
 test eax,eax
 jnz ...

 And LStrLen is
 tst eax,eax
 jz $03
 mov eax,[eax-4]
 ret

 Myles.





 -Original Message-
 From: vss [mailto:vss;vss.co.nz]
 Sent: Thursday, 31 October 2002 4:04 p.m.
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Empty string test


 I second that. if legnth(mystring)=0 then showmessage('its empty')

 Jeremy

 -Original Message-
 From: Jeremy North [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Thu, 31 Oct 2002 14:00:41 +1100
 Subject: Re: [DUG]:  Empty string test


 I was once told that checking the length was.
 The person that told me said that it was recommend by boundschecker
 application. JED

 Whats the fastest way to test for an empty string
 I just get the feeling that String = '' is not good practice



 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please
 notify the [EMAIL PROTECTED]


 --
 -
 
 New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: EInvalidOp - what is it and why am I getting it?

2002-10-24 Thread Nahum Wild
Check out the help for 'EInvalidOp', it talks about sever things possibly
causing this including floating-point processor stack overflow problems.



Nahum.

 [EMAIL PROTECTED] mailto:owner-delphi;delphi.org.nz
 wrote on

 Hi.

 I am getting an EInvalidOp exception in a section of code I have that
 has previously worked and I am certain I havent changed anything in
 that area for months...this code is now not working and Im at a loss
 to explain why...

 basically I am getting the error raised on this line

   s_thedate := format_date_2_mysql(trunc(e_mymean),s_yearname);

 the format_date_2_mysql just takes a float and reformats the value to
 a mysql date as follows and s_yearname is a string 2002
 There are two functions that are called repeatedly initially that
 calculate e_mymean but the result is 37500.63

 function format_date_2_mysql(s_val:float;s_year:string): string; var
   w_year,w_month,w_day:word;
 begin
   //format the date to what we want

 decodedate(strtodate(formatdatetime(s_date_format,s_val)),w_ye
 ar,w_month,w_d ay);
   if s_year = s_empty then
   begin
 result := inttostr(w_year) + '-' + inttostr(w_month) + '-' +
   inttostr(w_day); end
   else
   begin
 result := s_year + '-' + inttostr(w_month) + '-' +
   inttostr(w_day); end;
 end;

 can anyone please tell me what this error is (I looked at the help
 file and it could be one of three things but how can I tell which?)

 also can anyone please suggest a process to follow to sort it out?

 I think it has something to do with the data type I am using
 (extended) but on the other hand I cant see this being an issue as
 this is the most significant datatype for real anyway...

 Hoping and praying for advice

 Chris Veale

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/02




 __
 The contents of this e-mail are privileged and/or confidential to the
 named recipient and are not to be used by any other person and/or
 organisation. If you have received this e-mail in error, please notify
 the sender and delete all material pertaining to this e-mail.
 __
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Speed of code

2002-10-15 Thread Nahum Wild

If you have sorting turned on and your modifying *heaps* of strings then it
might pay to turn sorting off first and then back on afterward.

Just a random thought.

Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Hi again.
 Here is a routine which seems to run really slowly - any ideas why?
 and if so, what suggested solution tks, Al+

   with FileListbox.Items do
begin
   label1.caption:='Process - adding qualifiers';
  beginupdate;
  for I := 0 to FileListbox.items.count-1 do
   Strings[i]:=Strings[i]+'\*.*';
  endupdate;
   end;

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Copying an Object

2002-10-03 Thread Nahum Wild

The only problem here being that just the published properties will be
cloned, no internal state variables.

Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 The term for this is cloning an object.

 There is no built in way of doing this in Delphi, and there are
 issues involved in any cloning operation; e.g. are you interested in
 a shallow clone (just the one object), or a deep clone (your one
 object, and all objects to which it refers)?

 Probably a google newsgroup search on Delphi+cloning+objects might
 give you a few ideas on how to progress...

 If your object inherits from TComponent the following code will clone
 a component. I have used it to clone TButtons and few other simple
 visual components successfully.


 unit Cloner;

 interface

 uses
   SysUtils, Classes, Controls;

 function Replicate(C: TComponent): TComponent;

 implementation

 procedure CloneComponent(C1: TComponent; C2: TComponent); //
 // This procedure clones the properties of C1 and writes them to C2.
 // C1 and C2 must be of the same type.  Use it for components that do
 // not have an Assign method. //
 var
   theStream: TMemoryStream;
   tmpS:  string;
 begin
   if C1.ClassType  C2.ClassType then
 raise EComponentError.Create('Object types are incompatible');

   if C1 is TControl then
 TControl(C2).Parent := TWinControl(C1).Parent;

   theStream := TMemoryStream.Create; // Create the memory stream.

   with theStream do try
 tmpS:= C1.Name;
 C1.Name := EmptyStr;
 WriteComponent(C1);// Write C1 properties to stream
 C1.Name := tmpS; Seek(0, soFromBeginning);  // Position to
 beginning of stream. ReadComponent(C2); // read
 properties from stream into C2   finally Free;
 // IAC, free stream.   end; end;

 function Replicate(C: TComponent): TComponent;
 //
 // This function replicates component C and returns
 // a new component whose type and properties match
 // those of C.
 //
 begin
   Result := TComponentClass(C.ClassType).Create(C.Owner); // Create
   component } CloneComponent(C, Result);
 // Clone it } end;

 end.

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Copying an Object

2002-10-03 Thread Nahum Wild

Nope, it means that its encapsulated (or whatever the word is and how its
spelt) and only revealing stuff that needs to be revealed - and it might
only be in the public section rather than the published section; data hiding
and all that.  One of the three corners to good OO design (hurrah) -
inheritance and polymorphism being the others :o)

A clone is an exact copy, not a partial one.  The assign concept works well
for me.

Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Nahum

 If you need to copy the internals of an object then it would
 reflect badly on your objects design wouldn't it?

 Neven

 - Original Message -
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Friday, October 04, 2002 2:02 PM
 Subject: RE: [DUG]: Copying an Object


 The only problem here being that just the published properties will
 be cloned, no internal state variables.

 Nahum.

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 The term for this is cloning an object.

 There is no built in way of doing this in Delphi, and there are
 issues involved in any cloning operation; e.g. are you interested
 in a shallow clone (just the one object), or a deep clone (your one
 object, and all objects to which it refers)?

 Probably a google newsgroup search on Delphi+cloning+objects might
 give you a few ideas on how to progress...

 If your object inherits from TComponent the following code will
 clone a component. I have used it to clone TButtons and few other
 simple visual components successfully.


 unit Cloner;

 interface

 uses
   SysUtils, Classes, Controls;

 function Replicate(C: TComponent): TComponent;

 implementation

 procedure CloneComponent(C1: TComponent; C2: TComponent); //
 // This procedure clones the properties of C1 and writes them to C2.
 // C1 and C2 must be of the same type.  Use it for components that
 do // not have an Assign method. //
 var
   theStream: TMemoryStream;
   tmpS:  string;
 begin
   if C1.ClassType  C2.ClassType then
 raise EComponentError.Create('Object types are incompatible');

   if C1 is TControl then
 TControl(C2).Parent := TWinControl(C1).Parent;

   theStream := TMemoryStream.Create; // Create the memory stream.

   with theStream do try
 tmpS:= C1.Name;
 C1.Name := EmptyStr;
 WriteComponent(C1);// Write C1 properties to stream
 C1.Name := tmpS; Seek(0, soFromBeginning);  // Position to
 beginning of stream. ReadComponent(C2); // read
 properties from stream into C2   finally Free;
 // IAC, free stream.   end; end;

 function Replicate(C: TComponent): TComponent;
 //
 // This function replicates component C and returns
 // a new component whose type and properties match
 // those of C.
 //
 begin
   Result := TComponentClass(C.ClassType).Create(C.Owner); // Create
   component } CloneComponent(C, Result);
 // Clone it } end;

 end.

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/


 --
 - New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED] Website:
 http://www.delphi.org.nz To UnSub, send email to:
 [EMAIL PROTECTED] with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Delphi 7 comments...

2002-09-17 Thread Nahum Wild

The XP Theme stuff in Delphi 7 is actually a freeware component available
from this [http://www.lischke-online.de/] site.  Check out the news item
about is a bit down the main page.


Aug 10 2002, 11:44 PM, Windows Xp Theme Manager And Delphi 7

I am very proud to tell you that Borland decided to include my Windows XP
theme services as integral part of the VCL into Delphi 7. This means you
don't need the XP Theme Manager anymore for Delphi 7 and higher. A new unit
called Themes.pas contains now all relevant stuff for XP theming.


The components themselves are available directly from here
[http://www.delphi-gems.com/ThemeManager.html].


I placed an order for Delphi 7 Pro Upgrade thru my normal channels as soon
as it was announced, but actually cancelled it after going to the
Christchurch launch.  Comments made by the presenter were rather...
disappointing we shall say, regarding his views towards OO, UML, RAD
development and business rules with respect to Delphi.  A bit of real world
experience (or at least the same world as mine) lacking there I think.
Shame.  I'll continue writting specs before coding thankyou.


Just my pound of 2 cents.

Nahum Wild
Software Innovator  Game Designer
Realism
[via PayGlobal today]

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote on

 Installed it last night and all I can say is that I hope there are a
 heap of changes 'under the hood' because there are hardly any
 apparent on the surface.  Except them messing with the options
 dialogs again. There looks to me like it is a release to get XP
 compatiblity included.  I only have the PRO version so the enterprise
 version might have more changes.  One thing that I found good was a
 Development version of Borlands application server (have it run for
 72 hours continuously). It comes with heaps of cd's if that gets you
 going, including: D7 Pro, D7 .NET pre-release, D7 companion, Kylix 3
 Pro, Borland Enterprise Server CD with all versions.  Can't recall if
 there was just a trail cd...

 At the moment I am disappointed.  Plus I want my win2000 icons back.
 XP icons look terrible.

 cheers,

 JED

 Ok - by now alot of you have received your Delphi7 CDs, whats your
 thoughts so far?




 **
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the [EMAIL PROTECTED]

 **

 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Alpha Blend

2001-10-09 Thread Nahum Wild

The only problem with it is that it slowing down form drawing something
chronic unless you have good video hardware.  Shame because it does look
cool!  Well it does depend on what you are doing though. :)

I thought it was just Win2k and later.  Not ME, but I could be wrong there.


Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of vss
 Sent: Wednesday, 10 October 2001 14:37
 To: Multiple recipients of list delphi
 Subject: [DUG]: Alpha Blend


 Hi all. I take it the Alpha blend on the forms in D6 is only going to
 work on Win2k and later (XP and ME also) ??

 Its certainly pretty cool !

 Jeremy Coulter


 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: Fixed D6 Patch out

2001-10-04 Thread Nahum Wild

There seems to be a fixed version of the Delphi 6 patch out now.  It slaps
in at 20mb for pro and 28mb for enterprise.  I'm glad I don't use a dialup
anymore!

http://community.borland.com/article/0,1410,27800,00.html



Nahum.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: String Encryption routine

2001-09-26 Thread Nahum Wild

Maybe he is developing for/with Kylix :) like I currently am.


Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Robert Martin
 Sent: Thursday, 27 September 2001 15:06
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: String Encryption routine
 
 
 How very open source of you.  I didnt think you could do that 
 sort of thing
 on a non Linux platform :)
 
 Robert Martin
 Software Engineer
 Wild Software Ltd
 - Original Message -
 From: John Christenhusz [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Thursday, September 27, 2001 2:55 PM
 Subject: RE: [DUG]: String Encryption routine
 
 
  Great, show us the code!!
 
  John
 
   -Original Message-
   From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
   Behalf Of Ross Levis
   Sent: Thursday, 27 September, 2001 13:36
   To: Multiple recipients of list delphi
   Subject: Re: [DUG]: String Encryption routine
  
  
   Thanks for the offer Nirav but I'm successfully using a 
 variation of
   Phil Scadden's simple routine.  I've just added a simple 
 checksum to it
   so I can tell if it's been tampered with.
  
   Cheers,
   Ross.
 
  
 --
 
 -
  New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Unicode

2001-09-25 Thread Nahum Wild

Is your computer setup to display unicode?

Just a quick random thought.

Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Robert Martin
 Sent: Wednesday, 26 September 2001 13:30
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Unicode
 
 
 It is supposed to be a solid downwards pointing arrow  (as in 
 the ones used
 in outlook express).  The font may need to be set to arial to get the
 correct result.  Although after testing your code on my 
 machine I get a ?
 mas well.  The character map shows the character as U+25BC 
 which I assume
 means 25BC Hex and converts to 9660 decimal.
 
 
 Robert Martin
 Software Engineer
 Wild Software Ltd
 - Original Message -
 From: Nello Sestini [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Wednesday, September 26, 2001 1:07 PM
 Subject: Re: [DUG]: Unicode
 
 
   I would like to display a unicode character in a TLabel.  I tried
   Label.Caption := WideStrToString(#9660) but I get a '?' instead of
   the character I am after.  Ideas?
 
 procedure TForm1.Button3Click(Sender: TObject);
 const w:widestring = #9660;
 begin
   label1.caption:='abc'+w+'def';
 end;
 
  When I do this and display the caption using MSSansSerif
  I get a heavy dot below the baseline.   What is #9660 supposed
  to convert to?
 
  (If I try this with #9662 or #9663 i get ?s - i.e. they don't
  have single byte equivalents)
 
  -ns
 
 
 
 
  
 --
 
 -
  New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Unicode

2001-09-25 Thread Nahum Wild

It depends on what OS you are using.  I think that NT4 and Win2k by default
support it but earlier versions of windows have to be configured/updated to
support it.

Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Robert Martin
 Sent: Wednesday, 26 September 2001 14:07
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Unicode


 Dont think you need to go you?

 Robert Martin
 Software Engineer
 Wild Software Ltd
 - Original Message -
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Wednesday, September 26, 2001 1:37 PM
 Subject: RE: [DUG]: Unicode


  Is your computer setup to display unicode?
 
  Just a quick random thought.
 
  Nahum.
 
   -Original Message-
   From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
   Behalf Of Robert Martin
   Sent: Wednesday, 26 September 2001 13:30
   To: Multiple recipients of list delphi
   Subject: Re: [DUG]: Unicode
  
  
   It is supposed to be a solid downwards pointing arrow  (as in
   the ones used
   in outlook express).  The font may need to be set to
 arial to get the
   correct result.  Although after testing your code on my
   machine I get a ?
   mas well.  The character map shows the character as U+25BC
   which I assume
   means 25BC Hex and converts to 9660 decimal.
  
  
   Robert Martin
   Software Engineer
   Wild Software Ltd
   - Original Message -
   From: Nello Sestini [EMAIL PROTECTED]
   To: Multiple recipients of list delphi [EMAIL PROTECTED]
   Sent: Wednesday, September 26, 2001 1:07 PM
   Subject: Re: [DUG]: Unicode
  
  
 I would like to display a unicode character in a
 TLabel.  I tried
 Label.Caption := WideStrToString(#9660) but I get a
 '?' instead of
 the character I am after.  Ideas?
   
   procedure TForm1.Button3Click(Sender: TObject);
   const w:widestring = #9660;
   begin
 label1.caption:='abc'+w+'def';
   end;
   
When I do this and display the caption using MSSansSerif
I get a heavy dot below the baseline.   What is #9660 supposed
to convert to?
   
(If I try this with #9662 or #9663 i get ?s - i.e. they don't
have single byte equivalents)
   
-ns
   
   
   
   
   
   --
   
   -
New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at:
http://www.mail-archive.com/delphi%40delphi.org.nz/
  
 
  --
  -
  New Zealand Delphi Users group - Delphi List -
  [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
  Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
 
 --
-
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: System Tray app

2001-09-04 Thread Nahum Wild

Performing a search on a couple of Delphi component sites should reveal some
good, free including source, system tray components.

http://www.delphipages.com
http://www.torry.net


Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Ross Levis
 Sent: Wednesday, 5 September 2001 13:43
 To: Multiple recipients of list delphi
 Subject: [DUG]: System Tray app


 Hi all

 My next project is to write a scheduler utility which will
 contain timer
 events but will not require a visible form for user
 interaction as it will
 be reading all the options setup in another program.  I only
 want it to
 appear in the System Tray with a few right-click options like
 Enable/Disable, Exit etc.

 I've never written anything like this before.  I presume some
 WinAPI calls
 are necessary which I also have never done before.
 Any helpful hints appreciated.

 Cheers,
 Ross.
 --
 -
 New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



[DUG]: D6 multi-monitor development don't work

2001-09-02 Thread Nahum Wild

Morning all,

I've moved to using Delphi 6 (from D5) and the IDE does not remember
correctly the position and size of the main delphi window and the editor
window.  I have the main window spread across two side-by-side monitors with
the component palette located on the secondary screen and everything else on
the primary.  I do form design on the secordary monitor and code editing on
the primary.  D5 would remember this without problems and I could flick
between saved desktop layouts without any problems.  Quite handy because I
have a different debug layout.

Delphi 6 is another question though.  Whenever I change layouts, or even
just run delphi, the main window gets resized to fit only on the primary
monitor and the code editor is resized to full screen - primary monitor
only.  This as you could imagine is very annoying and brings back memories
of the first version of delphi 4. (An even numbered version of delphi!)

Has anyone else experienced this problem?  Is anyone else using
multi-monitor not experiencing this problem?

To answer the question thats bound to be asked, I'm using a Matrox G400 with
32mb of ram with their latest drivers to get multi-monitor.  But it all
worked fine under D5, the only change to my system has been installing D6 -
which has problems. :-(  I still have D5 on my system and it is working
without problems.


Cheers in advance,
Nahum.

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/



RE: [DUG]: Freeware HTML Display Component....

2001-06-26 Thread Nahum Wild



www.pbear.com have a really good one which does 
cost money.But they have a freeware one depending on what you want to do 
with it - personel/educational based.

Nahum.

  -Original Message-From: Donovan J. Edye 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 27, 2001 10:52 
  AMTo: Multiple recipients of list delphiSubject: [DUG]: 
  Freeware HTML Display ComponentG'Day All,I am 
  looking for a freeware HTML display component. Has anyone got any pointers? I 
  do not want to use a TWebBrowser as I cannot rely on a minimum level IE being 
  installed on the target machine.TIA
  -- 
  Donovan 
  -- 
  Donovan J. Edye [www.edye.wattle.id.au] 
  Namadgi Systems [www.namsys.com.au] 
  Voice: +61 2 6285-3460 Fax: +61 2 6285-3459 TVisualBasic = 
  Class(None); Heard just before the 'Big Bang': "...Uh Oh" 
  -- 
  GXExplorer [http://www.gxexplorer.org] 
  Freeware Windows Explorer replacement. Also includes freeware delphi 
  windows explorer components. 
  --


RE: [DUG]: Freeware HTML Display Component....

2001-06-26 Thread Nahum Wild

I bought it about 2 years ago so it may have changed since then.

 -Original Message-
 From: Mark Derricutt [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 13:42 PM
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Freeware HTML Display Component
 
 
 I was about to suggest this one, then saw your post.  I 
 thought it was 
 compleatly free, but if you wanted the source, then you paid?
 
 --On Wednesday, June 27, 2001 10:47 AM +1200 Nahum Wild 
 [EMAIL PROTECTED] wrote:
 
 
  www.pbear.com have a really good one which does cost money. 
 But they have
  a freeware one depending on what you want to do with it -
  personel/educational based.
  Nahum.
 
 
  -Original Message-
  From: Donovan J. Edye [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 27, 2001 10:52 AM
  To: Multiple recipients of list delphi
  Subject: [DUG]: Freeware HTML Display Component
 
  G'Day All,
 
  I am looking for a freeware HTML display component. Has 
 anyone got any
  pointers? I do not want to use a TWebBrowser as I cannot rely on a
  minimum level IE being installed on the target machine.
 
  TIA
 
 
  -- Donovan
  
 --
  Donovan J. Edye [www.edye.wattle.id.au]
  Namadgi Systems [www.namsys.com.au]
  Voice: +61 2 6285-3460
  Fax: +61 2 6285-3459
  TVisualBasic = Class(None);
  Heard just before the 'Big Bang': ...Uh Oh
  
 --
  GXExplorer [http://www.gxexplorer.org] Freeware Windows Explorer
  replacement. Also includes freeware delphi windows explorer 
 components.
  
 --
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Zero-footprint database drivers

2001-06-26 Thread Nahum Wild

If you don't want SQL then EasyTable found at http://www.aidaim.com/ is
apparently quite good and reasonably cheap.  I have not used it myself so I
can't say, but they do have a free version.

Nahum.

 -Original Message-
 From: Edward Aretino [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 15:03 PM
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Zero-footprint database drivers
 
 
 If all you need are tables filled with data, kbmMemTable 
 (http://delphi.e-indexit.com/) will do the trick. You can 
 compile the table 
 formats and data into the app.
 
 If you need SQL and wanted a more traditional solution, 
 DBISAM can do it ( 
 the FAQ explains how http://www.elevatesoft.com/faq.htm) and 
 Advantage 
 might be able to but I'm not sure.
 
 Ed
 
 
 At 13:47 27/06/2001 +1200, you wrote:
 Due to some rather restrictive requirements for a coming project I
 require
 
 - A database format that can exist in a purely read-only state on a
 CDROM
 - Database drivers that must not require installation
 - Database drivers that do not require access to the registry for
 storing configuration
 
 Ideally a database format that had drivers compiled into the 
 executable
 (along with connection
 configuration parameters) would be nice - but I'd settle for 
 some DLLs
 and a file-based configuration
 file.
 
 Does anyone know of a solution like this?
 
 --
 Aaron Scott-Boddendijk
 +64 7 838 3371 VOICE
 +64 7 838 3372 FAX
 e-Mail: [EMAIL PROTECTED]
 
 
 -
 --
  New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: keypreview and trapping F1

2001-06-18 Thread Nahum Wild

Just a thought, but have you tried action lists - having an action and
assigning the F1 key to its shortcut property.  I have no idea if that will
work, its what I do to get F1 help throughout my app.

Anyway just a thought,
Nahum.

 -Original Message-
 From: Peter Hyde [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 17:06 PM
 To: Multiple recipients of list delphi
 Subject: [DUG]: keypreview and trapping F1
 
 
 Hi there,
   In a D5 project I'm not finding it possible to trap the F1 
 key to give 
 context-sensitive help. Instead, it is always going to the form's 
 HelpContext.  (I need to vary the help context according to which 
 tab of a PageControl is active).
 
 The form's KeyPreview property is set to true and a FormKeyDown 
 event is defined -- however, the latter event is NOT called for F1, 
 even though it is called for other keys like Alt, Shift, S or 
 whatever.
 
 I've not had this problem before -- can anyone suggest what I've got 
 amiss? Something obvious, no doubt...
 
 
 cheers,
 peter
 
 
 Peter Hyde, WebCentre Ltd  SPIS Ltd, Christchurch, New Zealand
 * Web automation for online periodicals: http://TurboPress.com
 * TurboNote+: http://TurboPress.com/tbnote.htm
   -- handy onscreen notes and instant messaging
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild

There is a windows API function that will create a window handle when called
that messages can be sent to, except that I can't remember what its
called!!!

Sorry, maybe someone else out there knows the one that I'm referring to.  It
should do what you want to be a be able to do though.


Nahum.

 -Original Message-
 From: Luke Pascoe [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 12:31 PM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Messages
 
 
 Hello again.
 
 How do you send/post a message to a component that doesn't 
 have a handle
 (Like a TGraphicControl)? BTW, The component will be sending 
 the message to
 itself, but it needs to go via the message queue so 
 DispatchMessage is no
 good.
 
 
  Luke Pascoe  Delphi Programmer
  enSynergy Consulting LTD
 
  [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
  Level 4,   10-12 Federal St,   Auckland,   New Zealand
  PO Box 32521,  Devonport,  Auckland 1330,  New Zealand
 
 == I.H.T.F.P. ==
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild

Its not that because the one I remember using returns a handle, but you pass
it a pointer to the function which will handle any messages sent to the
returned handle.  Allowing you to embed message handling functionality into
anything - Singleton Managers are always a really good target for this,
especially in a threaded environment.


Nahum.

 -Original Message-
 From: Nello Sestini [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 15:18 PM
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Messages
 
 
  There is a windows API function that will create a window 
 handle when
 called
  that messages can be sent to, except that I can't remember what its
  called!!!
 
 CreateWindow?
 
 ducks
 
 -ns
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild

Found what I was talking about, I was wrong in that its not a windows API
function, but rather a delphi function located in forms.pas.  Which is why I
couldn't find it in the windows help. :)

function AllocateHWnd(Method: TWndMethod): HWND;
procedrue DeallocateHWnd(Wnd: HWND);

Hope, that its usefull,
Nahum.


 -Original Message-
 From: Nahum Wild [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 15:17 PM
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Messages
 
 
 Its not that because the one I remember using returns a 
 handle, but you pass
 it a pointer to the function which will handle any messages 
 sent to the
 returned handle.  Allowing you to embed message handling 
 functionality into
 anything - Singleton Managers are always a really good target 
 for this,
 especially in a threaded environment.
 
 
 Nahum.
 
  -Original Message-
  From: Nello Sestini [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 18, 2001 15:18 PM
  To: Multiple recipients of list delphi
  Subject: Re: [DUG]: Messages
  
  
   There is a windows API function that will create a window 
  handle when
  called
   that messages can be sent to, except that I can't 
 remember what its
   called!!!
  
  CreateWindow?
  
  ducks
  
  -ns
  
  
  --
  -
  New Zealand Delphi Users group - Delphi List - 
  [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED] 
  with body of unsubscribe delphi
  
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Messages

2001-06-17 Thread Nahum Wild

Nothing that I know of or have noticed - but if your running a 286 or maybe
XT system you might notice it :)

Nahum.

 -Original Message-
 From: Luke Pascoe [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 18, 2001 16:13 PM
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Messages
 
 
 Thanks, I'll try that.
 
 Is there any penalty to having a handle? slows it down?
 
 
  Luke Pascoe  Delphi Programmer
  enSynergy Consulting LTD
 
  [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
  Level 4,   10-12 Federal St,   Auckland,   New Zealand
  PO Box 32521,  Devonport,  Auckland 1330,  New Zealand
 
 == I.H.T.F.P. ==
 
 
  -Original Message-
  From: Nahum Wild [mailto:[EMAIL PROTECTED]]
  Sent: Monday, 18 June 2001 3:46 p.m.
  To: Multiple recipients of list delphi
  Subject: RE: [DUG]: Messages
  
  
  Found what I was talking about, I was wrong in that its not a 
  windows API
  function, but rather a delphi function located in forms.pas.  
  Which is why I
  couldn't find it in the windows help. :)
  
  function AllocateHWnd(Method: TWndMethod): HWND;
  procedrue DeallocateHWnd(Wnd: HWND);
  
  Hope, that its usefull,
  Nahum.
  
  
   -Original Message-
   From: Nahum Wild [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 18, 2001 15:17 PM
   To: Multiple recipients of list delphi
   Subject: RE: [DUG]: Messages
   
   
   Its not that because the one I remember using returns a 
   handle, but you pass
   it a pointer to the function which will handle any messages 
   sent to the
   returned handle.  Allowing you to embed message handling 
   functionality into
   anything - Singleton Managers are always a really good target 
   for this,
   especially in a threaded environment.
   
   
   Nahum.
   
-Original Message-
From: Nello Sestini [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 15:18 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Messages


 There is a windows API function that will create a window 
handle when
called
 that messages can be sent to, except that I can't 
   remember what its
 called!!!

CreateWindow?

ducks

-ns


--
-
New Zealand Delphi Users group - Delphi List - 
[EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi

   --
   -
   New Zealand Delphi Users group - Delphi List - 
   [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED] 
   with body of unsubscribe delphi
   
  --
  -
  New Zealand Delphi Users group - Delphi List - 
  [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED] 
  with body of unsubscribe delphi
  
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Interfaces

2001-06-12 Thread Nahum Wild

You can get around the auto garbage collection easily enough.  Neven's
simple answer is a good one.  They have a huge impact on how you design apps
etc... - for the better.

Yes I use interfaces.  Learning about them was a oh, why didn't I learn
about these ages ago type experience, a bit like going from procedural to
object oriented. :)


Nahum.

 -Original Message-
 From: Sandeep [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 13, 2001 11:57 AM
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Interfaces
 
 
 On 13 Jun 2001, at 10:46, Neven MacEwan wrote:
 
  Sandeep
  
  Simple Answer - HUGE
 
 I haven't used them yet. And if it is used for automatic garbage 
 cleaning (I think I'm right here) then it may not be a good 
 programming practice, or it may be a lazy way of programming.
 
 Sandeep
 
 Software Developer
 CFL
 [EMAIL PROTECTED]
 http://www.cfl.co.nz
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Nahum Wild

Does anybody know anything about Pervasive.SQL ???  My boss wants me to look
at it and the only info I can quickly find about it is from the makers of
it.  It used to be called 'Btrieve' or something like that.

Cheers in advance,
Nahum.

 -Original Message-
 From: Sandeep [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 11, 2001 13:53 PM
 To: Multiple recipients of list delphi
 Subject: Re: Re: Re: [DUG]: Tuning SQL
 
 
 On 11 Jun 2001, at 13:05, Neven MacEwan wrote:
 
  Sandeep
  
  Do you want URL's where PostgreSQL outperforms Oracle?
  Anyway I thought we were comparing Open Source DB's
 
 U mean to say PostgreSQL is the best RDBMS around? 
 
 Sandeep
 
 Software Developer
 CFL
 [EMAIL PROTECTED]
 http://www.cfl.co.nz
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Nahum Wild

That seemed to be where my gut was heading also.  Thanks, I'll email you if
I need anything, probably won't. 

Thanks,
Nahum.

 -Original Message-
 From: James Low [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 11, 2001 14:44 PM
 To: Multiple recipients of list delphi
 Subject: RE: Re: Re: [DUG]: Tuning SQL
 
 
 We develop in it in VB - price keeps going up. Yep, used to 
 be Btrieve.
 Until recently ODBC driver would not support Memo fields. 
 Appears to have
 waning support. If you have any specific questions I'll find 
 some answers
 for you - maybe just e-mail direct. I note there seem to be a 
 few Delphi
 resources for it ... but my gut feeling is don't bother.
 
  
 
 -Original Message-
 From: Nahum Wild [mailto:[EMAIL PROTECTED]]
 Sent: 11 June 2001 14:02
 To: Multiple recipients of list delphi
 Subject: RE: Re: Re: [DUG]: Tuning SQL
 
 
 Does anybody know anything about Pervasive.SQL ???  My boss 
 wants me to look
 at it and the only info I can quickly find about it is from 
 the makers of
 it.  It used to be called 'Btrieve' or something like that.
 
 Cheers in advance,
 Nahum.
 
  -Original Message-
  From: Sandeep [mailto:[EMAIL PROTECTED]]
  Sent: Monday, June 11, 2001 13:53 PM
  To: Multiple recipients of list delphi
  Subject: Re: Re: Re: [DUG]: Tuning SQL
  
  
  On 11 Jun 2001, at 13:05, Neven MacEwan wrote:
  
   Sandeep
   
   Do you want URL's where PostgreSQL outperforms Oracle?
   Anyway I thought we were comparing Open Source DB's
  
  U mean to say PostgreSQL is the best RDBMS around? 
  
  Sandeep
  
  Software Developer
  CFL
  [EMAIL PROTECTED]
  http://www.cfl.co.nz
  
  --
  -
  New Zealand Delphi Users group - Delphi List - 
  [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED] 
  with body of unsubscribe delphi
  
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: Re: Re: [DUG]: Tuning SQL

2001-06-10 Thread Nahum Wild

Cool, thanks for the comments.  I've just now managed to get my boss off the
idea - told him abouts it's inflating costs which did the trick.  He seems
to have a strange adversion to Interbase (which is my preference) though,
I'll hit him with the IB concept a few times to see if he changes him mind.
:)


Nahum.

 -Original Message-
 From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 11, 2001 14:46 PM
 To: Multiple recipients of list delphi
 Subject: Re: Re: Re: [DUG]: Tuning SQL
 
 
 Nahum
 
 Pervasive SQL (aka Scalable SQL aka Netware SQL) is an SQL 
 engine that sits
 on top of Btrieve (Server ISAM)
 Popularity (if it has any) is due to the large Btrieve installed base
 porting to it as a quick i'm now C/S statetgy
 (Solomon, AccPac, Sage spring to mind)
 
 Pervasive seem to be doing well with their Web Dev tools 
 (though they seem
 to be focused on Pervasive.SQL 2000 now)
 
 I wouldn't use it (out of choice) I think the world has moved 
 on, , IB is
 way better!,
 We have a client with it (part of our dataflex daze) and 
 recently the query
 optimiser spontaneously
 decided to 'reoptimize' the query ignoring indexes and 
 replacing it with a
 linear search,
 execution time went from seconds to days! Pulled the whole DB 
 Down (this was
 Pervise.SQL 7 release prior to 2000)
 Only solution was to purge data (Not Acceptable)
 
 HTH
 
 Neven
 
 - Original Message -
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Monday, 11 June 2001 14:01
 Subject: RE: Re: Re: [DUG]: Tuning SQL
 
 
  Does anybody know anything about Pervasive.SQL ???  My boss 
 wants me to
 look
  at it and the only info I can quickly find about it is from 
 the makers of
  it.  It used to be called 'Btrieve' or something like that.
 
  Cheers in advance,
  Nahum.
 
   -Original Message-
   From: Sandeep [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 11, 2001 13:53 PM
   To: Multiple recipients of list delphi
   Subject: Re: Re: Re: [DUG]: Tuning SQL
  
  
   On 11 Jun 2001, at 13:05, Neven MacEwan wrote:
  
Sandeep
   
Do you want URL's where PostgreSQL outperforms Oracle?
Anyway I thought we were comparing Open Source DB's
  
   U mean to say PostgreSQL is the best RDBMS around?
  
   Sandeep
  
   Software Developer
   CFL
   [EMAIL PROTECTED]
   http://www.cfl.co.nz
  
   --
   -
   New Zealand Delphi Users group - Delphi List -
   [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED]
   with body of unsubscribe delphi
  
  
 --
 
 -
  New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of unsubscribe delphi
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: XP Meeting June 7th at Terrabyte - Why Not Now

2001-06-01 Thread Nahum Wild

Cost too much to fly up!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Saturday, June 02, 2001 13:23
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: XP Meeting June 7th at Terrabyte - Why Not Now
 
 
 Hmmm, this sounds interesting, I've always wanted to know more 
 about XP and 
 why I should look into using it...  any one else here thinking of going 
 along?
 
 Mark
 
 --On Friday, June 01, 2001 1:42 PM +1200 LIST at Nothing But Net 
 [EMAIL PROTECTED] wrote:
 
  Mark Easton, Development Manager of Terabyte, has generously made
  Terabyte's premises available for a first meeting of all people
  interested in Extreme Programming.
 
 -- 
 I really didn't foresee the Internet. But then, neither did the computer
 industry. Not that that tells us very much of course - the computer
 industry didn't even foresee that the century was going to end.
   - Douglas Adams - RIP 2001
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: IB Objects/ IBX/ Interbase experiences

2001-05-27 Thread Nahum Wild

As well as IBO and IBX there is also FIBPlus
(http://www.second-dream.ru/eng/index.htm) which I came across the other
day.  The author has written an article about it also well.
(http://www.delphipages.com/news/detaildocs.cfm?ID=47)

Hope thats its helpfull in some way. :)


Nahum.

 -Original Message-
 From: Sandeep [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 28, 2001 11:00 AM
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: IB Objects/ IBX/ Interbase experiences
 
 
 On 28 May 2001, at 10:26, James Low wrote:
 
  This is possibly more directed at Ed who recently advised 
 on the use of IB
  objects as opposed to IBX. My app prototype is using BDE/ 
 ODBC against a IB
  DB - and it seems IBO is the obvious next step in scaling/ 
 trying to get
  some performance. Are there any hidden gotchas and, in 
 D5/Pro, is IBX as
  impossible to use as the IBO hype suggests?
  
  The attraction of IBO is its BDE interface similarities and 
 the ability
  therefore to develop for several DBs at the same time with minimal
  rewriting.
 
 If u r converting from BDE then IBO is the best choice. IBX is 
 hopeless for this case. 
 Still there are some issues with Dialect 3 in IBO. U have to Put 
 double quotes around Tablenames and fieldnames if u r using it in 
 ur code.
 
 
 Sandeep
 
 Software Developer
 CFL
 [EMAIL PROTECTED]
 http://www.cfl.co.nz
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Kylix price drop?

2001-05-23 Thread Nahum Wild

Holy moly!  Thats almost worth buying so that when the next version of Kylix
is released you can upgrade instead of having to buy the full version!


Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Stephen Barker
 Sent: Thursday, May 24, 2001 10:07
 To: Multiple recipients of list delphi
 Subject: [DUG]: Kylix price drop?


  Is this new pricing?

 http://shop.borland.com/Product/0,1057,3-15-CQ100479,00.html


 Steve
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of unsubscribe delphi



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Refreshing forms

2001-05-20 Thread Nahum Wild



Is the 
form visible while you are adding components to it???

Failing that there is a windows API command to freezes all drawing 
updates toa window - LockWindowUpdate.



Nahum.


-Original Message-From: 
Robert Martin [mailto:[EMAIL PROTECTED]]Sent: Monday, May 21, 2001 
12:26 PMTo: Multiple recipients of list delphiSubject: 
[DUG]: Refreshing forms

  I am adding a largish number of components to a 
  form. Is there a way to disable refreshing of the form until all 
  components have been placed. Is there a method similar to the following 
  for forms??
  
  BeginUpdate
  try
   
   
  finally
   ...EndUpdate
  end;
  
  
  RobSoftware engineerWild Software Ltd 
  [EMAIL PROTECTED]


RE: [DUG]: Fw: Borland Unveils Industry's First RAD Web Services Development Platform

2001-05-08 Thread Nahum Wild

Would the D6 + Kylix deal include D6.Upgrade + Kylix.Full @ half price

Cheers,
Nahum.

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 09, 2001 08:54 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Fw: Borland Unveils Industry's First RAD Web Services
 Development Platform
 
 
 well, its official - Delphi 6 is out of the hat - the XML stuff, BTW,
 hassupport for XSD, but I couldn't say anything until this was out :)
 
 Also, we have a special on Kylix + Delphi 6 - buy Delphi 6 
 (well, preorder
 it :) ) and get Kylix for 1/2 price :) Call the office (09) 
 3600-231 for
 more info or visit us at the ComputerWorld expo in Auckland.
 
 There is an Akl / Welli / Chch launch of this and JBuilder 5 
 towards the end
 of the month, with David Intersimone doing the talking AFAIK :)
 
 Nic.
 
 
 FOR IMMEDIATE RELEASE
 BORLAND UNVEILS INDUSTRY'S FIRST RAD WEB SERVICES DEVELOPMENT PLATFORM
 Borland. DelphiT 6 Introduces New RAD Platform For The Rapid 
 Creation Of Web
 Services Using Latest Industry Standards
 SCOTTS VALLEY, Calif. - May 8, 2001 - Borland Software 
 Corporation (Nasdaq
 NM: BORL), a leader in e-business implementation platforms, 
 today announced
 the availability of Borland. DelphiT 6, the new version of its rapid
 application development (RAD) environment for Windows.. As 
 the first RAD
 tool to help developers easily use and create industry standard Web
 Services, Delphi 6 enables the rapid development and deployment of
 applications using XML- and SOAP-based Web Services 
 technologies.  Delphi 6
 Web Services and XML technologies speed e-business by 
 allowing companies to
 share and exchange application data, such as information 
 about a business,
 transaction or supplier, over the Internet with minimal human 
 intervention.
 Delphi 6 is the only RAD environment that fully supports all 
 major emerging
 industry standards: XML, SOAP, WSDL, and XSL; in turn, 
 supporting emerging
 Web Services based vendor platforms such as Microsoft. .Net 
 and BizTalk, and
 from Sun Microsystems. ONE, while providing the scalability 
 and reliability
 that enterprise and Web developers require.
 The adoption of Web Services is at a crossroads, said Evan 
 Quinn, director
 of application strategies for Hurwitz Group, an analyst, research, and
 consulting firm. Right now, individual and corporate 
 developers need the
 right tools to make Web Services applications powerful, yet 
 easy to design.
 With Delphi 6, Borland is responding to this critical industry need.
 The new Delphi framework includes BizSnapT, WebSnapT and 
 DataSnapT, which
 will help users build server-side and client-side 
 applications that support
 Web Services specifications through a fully integrated set of 
 Web Service
 enabled visuals tool, advanced compiler technology and 
 re-usable software
 components.  Delphi 6 is designed to enable faster time-to-market by
 simplifying business-to-business integration.
 Web Services is the next step in application development on 
 the Internet
 and developers are under pressure to quickly move business 
 applications to
 open standards so even though two companies have different IT
 infrastructure, they can conduct e-business together, said 
 Simon Thornhill,
 vice president and general manager of Borland's RAD products. 
  Delphi 6
 enables any Enterprise to quickly move into the future of e-business
 application development with Web Services without abandoning past
 methodologies, skills and source code.
 Borland Delphi 6 new product features include:
 * BizSnap Web Services RAD development platform simplifies
 business-to-business integration by easily creating XML/SOAP 
 Web Services
 and connections.
 * WebSnap is a component-based Web application development 
 framework that
 supports leading Web Application Servers, including ApacheT, 
 Netscape. and
 Microsoft Internet Information Services (IIS).
 * DataSnap allows customers to build high-performance, Web 
 Service-enabled
 middleware that enables any client application or service to 
 easily connect
 with any major database, such as Oracle., MS-SQL Server, 
 Informix., IBM.
 DB2., Sybase. and InterBase., through industry standard Web 
 Services and
 XML, DCOM, or CORBA..
 In addition, when paired with Borland KylixT, the first native RAD
 environment for the Linux. operating system (OS), Delphi 6 
 users can build
 single-source applications for both Windows and Linux, which opens new
 opportunities and increases the potential return on 
 development investments.
 Delphi 6 is scheduled to be available this month in three editions --
 Enterprise, Professional and Personal.
 About Borland . Delphi 6 T
 Borland Delphi 6 is the first rapid application development 
 environment for
 Windows that fully supports new and emerging Web Services.  
 With Delphi 6,
 corporate or individual developers can create next generation 
 e-business
 applications quickly and easily.  Major 

RE: [DUG]: BPL distribution safety

2001-05-02 Thread Nahum Wild

Thanks, thats they type of thing that I was after.


Cheers,
Nahum.

 -Original Message-
 From: Nello Sestini [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 02, 2001 21:40 PM
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: BPL distribution safety
 
 
  In the situation of using runtime only packages you need to 
 distribute the
  packages .bpl file with your application.  I'm wanting to 
 know how safe
 this
  is with respect to someone downloading the app, getting the 
 bpl and then
  using the components from it in their own application.  Can 
 this happen or
  is distributing a runtime only package perfectly safe and I 
 shouldn't
 worry
  about such things?
 
 as I understand it a bpl is just a DLL file.If you don't 
 distribute
 it with full debug symbols or design-time editors and stuff like that
 it's as usable (unusable) as any DLL.
 
 Is that perfectly safe?Probably not.   It's possible to reverse
 engineer DLLs and figure out details of the exported interface.
 The best example I know of this was Schulman/Pietrek/Maxey who hacked
 undocumented calls in the old 16bit Windows kernel DLLs with 
 some clever
 tricks and awe-inspiring persistence.
 
 But unless your components predict lottery results or something like
 that the effort required probably exceeds what you're 
 charging for them.
 
 -ns
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: Delphi 6 info

2001-05-01 Thread Nahum Wild

Yay for in Christchurch!

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 02, 2001 10:34 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Delphi 6 info
 
 
 Hi people,
 
 Someone (damn, I use IMAP for mail, so delete = remove, not 
 move to trash!)
 asked about Delphi 6 and the ***SNAP stuff, and which version 
 it was in.
 Well, I now know, but as its going to be _officially_ 
 announced on the 8th
 May (Tuesday next week, US time), I have been asked not to 
 say until then.
 
 So, if you can hold your breath until then (no, not 
 literally), then all
 shall be revealed. We also have a launch of it, and JBuilder 
 5 coming REALLY
 soon (well, this month), and as far as I know it will be in 
 Akl, Wlg and
 Chch :)
 
 Cheers,
 
 Nic.
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of unsubscribe delphi
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



[DUG]: BPL distribution safety

2001-05-01 Thread Nahum Wild

In the situation of using runtime only packages you need to distribute the
packages .bpl file with your application.  I'm wanting to know how safe this
is with respect to someone downloading the app, getting the bpl and then
using the components from it in their own application.  Can this happen or
is distributing a runtime only package perfectly safe and I shouldn't worry
about such things?  

What I'm trying to do is split up my exe to make it smaller, reducing the
size of subsequent upgrades (just the exe distributed as the packages don't
change).  I'm currently in the beta phase and upgrades are frequent and
large to download for my testers.

Any experience to impart and suggestions in this area is much appreciated.


Cheers,

Nahum Wild
Software Developer

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of unsubscribe delphi



RE: [DUG]: How to Do This

2001-04-05 Thread Nahum Wild

Hey, that seems like a good idea!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Stephen Bertram
 Sent: Thursday, April 05, 2001 17:49
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: How to Do This


 The simple way I found to do this was to set up a StringList with the name
 of the function in the list and a pointer to the function in the Object
 property.

 The problems were to populate the list at runtime and to have all
 the called
 functions having common parameter lists and return types.  I used a
 StringList as the input parameter as the app was a CGI which imported the
 parameters that way and the type was string, though variant arrays can be
 used for generality.

 Stephen
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: How to Do This

2001-04-05 Thread Nahum Wild

Well after a few minutes of finger bluring action last night I got it
working with MethodAccess.  I've included an example below -

{-}

type

  TMathOperation = function (const iVar1, iVar2 : integer) : integer of
object;

  TBasicMath = class(TObject)
  private
  protected
  public
class function Execute(const sOperation : string; const iVar1, iVar2 :
integer) : integer;

  published

function Add(const iVar1, iVar2 : integer) : integer;
function Subtract(const iVar1, iVar2 : integer) : integer;
function Multiply(const iVar1, iVar2 : integer) : integer;
function Divide(const iVar1, iVar2 : integer) : integer;

  end;

implementation

{$R *.DFM}

class function TBasicMath.Execute(const sOperation : string; const iVar1,
iVar2 : integer) : integer;
var
  ABasicMath : TBasicMath;
  AMathOp : TMathOperation;
  AMathMethod : TMethod;
begin

  ABasicMath := TBasicMath.Create;
  try

AMathMethod.Code := ABasicMath.MethodAddress(sOperation);
AMathMethod.Data := ABasicMath;
AMathOp := TMathOperation(AMathMethod);

assert(assigned(AMathOp));

Result := AMathOp(iVar1, iVar2)

  finally
ABasicMath.Free;
  end;

end;

function TBasicMath.Add(const iVar1, iVar2 : integer) : integer;
begin
  Result := iVar1 + iVar2;
end;

function TBasicMath.Subtract(const iVar1, iVar2 : integer) : integer;
begin
  Result := iVar1 - iVar2;
end;

function TBasicMath.Multiply(const iVar1, iVar2 : integer) : integer;
begin
  Result := iVar1 * iVar2;
end;

function TBasicMath.Divide(const iVar1, iVar2 : integer) : integer;
begin
  Result := iVar1 div iVar2;
end;

{-}

The usage for it would be something like this -

Edit1.Text := IntToStr(TBasicMath.Execute('Divide', 81, 9));


Hopefully its useful for someone.

Cheers,
Nahum.

 -Original Message-
 From: Stephen Bertram [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 06, 2001 09:33 AM
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: How to Do This
 
 
 Further to my earlier post I found some of the code I used to 
 call functions
 by name at runtime and have put this below.  The basic idea 
 (and the bulk of
 the code) for this was given to me by a C programmer.
 
 If anyone has a neater way to access methods at runtime I 
 would love to see
 it.
 
 Stephen
 
 In the Application units
 ---
 ...
 uses dispatch;
 ...
 var
   Req : TStringList;
   LocalVariable : String;
 ...
   // To call a function - initialize the parameters and call CallFnc
   Req.Clear;
   Req.Add('Param1=XX');
   Req.Add('Param2=1');
   LocalVariable := CallFnc('FunctionName',Req);
 ...
 initialization
   // Add all functions to the FnList
   FnList.AddObject('FunctionName=whatever ID you want to
 use',@FunctionName);
 end.
 
 
 Function calling unit
  
 unit dispatch;
 
 interface
 
 uses Classes, sysutils;
 
 type
TCallFn = function(req : TStringList) : string;
 
 function CallFnc (FncName : string; Req : TStringList):string;
 
 var
FnList : tstringlist;
 
 implementation
 
 function CallFnc (FncName : string; Req : TStringList):string;
 begin
if Fnlist.indexofname(FncName) = -1 then
   Result := ' Function ' + FncName + ' not found '
else
   Result :=  TCallFn (FnList.objects[
 FnList.indexofname(FncName)])(Req);
 end;
 
 initialization
   FnList := TStringList.Create;
 finalization
   FnList.Free;
 end.
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Dynamic arrays

2001-04-05 Thread Nahum Wild

The delete method is used to manipulate strings, so its complaining about
you passing something other than a string as the first paramater.  Depending
on what type your array is you could always use a TList or even a
TStringList??  TStringLists are all good!


Cheers,
Nahum.

 -Original Message-
 From: Luke Pascoe [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 06, 2001 11:31 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Dynamic arrays
 
 
 Simple one for ya:
   Delete(MyDynArray, MyIndex, 1);
 That doesn't work. "Incompatible types" where MyDynArray is.
 
 How do I remove an element from the middle of a dynamic array?
 
 Luke Pascoe.
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: How to Do This

2001-04-04 Thread Nahum Wild

Oops, I may have just sent you on a wild goose chase.  I'm curious about how
to do this now so I'll try and have a look at it tonight and let you know -
unless of course someone else knows how to do it already. :-)


Nahum.

 -Original Message-
 From: Nahum Wild [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 05, 2001 16:28 PM
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: How to Do This
 
 
 You can do it if the methods are published.  
 TObject.MethodAddress takes a
 string and returns a pointer to the published method of that 
 name, or nil if
 no method with the passed name exists.
 
 If you want I could slap some code together.
 
 
 Nahum.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Friday, April 06, 2001 04:28 AM
  To: Multiple recipients of list delphi
  Subject: [DUG]: How to Do This
  
  
  Hi all.
  
  Some time back (months I think) I asked if there was a way to 
  call a function or procedure based on its name dynamically,
  
  I.e the functions might me called 
  
  Function1
  function2
  Function_test
  etc.
  In VB you can go CallByName("Function1") and it will call the 
  function, anf I want/need to do this in Delphi.
  
  Like I say,someone said that this can be done in some form, 
  but I was wondering how they do it etc. and IF they can show 
  me a bit fo code hwo its done.
  
  Thanks, Jeremy Coulter
   
   
   
  Jeremy Coulter (Manager)
  Visual Software Solutions
  Christchurch, New Zealand
  PH 03-3521595
  FAX 03-3521596
  MOBILE 021-2533214
  www.vss.co.nz 
  
  --
  -
  New Zealand Delphi Users group - Delphi List - 
  [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED] 
  with body of "unsubscribe delphi"
  
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: What I Am Doing.

2001-02-08 Thread Nahum Wild

 To all those who are wondering.

 Who can programme?

 Who has heard of Youden?  How about Orr?  And Jackson?

 Have you heard the expression 'A picture paint a thousands words'?

 Well - what I am doing is writing a complier that will produce code from
 structure diagrams like these guys came up with.  What we have, so far,
 is an extension of the basic structured diagram and most of these
 extensions come are because we can have the diagrams dynamic because
 the user (programmer) will draw the structured diagram on the computer.

 This compiler will, for now, produce Pascal source code but the actual
 code is not all that important and it should be easy to extend it
 to produce
 any source of object code.  The user will place 'nodes' on the 'page' and
 connect these 'nodes' to other 'nodes'.  There are different 'nodes' for
 different programming constructs.  The user will then 'run' this code.
 There will be no need to learn language syntax etc - the user
 will just fill-in
 forms with the required information - eg, a for loop will require
 a starting
 condition and an increment and a block of some actions.

 It will be impossible (IN THEORY) to write bad code.

 This is a project that has been going for a few years now and I
 did a paper
 on it for my undergrad degree.  I have decided to do a masters degree and
 work on this for my thesis which is one year full time study with
 a further year
 of study in more general stuff to do with computer science.
 After that I plan
 to do (well, this is the theory) a PhD in the area - that should
 take another
 three years.  At the end of all this I/we/someone should have a working
 version of a full general programming language that requires no code to be
 written by programmers, only diagrams to be produced.

 I would like to thank everyone here for their past and future
 help (cos I know
 I am going to need it).  So far you guys have been great.  Keep
 up the good
 work.

 I have a strong programming background but have never written in Pascal
 before and have never done any OO stuff except at uni (and that doesn't
 count).


 Chrissy.

 PS - if you want to know a bit more about me then you could take a look at
 www.home.gen.nz




 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: What I Am Doing.

2001-02-08 Thread Nahum Wild

 To all those who are wondering.

 Who can programme?

 Who has heard of Youden?  How about Orr?  And Jackson?

 Have you heard the expression 'A picture paint a thousands words'?

 Well - what I am doing is writing a complier that will produce code from
 structure diagrams like these guys came up with.  What we have, so far,
 is an extension of the basic structured diagram and most of these
 extensions come are because we can have the diagrams dynamic because
 the user (programmer) will draw the structured diagram on the computer.

 This compiler will, for now, produce Pascal source code but the actual
 code is not all that important and it should be easy to extend it
 to produce
 any source of object code.  The user will place 'nodes' on the 'page' and
 connect these 'nodes' to other 'nodes'.  There are different 'nodes' for
 different programming constructs.  The user will then 'run' this code.
 There will be no need to learn language syntax etc - the user
 will just fill-in
 forms with the required information - eg, a for loop will require
 a starting
 condition and an increment and a block of some actions.

 It will be impossible (IN THEORY) to write bad code.

The quality of the code would depend of the quality of the design, and there
would be nothing stopping people designing badly. :(



 This is a project that has been going for a few years now and I
 did a paper
 on it for my undergrad degree.  I have decided to do a masters degree and
 work on this for my thesis which is one year full time study with
 a further year
 of study in more general stuff to do with computer science.
 After that I plan
 to do (well, this is the theory) a PhD in the area - that should
 take another
 three years.  At the end of all this I/we/someone should have a working
 version of a full general programming language that requires no code to be
 written by programmers, only diagrams to be produced.

 I would like to thank everyone here for their past and future
 help (cos I know
 I am going to need it).  So far you guys have been great.  Keep
 up the good

 I have a strong programming background but have never written in Pascal
 before and have never done any OO stuff except at uni (and that doesn't
 count).

No OO, you don't know what your missing out on!  You could link your
structure diagram code generator to a third party UML design tool such as
Object Domain or Model Maker.  Where they produced the class strucure and
general program behaviour source and you generated the code for each method.
That in theory would work really nicely.


Cheers,

Nahum Wild
Game Designer
Realism

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Borland Kylix product launch and training!

2001-02-04 Thread Nahum Wild

It has to be asked - What about Christchurch?  :-))

Is there a picture of the T-Shirt???


Nahum Wild
Game Designer
Realism

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nic Wise
 Sent: Monday, February 05, 2001 14:24
 To: Multiple recipients of list delphi
 Subject: [DUG]: Borland Kylix product launch and training!
 
 
 Hi Folks,
 
 It is my pleasure to announce that Borland will be holding a 
 product launch
 for Kylix on Friday 23 February 2001 at The Carlton Hotel, corner Mayrol
 Drive  Vincent Streets, Auckland.
 
 A FREE Product Overview and morning tea will be held in the morning,
 followed by a Kylix Technical Seminar/Training in the afternoon 
 (for which a
 cost applies).
 
 The Technical Seminar is available at a cost of NZ$99 + GST 
 (normally $295!)
 and includes lunch, course material, a RAD Kylix T-Shirt, 
 afternoon tea and
 the chance to win a Server Developer Edition of Kylix valued at US$1999!
 
 For further details please do not hesitate to visit
 http://register.borland.co.nz or call me on 09-360-0231.
 
 We look forward to seeing you then!
 
 Best regards
 
 Alice Kennedy
 Sales and Marketing Co-ordinator
 Borland New Zealand Limited.
 P: 09-3600231
 F: 09-3600384
 E: [EMAIL PROTECTED]
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Borland Kylix product launch and training!

2001-02-04 Thread Nahum Wild

Don't you mean UP there?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Tuesday, February 06, 2001 09:32
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Borland Kylix product launch and training!


 *snigger* don't be silly Naham, Christchurch? why... theres no developers
 down there :)

 --On Monday, February 05, 2001 06:37:09 PM +1300 Nahum Wild
 [EMAIL PROTECTED] wrote:

  It has to be asked - What about Christchurch?  :-))

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Energy/Power Saving

2001-01-29 Thread Nahum Wild

Does anybody know of any componets that would allow me to control and
monitor windows energy/power saving?  Specificly I'm writing an app the does
some scheduled tasks and I want it to be able to powerup a PC, maybe just
the HDs, do a scheduled task then power backdown to wait for the next
scheduled task.


Cheers,

Nahum Wild
Game Designer
Realism

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Command Line Compiler

2001-01-09 Thread Nahum Wild

I have no experience with the command line compiler at all, but from the
message could it be refering to the resource (.res) file???

Nahum.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, January 10, 2001 1:56 PM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Command Line Compiler


 Help,

 I have a simple program (D5) the Project 1 Form and some units.
 I need to use the command line compiler (DCC32.exe) on this but it keeps
 throwing an error
 The Error is "File Not Found" for the Forms .DCU

 Any help much appreciated.

 TIA
 Paul





 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Software Updates / Patches

2001-01-02 Thread Nahum Wild

Hi all,

I'm trying to find a freeware tool for creating exe patches.  Instead of my
users having to re-download my 3+mb exe everytime I update it I want them to
be able to download a small program that knows what changes have been made
to the exe at a binary level and modifies the exe rather than replaces it.

Or something along those lines of patching an existing install.


Cheers,

Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Lazarus vs Kylix

2000-12-29 Thread Nahum Wild

Corey Murtagh wrote :

   I mean from the screen dumps, the source code is practically identical
  even
   to having the component names the same etc.
  
 
  well, what else ya gonna call a button?
  TWidgetThingThatsClickedOnAndLooksLikeAButton ;-)
 

 Point(s) taken, but how if you check out their status page:

   http://www.lazarus.freepascal.org/status.php3?language=english

 It's kind of obvious that they're converting the VCL for Lazarus.
  They have
 a list of all the VCL classes that they want to translate, and as they're
 writing it in Delphi-compatible OP I somehow doubt that it's all
 clean-roomed.  In fact I'd be very surprised if you couldn't find a fair
 amount of the Borland/Inprise VCL code in there somewhere.

Why would you want to copy something without improving upon the original
idea?  If the lazarus project aims to duplicate delphi exactly, warts and
all, then there is no point in the project and everyone may as well go and
buy a copy.  This would be the only way that copying "fair" amounts of
borland VCL code across could work.

But if Lazarus, say, fixes the warts and adds a tweak here, an enhancement
there and tries not to touch windows then there is no way that any
significant amounts of borland VCL code would even work.  It could be used
as a guide though.

Now, I'm not saying I'd be suprised if they did use borland VCL code, I'm
just saying that it would be a silly idea to do so.  The whole 'holding your
self back by nailing your foot to the floor' concept comes to mind.

Just my two cents worth at 2:54 in the morning as I hear The Press being
delivered. (Thrown onto our drive from a fast moving vehicle - hey, is it
illegal to throw things from a moving car?)


Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Lazarus vs Kylix

2000-12-29 Thread Nahum Wild

Oops, my mistake.  It was a stupid hour in the morning that I wrote it
though.

Well then, since the it "can't" touch windown because it ain't there then
there is no way that you would could use much of the borland VCL.

Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Saturday, December 30, 2000 10:28
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Lazarus vs Kylix


 On Sat, 30 Dec 2000, Nahum Wild wrote:

  But if Lazarus, say, fixes the warts and adds a tweak here, an
 enhancement
  there and tries not to touch windows then there is no way that any

 Tries not to touch windows?  Has something changed with Lazarus then?
 Cause it used to be a GTK/Linux/X11 only thing?  Or are they also now
 supporting GTK/Windows?

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: TCtrlGrid?

2000-12-27 Thread Nahum Wild

Hi all,

I'm looking for a non-data aware TDbCtrlGrid.  Something I can put standard
controls on etc...  Does anybody know of one at all?


Cheers,

Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: TCtrlGrid?

2000-12-27 Thread Nahum Wild

Gotta webpage for that by per change?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Corey Murtagh
 Sent: Thursday, December 28, 2000 11:44
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: TCtrlGrid?
 
 
 Nahum Wild wrote:
  
  Hi all,
  
  I'm looking for a non-data aware TDbCtrlGrid.  Something I can 
 put standard
  controls on etc...  Does anybody know of one at all?
 
 I looked for one briefly, then gave up and used a memory table
 (TkbmMemTable) and some code to load it with what I wanted in the
 TDbCtrlGrid.  Worked a treat.
 
 If this doesn't fit your needs, let us know what exactly are you 
 looking for
 and someone might have a better idea.
 
 -- 
 Corey Murtagh
 The Electric Monk
 "Quidquid latine dictum sit, altum viditur!"
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Dynamic call for Object Properties?

2000-12-20 Thread Nahum Wild

Yep, but only to published properties.

TObject has a method called 'FieldAddress' that when passed a property name
as a str will return a pointer to it.  The trick being that it has to be a
published property, and the property has to exist other wise it will return
nil.


BTW, anyone know the url to the WISE installation software?


Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Jason L. Coley
 Sent: Thursday, December 21, 2000 14:09
 To: Multiple recipients of list delphi
 Subject: [DUG]: Dynamic call for Object Properties?


 I'm not sure whether I named the subject correctly, but what I would
 like to do is:

 I would like to get a objects property, by passing a function an objects
 property name.

 Is this possible, and how would I go about doing such a thing.

 Regards
 Jason Coley
 Manawatu Software Solutions
 http://www.software-solutions.co.nz
 http://www.software-solutions.co.nz/


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: RE: RE: [DUG]: Dynamic call for Object Properties?

2000-12-20 Thread Nahum Wild

TObject has a method that will do this, probably called 'MethodAddress' off
the top of my head.  It to will probably have to be published for this to
work.

Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Jason L. Coley
 Sent: Thursday, December 21, 2000 15:22
 To: Multiple recipients of list delphi
 Subject: RE: RE: RE: [DUG]: Dynamic call for Object Properties?


 Someone earlier mentioned a vb procedure CallFunctionByName, that sounds
 like exactly what I want, but I have no idea how I might write this in
 Delphi.


  -Original Message-
 From: Jason L. Coley
 Sent: Thursday, 21 December 2000 2:54 p.m.
 To:   Multiple recipients of list delphi
 Subject:   RE:  RE: [DUG]:  Dynamic call for Object Properties?

 Can I use this for a dispatch object, like an Outlook Contact Item, I
 should have mentioned this before. I would like to send it FirstName and
 have it return the value of the MyContact.FirstName property.

 Regards
 Jason Coley
 Manawatu Software Solutions
 

  -Original Message-
 From: Nahum Wild [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 21 December 2000 2:41 p.m.
 To:   Multiple recipients of list delphi
 Subject:   RE: [DUG]:  Dynamic call for Object Properties?

 Yep, but only to published properties.

 TObject has a method called 'FieldAddress' that when passed a property
 name
 as a str will return a pointer to it.  The trick being that it has to be
 a
 published property, and the property has to exist other wise it will
 return
 nil.


 BTW, anyone know the url to the WISE installation software?


 Nahum Wild
 Game Designer
 Realism Ltd

 ESDAO - The wargame of a thousand faces.
 http://www.esdao.net


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Jason L. Coley
  Sent: Thursday, December 21, 2000 14:09
  To: Multiple recipients of list delphi
  Subject: [DUG]: Dynamic call for Object Properties?
 
 
  I'm not sure whether I named the subject correctly, but what I would
  like to do is:
 
  I would like to get a objects property, by passing a function an
 objects
  property name.
 
  Is this possible, and how would I go about doing such a thing.
 
  Regards
  Jason Coley
  Manawatu Software Solutions
  http://www.software-solutions.co.nz
  http://www.software-solutions.co.nz/
 
 
  --
  -
  New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 
 

 
 ---
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"

 
 ---
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: TBits - array of bits

2000-12-14 Thread Nahum Wild

I'm wanting to create a 2d array of bits where the less memory used to store
the array the better.  A boolean array is out of the question as a boolean
uses up a byte.  So I looked in the D5 help and found the TBits class.  It
is accessed as a boolean but looking at its source code reveals that its
coded in assembler.  Which I can't read.  So my question is - does TBits
store everything at the bit level or at the byte level?

Alternatively does anyone know of a different approach to doing this where
memory footprint it critical with access speed coming a close second?


Cheers,

Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

Download the public beta version now!

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: TBits - array of bits

2000-12-14 Thread Nahum Wild

Cool bananas. Thanks for the helpfull replies.

I guess that if I had looked more closely at the SetSize method I should
have figured it out. :)  The array will be filled with about 60% true values
so it makes sense to store the whole lot.  But I have used the concept of
just recording where the true values are else where to good effect.

Cheers,
Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Wes Edwards
 Sent: Friday, December 15, 2000 14:32
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: TBits - array of bits


 Another thought ...

 Are the arrays large with only a few true values?  If so a sparse array
 approach may be better.  IE only allocate space to store a true
 value.  You
 will have to allocate space to tell you which values you have and map the
 real index to the storage index, but if the number of values to be stored
 are very small w.r.t. the overall size of the array you may end up with a
 saving.

 By the way, a black  white bitmap is a 2D array of boolean values.

 Wes Edwards

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Nahum Wild
  Sent: Friday, 15 December 2000 13:06
  To: Multiple recipients of list delphi
  Subject: [DUG]: TBits - array of bits
 
 
  I'm wanting to create a 2d array of bits where the less memory
  used to store
  the array the better.  A boolean array is out of the question
 as a boolean
  uses up a byte.  So I looked in the D5 help and found the TBits
 class.  It
  is accessed as a boolean but looking at its source code reveals that its
  coded in assembler.  Which I can't read.  So my question is - does TBits
  store everything at the bit level or at the byte level?
 
  Alternatively does anyone know of a different approach to doing
 this where
  memory footprint it critical with access speed coming a close second?
 
 
  Cheers,
 
  Nahum Wild
  Game Designer
  Realism Ltd
 
  ESDAO - The wargame of a thousand faces.
  http://www.esdao.net
 
  Download the public beta version now!
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Delphi 6

2000-12-06 Thread Nahum Wild

Does anybody know whats going to be new with Delphi 6???  Any webpages that
list details etc...  From my point of view everything seems to be Kylix this
and Kylix that with Delphi 6 not being mentioned at all.


Cheers,

Nahum Wild
Game Designer
Realism Ltd

ESDAO - The wargame of a thousand faces.
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Win2k and ParamStr()

2000-12-04 Thread Nahum Wild

My big uses ParamStr() fine with no probs under Win2k Pro.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Tuesday, December 05, 2000 15:04
 To: Multiple recipients of list delphi
 Subject: [DUG]: Win2k and ParamStr()


 Hiya, does anyone know if Windows 2000 has any problems with the
 ParamStr() function?  I have a wee app that I have a problem with, and I'm
 thinking the problem lies in not picking up my commandline params
 properly.  Unfortunately I dont have a local win2k box to test anything
 out on, anyone here with d5/w2k able to make a wee test app and see if it
 picks up the params properly?

 --
 "We don't guarantee anything except that it will take up disk space..."
   Apache 2.0alpha5 Disclaimer

 Now Playing: no audio cd present

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Win2k and ParamStr()

2000-12-04 Thread Nahum Wild

I ment 'My big app uses...' in case anyone was wondering.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nahum Wild
 Sent: Tuesday, December 05, 2000 16:15
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Win2k and ParamStr()
 
 
 My big uses ParamStr() fine with no probs under Win2k Pro.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Mark Derricutt
  Sent: Tuesday, December 05, 2000 15:04
  To: Multiple recipients of list delphi
  Subject: [DUG]: Win2k and ParamStr()
 
 
  Hiya, does anyone know if Windows 2000 has any problems with the
  ParamStr() function?  I have a wee app that I have a problem 
 with, and I'm
  thinking the problem lies in not picking up my commandline params
  properly.  Unfortunately I dont have a local win2k box to test anything
  out on, anyone here with d5/w2k able to make a wee test app and 
 see if it
  picks up the params properly?
 
  --
  "We don't guarantee anything except that it will take up disk space..."
Apache 2.0alpha5 Disclaimer
 
  Now Playing: no audio cd present
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED] 
 with body of "unsubscribe delphi"
 
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Bitmap transparency

2000-11-30 Thread Nahum Wild

If you play with the CopyMode property, part of TCanvas, you should be able
to achieve what you want - well according to the help anyway!

The really horrible and ugly option would be to use scanline and run thru
the bitmap and replace pink with whatever its going over.


Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Luke Pascoe
 Sent: Friday, December 01, 2000 15:31
 To: Multiple recipients of list delphi
 Subject: [DUG]: Bitmap transparency


 An easy one for a friday afternoon...

 I've got 4 little bitmaps, each with a transparent reqion defined by the
 color pink.
 I also have a string grid which I draw manually. I want to copy
 these little
 bitmaps to certian cells at will, which is easy with copyrect
 _except_ that
 I don't know how to make the transparent bits transparent.

 Any guru's out there still functioning mentally or has everyone (including
 myself) shut down for the weekend already?

 --

 Luke Pascoe
 Programming
 Ihug
 [EMAIL PROTECTED]
 0800 GET IHUG ext.9764

 Give a man a fish and you feed him for a day.
 Teach him to use the Net and he won't bother you for weeks.

 --


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Kylix

2000-11-09 Thread Nahum Wild

So by that are you saying that if we agree to go under NDA we can get a
hands on demo??

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nic Wise
 Sent: Friday, November 10, 2000 11:50
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Kylix


 Can I add to this that it will have to be a fairly limited _demo_ - not
 hands on - otherwise you all need to go under NDA :)

 N

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Scott Newton
  Sent: Friday, 10 November 2000 11:46
  To: Multiple recipients of list delphi
  Subject: [DUG]: Kylix
 
 
  The Linux Users Group would like to invite the members of the Delphi
  Users Group to a talk on Kylix on Monday 11 December here in Auckland by
  the illustrious Nic Wise.
 
  Who: Nic Wise (Inprise New Zealand Ltd)
  What:Kylix
  Where:  Lecture theatre ALR5,
 Level 3,
 Architecture Building.
  When:  Monday, 11 December, talk starts at 19:30
 
  The Architecture building is behind the Computer Centre which is 24
  Symonds Street and the first building on the right after the Wellesley
  Street bridge when heading down Symonds Street. Look out for the 'Campus
 
  Computers' sign. Lecture theatre ALR5 is on level 3 of the building, at
  the Symonds Street End.
 
  Looking forward to seeing you there...
 
  Scott Newton
  --
  Regards
  Scott Newton
 
  Quanta Systems Limited
  Phone: (09) 302 3760
  Fax  : (09) 302 3784
 
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Today's Mental block

2000-11-01 Thread Nahum Wild

Alrighty then.  I remember now, must have fried a couple of neurons getting
up too early this morning or something. :)

Thanks for the responses!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Max Nilson
 Sent: Thursday, November 02, 2000 10:01
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Today's Mental block


 Nahum Wild asked:

  Currently I'm just forcibly casting at runtime the objects to
  the interface
  and trapping the exception generated if it don't work.
 
  for i := fUndoList.Count-1 do begin
try
  (fMyList[i] as ICommandInterface).Prune;
except
  on E: EIntfCastError do begin
// do nothing
  end;
end;
  end;
 
  This is pretty yuck and want to do it a better/nicer way.  Does
  anybody know
  what I'm taking about and/or can help??

 Use Supports, as in

 var
   Command: ICommandInterface;
   I: Integer;
 begin
   for i := fUndoList.Count-1 do
 if Supports(fMyList[I], ICommandInterface, Command) then
   Command.Prune

 Declared in SysUtils I think.

 Cheers, Max.

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Today's Mental block

2000-11-01 Thread Nahum Wild

It's not, but I'll keep that in mind for the future though.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Neven MacEwan
 Sent: Thursday, November 02, 2000 11:56
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Today's Mental block


 Nahum

 If your object is a TComponent then use

 if TComponent(fMyList[i]).QueryInterface(ICommandInterface,IntVar) then
   IntVar.Prune

 I've had problems with the Supports function when casting inside
 procedures

 HTH
 Neven

 - Original Message -
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Sent: Thursday, 2 November 2000 09:44
 Subject: [DUG]: Today's Mental block


  I'm trying to determine if an object implements an interface, and I'm
 having
  a complete mental block about it.
 
  The situation is that I have a TList of objects that ALL implement
 IUnknown.
  Some in the list might implement ICommandCluster and I want to test for
 this
  and do something with them if they do.  I'm pretty sure I've done
 something
  in the past that was nice and simple/elegant to determine if an object
  implemented a particular interface, but as I said I'm having a complete
  mental block about it.
 
  Currently I'm just forcibly casting at runtime the objects to the
 interface
  and trapping the exception generated if it don't work.
 
  for i := fUndoList.Count-1 do begin
try
  (fMyList[i] as ICommandInterface).Prune;
except
  on E: EIntfCastError do begin
// do nothing
  end;
end;
  end;
 
  This is pretty yuck and want to do it a better/nicer way.  Does anybody
 know
  what I'm taking about and/or can help??
 
 
  Cheers,
 
  Nahum Wild
  Game Designer
  Realism Ltd
 
 
  Pre-Register now for the ESDAO beta test!
  http://www.esdao.net
 
  Also the official home of the FatFree Browser
 
 
 --
 -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Free inside Create

2000-10-26 Thread Nahum Wild

You missed the 'class' part of the class procedure, it should be as below
with the class reference at the very begining of the statement.  Good idea
though, you get rid of the object trying to free itself within its own
constructor which sounds a bit dodgy. :)


class procedure TMyGadget.CreateBriefly;
var it:TMyGadget;
begin
  it:=nil;
  try
it:=TMyGadget.Create();  //call the protected constructor
  finally
it.free;
  end;
end;



Cheers,

Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nello Sestini
 Sent: Thursday, October 26, 2000 21:50
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Free inside Create


 a Delphi constructor (unlike those in C++) doesn't get called
 implicitly (like for local variables or for args passed by value)

 This means that to create one of these things you'll have to
 explicitly call TMyGadget.Create  (or use new ).

 So how about writing a class function CreateBriefly  that isn't
 a constructor and call that instead.Make CreateBriefly
 public and make the real Create constructor protected.

 CreateBriefly will look like something like:

procedure TMyGadget.CreateBriefly;
var it:TMyGadget;
begin
   it:=nil;
   try
 it:=TMyGadget.Create();  //call the protected constructor
   finally
 it.free;
   end;
end;

 then in all the places you currently call Create you
 change these to calls to CreateBriefly.


 Personally i think "doing stuff" other than just getting the object
 properly initialised (like running a process) in a constructor is
 bad design.

 But I suppose that's debatable.

 -ns







 -Original Message-
 From: Rohit Gupta [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Thursday, October 26, 2000 15:32
 Subject: [DUG]: Free inside Create


 Whats the recommended way of executing Free (or Destroy) inside the
 constructor ?

 I have been using Free inside teh constructor which has worked under
 Delphi3.  Under Delphi 5, it karks it.  Looking at the code, the idea now
 seems naive.

 BUT, I still want to do it.  The object is like a process,  all
 the work is
 done in the constructor, after which its simples fot it to commit
 hara-kiri,
 preferably a clean one.

 Executing an abort inside the constructor calls the destructor,
 unfortunately that leaves an unhandled exception.  Having about
 20 of these
 beasts, I want the code to look simple and be foolproof.



 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"


 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Database questions in general list

2000-10-18 Thread Nahum Wild

It's probably just not listed on the website.  The fact its not listed on
the website probably explains a few things though.

Its called 'database' if you wanted to subscribe to it.


Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nello Sestini
 Sent: Thursday, October 19, 2000 1:00
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Database questions in general list


 Also trying to not be a PITA here, but according to the
 FAQ posted on the website the available lists are:

 Anounce
 Delphi Technical
 Delphi Offtopic
 Interbase
 Web Development
 C++

 Probably this is a bit out of date and should include the
 new "Java" list Nic added in August.

 So where is the "database" list?

 -ns


 -Original Message-----
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Wednesday, October 18, 2000 10:12
 Subject: [DUG]: Database questions in general list


 Trying not to sound like a party pooper here but - could we
 please keep the
 database questions to the database list where they are ment to be posted
 rather than this one.  :)

 Thanks.


 Nahum Wild
 Game Designer
 Realism Ltd


 Pre-Register now for the ESDAO beta test!
 http://www.esdao.net

 Also the official home of the FatFree Browser

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Database questions in general list

2000-10-18 Thread Nahum Wild

There appears to be a seperate 'Interbase' list as well.  I'm not sure how
often it gets used though.

Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nello Sestini
 Sent: Thursday, October 19, 2000 14:44
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Database questions in general list


 aha - thanks

 does it replace the Interbase group?most of the recent IB6
 and IBX/IBO traffic seems to be on the delphi list anyway
 (which i suppose was your original point)

 -ns


 -Original Message-
 From: Nahum Wild [EMAIL PROTECTED]
 To: Multiple recipients of list delphi [EMAIL PROTECTED]
 Date: Thursday, October 19, 2000 03:30
 Subject: RE: [DUG]: Database questions in general list


 It's probably just not listed on the website.  The fact its not listed on
 the website probably explains a few things though.

 Its called 'database' if you wanted to subscribe to it.


 Nahum

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Nello Sestini
  Sent: Thursday, October 19, 2000 1:00
  To: Multiple recipients of list delphi
  Subject: Re: [DUG]: Database questions in general list
 
 
  Also trying to not be a PITA here, but according to the
  FAQ posted on the website the available lists are:
 
  Anounce
  Delphi Technical
  Delphi Offtopic
  Interbase
  Web Development
  C++
 
  Probably this is a bit out of date and should include the
  new "Java" list Nic added in August.
 
  So where is the "database" list?
 
  -ns
 
 
  -Original Message-
  From: Nahum Wild [EMAIL PROTECTED]
  To: Multiple recipients of list delphi [EMAIL PROTECTED]
  Date: Wednesday, October 18, 2000 10:12
  Subject: [DUG]: Database questions in general list
 
 
  Trying not to sound like a party pooper here but - could we
  please keep the
  database questions to the database list where they are ment to be posted
  rather than this one.  :)
 
  Thanks.
 
 
  Nahum Wild
  Game Designer
  Realism Ltd
 
 
  Pre-Register now for the ESDAO beta test!
  http://www.esdao.net
 
  Also the official home of the FatFree Browser
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"
 
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: Database questions in general list

2000-10-17 Thread Nahum Wild

Trying not to sound like a party pooper here but - could we please keep the
database questions to the database list where they are ment to be posted
rather than this one.  :)

Thanks.


Nahum Wild
Game Designer
Realism Ltd


Pre-Register now for the ESDAO beta test!
http://www.esdao.net

Also the official home of the FatFree Browser

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Lost postings

2000-09-20 Thread Nahum Wild

Its more than a feeling.  I know that I havn't been getting all messages.  I
sometimes miss out on complete threads while getting other messages that
occur at the same time.  Extremely weird!  Blame the NSA I say!


Nahum Wild
Game Designer
Realism Ltd


Pre-Register now for the ESDAO beta test!
http://www.esdao.net

Also the official home of the FatFree Browser


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Neven MacEwan
 Sent: Thursday, September 21, 2000 17:18
 To: Multiple recipients of list delphi
 Subject: [DUG]: Lost postings


 Hi all

 Has anyone elso got the feeling that they aren't getting all the postings

 Regards Neven
 N.K. MacEwan B.E. EE
 Ph 649 574 0027
 Fax 649 570 2706
 Mobile 025 749 062
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: RE: [DUG]: Sending and Recieving E-Mail.

2000-09-18 Thread Nahum Wild

Ditto.  Also if you are sending binary data UUEncode it.  Better safe than
sorry. :)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Tuesday, September 19, 2000 23:23
 To: Multiple recipients of list delphi
 Subject: RE: RE: [DUG]: Sending and Recieving E-Mail.


 yip I would agree with that. I recommend IMS too.

 Jeremy Coulter




 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: TWebBrowser

2000-09-12 Thread Nahum Wild

Any type of copy command does not work.  I event tried sending a WM_COPY
message to it, but to no success. :(

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Peter Hyde
 Sent: Tuesday, September 12, 2000 19:24
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: TWebBrowser


 Nahum wrote:

  webpages that it shows.  Its most annoying.  It completely ignores my
  control+C key press.

  Has anybody encountered this problem and if so did they solve it??

 Tried Ctrl-INS, in case that works? Should, in some cases where
 CTRL-C isn't explicitly defined...


 cheers,
 peter

 
 Peter Hyde, WebCentre Ltd  SPIS Ltd, Christchurch, New Zealand
 * Web automation for online periodicals: http://TurboPress.com
 * TurboNote+: http://TurboPress.com/tbnote.htm
   -- easy, small, handy onscreen sticky notes
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: RE: [DUG]: Mousecoords

2000-09-12 Thread Nahum Wild

There is a mouse system variable - look up 'Mouse variable' in the help

TMouse.CursorPos : TPoint;

Mouse.CursorPos.X
Mouse.CursorPos.Y


Hope thats what you are after.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, September 14, 2000 1:56
 To: Multiple recipients of list delphi
 Subject: RE: RE: [DUG]: Mousecoords


 yeah, but this is the Row and the Col I want the POINT where the mouse is.

 Jeremy




 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: TWebBrowser

2000-09-12 Thread Nahum Wild

Well, All I needed to do was add this (below) to my main pas.

initialization
  OleInitialize(nil);

finalization
  OleUninitialize;


Thanks for the pointer to the
http://members.home.com/hfournier/webbrowser.htm#bugs1 site Patrick.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nahum Wild
 Sent: Wednesday, September 13, 2000 14:12
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: TWebBrowser


 Cool, thanks!!  Sounds like a typical MS thing - remove a
 behaviour and call
 it a feature.

 I'll give it a try and let you know.


 Cheers,

 Nahum Wild
 Game Designer
 Realism Ltd


 Pre-Register now for the ESDAO beta test!
 http://www.esdao.net


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Patrick Dunford
  Sent: Wednesday, September 13, 2000 8:08
  To: Multiple recipients of list delphi
  Subject: RE: [DUG]: TWebBrowser
 
 
  http://members.home.com/hfournier/webbrowser.htm#bugs1
 
  Q: ShortCut (Ctrl-C, Ctrl-O, etc.) and Delete keys have no
 effect. What's
  the problem?
 
  A: It's not a bug, it's a feature. There's information about this in a
  Microsoft KnowledgeBase article Q168777. The code below should fix the
  problem:
 
  This answer comes to you from the MERS search engine.
  http://www.mers.com/searchsite.html
  ...
 
  var
Form1: TForm1;
FOleInPlaceActiveObject: IOleInPlaceActiveObject;
SaveMessageHandler: TMessageEvent;
 
  ...
 
  implementation
 
  ...
 
  procedure TForm1.FormActivate(Sender: TObject);
  begin
SaveMessageHandler := Application.OnMessage;
Application.OnMessage := MyMessageHandler;
  end;
 
  procedure TForm1.FormDeactivate(Sender: TObject);
  begin
Application.OnMessage := SaveMessageHandler;
  end;
 
  procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
  begin
Application.OnMessage := SaveMessageHandler;
FOleInPlaceActiveObject := nil;
  end;
 
  procedure TForm1.MyMessageHandler(var Msg: TMsg; var Handled: Boolean);
  var
iOIPAO: IOleInPlaceActiveObject;
Dispatch: IDispatch;
  begin
{ exit if we don't get back a webbrowser object }
if WebBrowser = nil then
begin
  Handled := False;
  Exit;
end;
 
Handled:=(IsDialogMessage(WebBrowser.Handle, Msg) = True);
 
if (Handled) and (not WebBrowser.Busy) then
begin
  if FOleInPlaceActiveObject = nil then
  begin
Dispatch := WebBrowser.Application;
if Dispatch  nil then
begin
  Dispatch.QueryInterface(IOleInPlaceActiveObject, iOIPAO);
  if iOIPAO  nil then
FOleInPlaceActiveObject := iOIPAO;
end;
  end;
 
  if FOleInPlaceActiveObject  nil then
if ((Msg.message = WM_KEYDOWN) or (Msg.message = WM_KEYUP)) and
   ((Msg.wParam = VK_BACK) or (Msg.wParam = VK_LEFT) or
  (Msg.wParam =
  VK_RIGHT)) then
  //nothing - do not pass on Backspace, Left or Right arrows
else
  FOleInPlaceActiveObject.TranslateAccelerator(Msg);
end;
  end;
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
   Behalf Of Nahum Wild
   Sent: Wednesday, 13 September 2000 01:18
   To: Multiple recipients of list delphi
   Subject: RE: [DUG]: TWebBrowser
  
  
   Any type of copy command does not work.  I event tried
 sending a WM_COPY
   message to it, but to no success. :(
  
-Original Message-
From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
Behalf Of Peter Hyde
Sent: Tuesday, September 12, 2000 19:24
To: Multiple recipients of list delphi
Subject: Re: [DUG]: TWebBrowser
   
   
Nahum wrote:
   
 webpages that it shows.  Its most annoying.  It completely
  ignores my
 control+C key press.
   
 Has anybody encountered this problem and if so did they solve it??
   
Tried Ctrl-INS, in case that works? Should, in some cases where
CTRL-C isn't explicitly defined...
   
   
cheers,
peter
   

Peter Hyde, WebCentre Ltd  SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- easy, small, handy onscreen sticky notes
--
-
New Zealand Delphi Users group - Delphi List -
  [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
   
   
  
   --
   -
   New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
   To UnSub, send email to: [EMAIL PROTECTED]
   with body of "uns

RE: RE: [DUG]: Mousecoords

2000-09-12 Thread Nahum Wild

I have no idea how long its been there.  I have been using it since Monday.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Wednesday, September 13, 2000 15:51
 To: Multiple recipients of list delphi
 Subject: RE: RE: [DUG]: Mousecoords


 On Wed, 13 Sep 2000, Nahum Wild wrote:

  TMouse.CursorPos : TPoint;
  Mouse.CursorPos.X
  Mouse.CursorPos.Y

 I always use GetCursorPos, when did TMouse come in?  Or has it always been
 there and I'm just blind?

 (most likely the latter).

 --
 "We don't guarantee anything except that it will take up disk space..."
   Apache 2.0alpha5 Disclaimer

 Now Playing: no audio cd present

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



[DUG]: TWebBrowser

2000-09-11 Thread Nahum Wild

Anybody used the TWebBrowser VCL component from under the 'Internet' tab?
(Delphi 5 Pro)  I've tried using it and can't copy any text form any
webpages that it shows.  Its most annoying.  It completely ignores my
control+C key press.

Has anybody encountered this problem and if so did they solve it??


Thanks,




Nahum Wild
Game Designer
Realism Ltd


Pre-Register now for the ESDAO beta test!
http://www.esdao.net

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Multiple Inheritance?

2000-09-01 Thread Nahum Wild

If I understand the dilemma correctly an interface could be used, as per the
example code below.  They key to it is the implements directive. (look up
the "implements, interfaces" in the delphi help.  Its only available in D4
inwards though.)

-

ISharedCode = interface(IUnknown)
  [GUID]
  function DoSomething : integer;
end;

TSharedCode = class(TInterfacedObject, ISharedCode)
public
  function DoSomething : integer;
end;

TSomeOtherClass = class(TComponent, iSharedCode)
private
  fSharedCode : ISharedCode;
public
  constructor Create(AOwner: TComponent); override;

  property SharedCode : ISharedCode read fSharedCode impliments ISharedCode;

end;

function TSharedCode.DoSomething : integer;
begin
// does something
end;

constructor TSomeOtherClass.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);

  fSharedCode := TSharedCode.Create;
end;

-

This means that you can call the following - ASomeOtherClass.DoSomething -
which calls the appropriate method from the instance of TSharedCode within
the TSomeOtherClass instance directly without having to have stub methods.

NOTE:  This is how I believe it works, I've not had a situation where I've
had to use it yet.  After reading the help I believe that the above code
should work.


Hope that helps.

Nahum Wild
Game Designer
Realism Ltd

Pre-Register now for the ESDAO beta test!
http://www.esdao.net


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mike Mueller
 Sent: Saturday, September 02, 2000 14:20
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Multiple Inheritance?


 You can't have multiple inheritance in Delphi (or Java).  You can in some
 types of C++.  You *can* have interfaces but that doesn't solve your
 problem.  The reason they don't put it in is because of worry about what
 happens when ancestor methods 'collide' etc..

 I suggest creating a TSharedCode in each of your other objects but rather
 than put stub/proxy methods in, access the methods via a public read-only
 reference to TSharedCode

 ie.

 TComponent1 = class (TQuery)
 private
   FSharedCode : TSharedCode;
 public
   property SharedCode : TSharedCode read FSharedCode;
 ... (create/destroy it of course)

 and then call the functions with

 some TComponent1Object.SharedCode.SomeFunction

 Mike "gonna stick with the SQL kludge" Mueller

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Mark Derricutt
  Sent: Sunday, 3 September 2000 12:39
  To: Multiple recipients of list delphi
  Subject: [DUG]: Multiple Inheritance?
 
 
  'lo, question for the masses...
 
  I have a group of components that all share a common logic, but
 due to the
  nature of the components, I can't put that common logic in a
 masterclass,
  at the moment I have:
 
  type
TSharedCode = class(TObject)
TComponent1 = class(TQuery)
TComponent2 = class(TADOQuery)
TComponent3 = class(TSomeMemoryTableComponent)
 
  TSharedCode has a selection of methods and properties that do the actual
  grunt code, TComponent1/2/3 create an instance of TSharedCode in their
  constructor, and have stub/proxy methods defined, so I have:
 
  procedure TSharedCode.SomeFunction;
  begin
// do stuff
  end;
 
  procedure TComponent1.SomeFunction; // this is repeated for
 each component
  begin
SharedObject.SomeFunction;
  end;
 
  This makes for some messy code, having all these little stub
 functions, so
  was wondering if I could use multiple inheritance for this?  like:
 
  type
TComponent1 = class(TQuery, TSharedCode);
 
  This way, if I add functionality to TSharedCode, its instantly available
  to the other classes without adding new stub functions everywhere.
 
  If I had windows/delphi here at home I'd prolly load it up and
 try it, but
  alas no.
 
  Mark
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
  To UnSub, send email to: [EMAIL PROTECTED]
  with body of "unsubscribe delphi"

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 To UnSub, send email to: [EMAIL PROTECTED]
 with body of "unsubscribe delphi"



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"



RE: [DUG]: Running D4 Professional on Win2000

2000-08-24 Thread Nahum Wild

Only one problem, and it seems to apply to both D4  D5.  When specify the
icon that your application uses under project options don't choose one that
has greater than 256 colors in it.  Custom palettes are ok.  When I
specified a high color icon and ran my app it kept breaking, as in break
point, in NTDLL.DLL extremely often and for no apparent reason.  Basicly I
had to turn debuging off!




Nahum Wild
Game Designer
Realism Ltd

Pre-Register now for the ESDAO beta test!
http://www.esdao.net

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Myles Penlington
 Sent: Thursday, August 24, 2000 15:15
 To: Multiple recipients of list delphi
 Subject: [DUG]: Running D4 Professional on Win2000


 Has anybody done this okay??

 One of our developers is changing machines, and IT want to
 install Win2000 -
 has anybody run in this configuration? Problems?

 Regards,

 Myles Penlington
 Software Engineer
 Advanced Management Systems Ltd
 DDI 4885514



 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: GP Version

2000-07-19 Thread Nahum Wild

Was the pun intended??

I have not heard of and as a result not used the Araxi Merge 2000 software
so I can't comment.


Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Wednesday, July 19, 2000 18:57
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: GP Version


 On Wed, 19 Jul 2000, Nahum Wild wrote:

  And something I forgot to mention is whatever version control
 software you
  get/use, go buy 'Beyond Compare' from http://www.scootersoftware.com and
  link it in as the difference tool.  This file compare util
 rocks and easily
  lives up to its name.

 I'm currently using Araxi Merge 2000 which is absolutely fabulous, how
 does it compare?

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: GP Version

2000-07-19 Thread Nahum Wild

Wow thats expensive.  Beyond Compare was so cheap that I never paid much
attention to the price and so don't remember it.

I think Beyond Compare recgonises dfm files, which is not so important now
with D5 and txt dfms, but good for legacy code.  There are third party
plugins that give support to comma delimited text, hex/binary etc...  Very
handy product.  Oh and the UI is very good/handy/intuitive which is always
important.

They even have pictures of scooters on their website :)


Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Wednesday, July 19, 2000 19:26
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: GP Version


 On Wed, 19 Jul 2000, Nahum Wild wrote:

  Was the pun intended??

 Yes :-)

  I have not heard of and as a result not used the Araxi Merge
 2000 software
  so I can't comment.

 Araxis is really nice, at the click of a button you can merge the
 differences from one file to another, do directory wide diffs as well,
 which is handy.  It's only probably is its something like $300 for a
 single user license :(

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: GP Version

2000-07-18 Thread Nahum Wild

It is good and not very expensive when compared to something like VSS or
whatever Rational have to offer.

There are a couple of UI enhancements that are needed to make using it a lot
less clicky, but apart from that its pretty good.  The generic bug and
feature trackers that come with it are handy.


Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Mark Derricutt
 Sent: Wednesday, July 19, 2000 14:41
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: GP Version


 On Wed, 19 Jul 2000, Peter G Jones wrote:

  We are about to purchase GP Version.  Anyone out there using it ?
  Any comments?  Good/bad/otherwise?

 It looks good, pity about the cost thou :(  I'm using CVS myself.

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: GP Version

2000-07-18 Thread Nahum Wild

And something I forgot to mention is whatever version control software you
get/use, go buy 'Beyond Compare' from http://www.scootersoftware.com and
link it in as the difference tool.  This file compare util rocks and easily
lives up to its name.

Nahum

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nahum Wild
 Sent: Wednesday, July 19, 2000 16:15
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: GP Version


 It is good and not very expensive when compared to something like VSS or
 whatever Rational have to offer.

 There are a couple of UI enhancements that are needed to make
 using it a lot
 less clicky, but apart from that its pretty good.  The generic bug and
 feature trackers that come with it are handy.


 Nahum

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Mark Derricutt
  Sent: Wednesday, July 19, 2000 14:41
  To: Multiple recipients of list delphi
  Subject: Re: [DUG]: GP Version
 
 
  On Wed, 19 Jul 2000, Peter G Jones wrote:
 
   We are about to purchase GP Version.  Anyone out there using it ?
   Any comments?  Good/bad/otherwise?
 
  It looks good, pity about the cost thou :(  I'm using CVS myself.
 
  --
  -
  New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
 
 

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Enter as Tab

2000-07-07 Thread Nahum Wild



I 
*think* that the delphi super page has a component that does it. Just 
plonk it on the form type thing



Nahum WildGame Designerrealism.net.nz 


  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Neven 
  MacEwanSent: Saturday, July 08, 2000 10:36To: Multiple 
  recipients of list delphiSubject: [DUG]: Enter as 
  Tab
  Hiya All
  
  I've had a client ask me to treat enter as Tab 
  (yes that again)
  
  Can anyone give me a few pointers
  
  1/ How to do it
  2/ pitfalls
  
  TIA
  Neven


RE: [DUG]: Remove the cursor

2000-07-04 Thread Nahum Wild

Use 'crNone' instead of a magic number :)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, July 05, 2000 12:56
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Remove the cursor
 
 
 
 
 ShowCursor(False)
 
 or
 
 Screen.Cursor := -1;
 
 JED
 
  How can I temporly remove the cursor?
 
  Proberly simple to do but I can't find a way to do it anywhere.
 
  James
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Deferenced nil pointers AV

2000-06-25 Thread Nahum Wild

Try trapping EAccessViolation.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Sunday, June 25, 2000 14:29
 To: Multiple recipients of list delphi
 Subject: [DUG]: Deferenced nil pointers AV
 
 
 Is someone in a position to know about the type of message that Delphi 
 generates when you deference a nil pointer.
 
 It used to be that you knew because the address given was 
 . But these 
 days the address seems to be much closer to 0.
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Delphi + Model Maker

2000-06-15 Thread Nahum Wild

http://www.delphicase.com/

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Donovan J. Edye
 Sent: Thursday, June 15, 2000 17:24
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: Delphi + Model Maker
 
 
 N,
 
 Can I have a URL?
 
 
 --Donovan
 Donovan J. Edye [www.edye.wattle.id.au]
 Namadgi Systems, Delphi Developer
 Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
 Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
 TVisualBasic = Class(None);
 GExplorer [http://www.gexperts.com/gxexplorer/] Freeware Windows Explorer
 replacement. Also includes freeware delphi windows explorer components.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nahum Wild
 Sent: Thursday, 15 June 2000 13:21
 To: Multiple recipients of list delphi
 Subject: [DUG]: Delphi + Model Maker
 
 
 Does anybody use Delphi 5 with the Model Maker 5?  If so is it any good?
 Anything about it would be helpful - integration with Delphi 
 problems, cool
 things, annoying things/behaviour, stability etc...
 
 
 Thanks in advance,
 
 Nahum Wild
 Game Designer
 realism.net.nz
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Delphi + Model Maker

2000-06-14 Thread Nahum Wild

Does anybody use Delphi 5 with the Model Maker 5?  If so is it any good?
Anything about it would be helpful - integration with Delphi problems, cool
things, annoying things/behaviour, stability etc...


Thanks in advance,

Nahum Wild
Game Designer
realism.net.nz

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Delphi + Model Maker

2000-06-14 Thread Nahum Wild

Wow, that helps heaps.  Thanks!!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, June 15, 2000 16:19
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Delphi + Model Maker




 I use it all the time. It is where I start whenever I need to
 build something.
 The only time I go into Delphi now is for Building forms and for
 implementing
 the bodies of methods.

 Good Things:
 Tight integration with Delphi. I've only once had anything go
 wrong with keeping
 the source and the model in sync and that was an error on my part
 and easy to
 fix.
 Open Architecture for creating plugins (I've done three now -
 they're quite
 easy)
 Supports Class, Sequence Diagrams, Unit Dependency Diagrams, and
 (comming soon)
 State Diagrams
 Mailing list which is read and contributed to by the MM5 developer
 Parameterised Code templates
 Implements Patterns on your classes at the click of a button
 Continually being maintained and improved based upon discussion
 in the mailing
 list
 Unit Difference Tool!
 Documentation for most things.
 It is CHEEP compared to other design tools.

 Bad Things:
 Can't export to anything except Windows Meta Files
 Can't handle overloading
 Can't handle conditional defines
 Doesn't know about IDL
 Documentation for writing plugin experts is a little on the
 sparse side (but
 examples are provided)
 I don't get to use CodeRush as often as I used to.

 Stability:
 I've not had any major problems with it. The occassional small
 bug (as with any
 software) but certainly stable.

 I've used Rose and the Delphi Link for Rose and they are painful
 compared with
 MM5. If you've ever used TogetherJ, then that is what it is like as far as
 having the code and the model grow together.

 Hope that helps,

 Phil.





 "Nahum Wild" [EMAIL PROTECTED] on 15/06/2000 15:20:52

 Please respond to [EMAIL PROTECTED]

 To:   Multiple recipients of list delphi [EMAIL PROTECTED]
 cc:(bcc: Phillip Middlemiss/NZ Forest Research Institute/NZ)

 Subject:  [DUG]:  Delphi + Model Maker



 Does anybody use Delphi 5 with the Model Maker 5?  If so is it any good?
 Anything about it would be helpful - integration with Delphi
 problems, cool
 things, annoying things/behaviour, stability etc...


 Thanks in advance,

 Nahum Wild
 Game Designer
 realism.net.nz

 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz






 --
 -
 New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz



---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Bitmaps

2000-05-24 Thread Nahum Wild

Alot can be done with TCanvas or the VCL component TPaintBox.  They are
worth looking at if you want to do it your self.

Nahum

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Tony Sinclair
Sent: Thursday, May 25, 2000 9:11
To: Multiple recipients of list delphi
Subject: [DUG]: Bitmaps


Hi all,

has anyone ever done anything with creating bitmaps from scratch and saving
them to disk?  I am not interested at this stage in printing them.  I
suppose the answer I'll get is to buy something like LeadTools :-)  Does
anyone have any website suggestions?

Tony Sinclair
Holliday Group Limited
Christchurch
New Zealand

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz


---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Loading forms from dynamic DLL's and enbedding them

2000-05-11 Thread Nahum Wild

I think that I have experienced similiar behaviour when doing this, but not
from a DLL though.  My problem was 
that the form to be imbeded in the panel was initially bigger than the panel
it was to go on.  For same bizzar reason the aligning of the form did not
work properly and I got the visual behaviour that you discribe.  I made the
form smaller than the panel at design time and that fixed it.  The version
of Delphi that I was using at the time may also have been a factor.


Nahum



 -Original Message-
 From: Peter G Jones [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, 13 May 2000 02:07
 To: Multiple recipients of list delphi
 Subject: [DUG]: Loading forms from dynamic DLL's and enbedding them
 
 
 There's a virtual chocolate fish available to the person who 
 can solve this 
 one.
 
 I have a DLL that includes a form that I want to display 
 embedded into a 
 shell application.  The DLL is dynamically loaded by the 
 shell which then 
 calls a startup procedure that is exported by the DLL.  To 
 the startup 
 procedure it passes a TPanel.
 
 When the embedded form draws itself inside the panel, it 
 get's confused 
 about it's size and the bottom and right of the form is lost 
 outside of the 
 containing panel.
 
 I have created a small demo app and dll that demonstrates 
 this which I can 
 provide on request.
 
 Has anyone else done this sort of thing succesfully cause 
 this is driving me 
 nuts and I need it fixed, like, last month.
 
 
 __
 __
 Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com

---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Dbf corruption

2000-05-07 Thread Nahum Wild

Wow, that brings back some old memories.  I now remember that I have
encountered this problem before and I ended up writing some code that
changed that byte to something else, if problems were encountered with DBF
files, then reindexing them.

I can't remember which byte or what I changed it too.  But I do remember
that I did it and it worked.



Nahum

 -Original Message-
 From: Simon Mahony [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 8 May 2000 11:23
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: Dbf corruption
 
 
 Does that work the other way, a dbf created by Database Desktop not
 openable
 in Access as I think I have seen that before?  I will check 
 whether it was
 created in Foxpro but the app is a DOS one, did Foxpro for 3.1 exist?
 
 Foxpro has been around since the days of DOS 3.3 (or 
 thereabouts - ie: pre
 Windows) so it could easily be an old version.
 
 The DBase header record has a single byte in it (somewhere in 
 the first few
 bytes from memory) which indicates the application which 
 created it and the
 version. This causes no end of problems because few of the 
 applications that
 read these files are prepared to accept more than one or two of these
 varients even though there's no difference between the dbf 
 file structures
 themselves. Almost all the variations in the Dbase system 
 revolve around
 index and memo files, both of which are external to the dbf 
 file. For some
 reason however, the creators of other DB products make a 
 point of rejecting
 dbf's that have indexes they can't read instead of saying 
 "sure, we can read
 your data, but we'll have to create our own index for it - Ok 
 ?" (which is
 about all the problem boils down to).  The BDE won't read 
 dbfs created in
 Clipper for example, but it (and everything else) will hapily 
 read dbfs
 written in Dbase 3. And in almost every case, the difference 
 is a single
 byte in the file header. Go figure.
 
 If you get really stuck, I have all the file structure stuff 
 in a couple of
 books at home.
 
 Simon Mahony,
 MetService.
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: BorCon Tutorials Revisited

2000-05-03 Thread Nahum Wild

The second one looks interesting, what about getting access to the course
notes or something? or can someone point to a really good place on the net.


Thanks,

Nahum

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 3 May 2000 17:20
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: BorCon Tutorials Revisited
 
 
 Whay about it?
 
 
 Seriously, sorry, no Christchurch this time - only Auckland 
 and Wellington.
 
 N
 
 --
 Nic Wise - 021.676.418 / [EMAIL PROTECTED] / 
 Inprise/Borland New Zealand
 Is it not a foolish man, said little Woo, who keeps all his 
 chickens in his
 trousers?
 For at best, will he not suffocate his chickens, and, and 
 worst, will he not
 disappoint the ladies in the village?  --Alexi Sayle
 
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Nahum Wild
  Sent: Wednesday, 3 May 2000 16:41
  To: Multiple recipients of list delphi
  Subject: RE: [DUG]: BorCon Tutorials Revisited
 
 
  What about in Christchurch?
 
   -Original Message-
   From: Nic Wise [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, 3 May 2000 15:41
   To: Multiple recipients of list delphi
   Subject: [DUG]: BorCon Tutorials Revisited
  
  
  
   [forwarded/paraphrased from Alice [EMAIL PROTECTED]]
  
   Just thought I would send you a quick update on our 
 upcoming Borland
   Conferences in Wellington and Auckland this month!
  
   The conference includes two tutorials which may be of
   interest to you: "J
   Builder  Java for Delphi Developers" and "Web Developement
   for Delphi and
   C++ Builder Developers".
  
   Below are the full details for the conference:
  
   BORLAND CONFERENCE - BorCon Tutorials Revisited
   ===
   Following the huge success at last year's Borland Conference
   Australia  New
   Zealand, Inprise New Zealand will be running a series of
   seminars covering
   the most popular tutorials from BorCon '99.  Following are
   details on the
   hot topics to be covered...
  
   JBUILDER  JAVA FOR DELPHI DEVELOPERS:
   ===
   Presenter: Richard Vowles, Inprise New Zealand
   Prerequisites: This session assumes an intermediate level of
   Delphi skills
   This tutorial will introduce the Java language, environment
   and the JBuilder
   IDE from the perspective of a Delphi developer.  The focus of
   the session
   will be to introduce attendees to the skills they'll need to
   get productive
   in Java.  This will be achieved by comparing, where
   appropriate, Delphi
   implementations of problems to Java implementations.  Amongst
   some of the
   topics covered will be:
  
   + the Java environment - classpaths, jar files and more
   + files used in the Java environment
   + the JBuilder IDE "working with classes and objects
   + common Java language constructs
   + exception handling
   + container classes
   + database connectivity
   + GUI creation
   + Javabeans
   + and more!
  
   WEB DEVELOPEMENT WITH DELPHI  C++ BUILDER:
   ===
   Presenter: Nic Wise, Inprise New Zealand
   Prerequisites: Basic knowledge of Delphi/Object Pascal.
   This tutorial discusses the various Web development options
   available to
   Delphi and C++ Builder developers.  Following a brief
   introduction to Web
   Development, we will compare
   + ActiveForms,
   + ASP Objects,
   + the WebBroker Architecture,
   + and the Internet Express technology new in Delphi 5.
  
   Practical, working examples will be included.
  
   THE AGENDA:
   07.30am - 08.00am - Registration for JBuilder and Java for
   Delphi Developers
   08.00am - 10.00am - JBuilder an Java for Delphi Developers Part I
   10.00am - 10.15am - Morning tea
   10.15am - 12 noon - JBuilder and Java for Delphi 
 Developers Part II
   12 noon - 01.00pm - Lunch for all attendees
   12.30pm - 01.00pm - Registration for Web Development with 
 Delphi  C++
   Builder
   01.00pm - 03.00pm - Web Development with Delphi  C++ 
 Builder Part I
   03.00pm - 03.15pm - Afternoon tea
   03.15pm - 05.00pm - Web Development with Delphi  C++ 
 Builder Part II
   DATES  LOCATIONS:
  
   Wellington
   Tuesday 09 May 2000
   Plaza International Hotel
   148 - 176 Wakefield Street
  
   Auckland
   Thursday 11 May 2000
   Carlton Hotel
   Corner Mayoral Drive  Vincent Street
  
   1 Tutorial Only NZ$299 + GST!
   2 Tutorials Only NZ$499 + GST!
  
   REGISTRATION:
   Register your place now!
   Website:  www.borland.co.nz/borcon99/
   Phone:(09) 360 0231
  
   If you have any queries or you require any further 
 assistance you can
   contact Alice Kennedy at our office on (09) 360 0231 
 extn: 232, or via
   email: [EMAIL PROTECTED]
  
   I'm sure she will be happy to help in any way she can.
  
   Hope to see you there!
  
   Nic.
   --
   Nic Wise - 021.676.418 / [EMAIL PROTECTED] /
   Inprise/Borland New Zeala

RE: [DUG]: BorCon Tutorials Revisited

2000-05-03 Thread Nahum Wild

Cool, thanks.

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 4 May 2000 09:12
 To: Multiple recipients of list delphi
 Subject: RE: [DUG]: BorCon Tutorials Revisited
 
 
 Thats kinda he idea of coming and paying :).
 
 (Of course, if your in Christchurch, or rather, not in AK or 
 WLG, then it
 would be a little difficult to do. I'll talk to Annie and see 
 what she has
 to say)
 
 N
 
 --
 Nic Wise - 021.676.418 / [EMAIL PROTECTED] / 
 Inprise/Borland New Zealand
 Is it not a foolish man, said little Woo, who keeps all his 
 chickens in his
 trousers?
 For at best, will he not suffocate his chickens, and, and 
 worst, will he not
 disappoint the ladies in the village?  --Alexi Sayle
 
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
  Behalf Of Nahum Wild
  Sent: Thursday, 4 May 2000 08:47
  To: Multiple recipients of list delphi
  Subject: RE: [DUG]: BorCon Tutorials Revisited
 
 
  The second one looks interesting, what about getting access 
 to the course
  notes or something? or can someone point to a really good place
  on the net.
 
 
  Thanks,
 
  Nahum
 
   -Original Message-
   From: Nic Wise [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, 3 May 2000 17:20
   To: Multiple recipients of list delphi
   Subject: RE: [DUG]: BorCon Tutorials Revisited
  
  
   Whay about it?
  
  
   Seriously, sorry, no Christchurch this time - only Auckland
   and Wellington.
  
   N
  
   --
   Nic Wise - 021.676.418 / [EMAIL PROTECTED] /
   Inprise/Borland New Zealand
   Is it not a foolish man, said little Woo, who keeps all his
   chickens in his
   trousers?
   For at best, will he not suffocate his chickens, and, and
   worst, will he not
   disappoint the ladies in the village?  --Alexi Sayle
  
  
  
  
  
-Original Message-
From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On
Behalf Of Nahum Wild
Sent: Wednesday, 3 May 2000 16:41
To: Multiple recipients of list delphi
Subject: RE: [DUG]: BorCon Tutorials Revisited
   
   
What about in Christchurch?
   
 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 3 May 2000 15:41
 To: Multiple recipients of list delphi
 Subject: [DUG]: BorCon Tutorials Revisited



 [forwarded/paraphrased from Alice [EMAIL PROTECTED]]

 Just thought I would send you a quick update on our
   upcoming Borland
 Conferences in Wellington and Auckland this month!

 The conference includes two tutorials which may be of
 interest to you: "J
 Builder  Java for Delphi Developers" and "Web Developement
 for Delphi and
 C++ Builder Developers".

 Below are the full details for the conference:

 BORLAND CONFERENCE - BorCon Tutorials Revisited
 ===
 Following the huge success at last year's Borland Conference
 Australia  New
 Zealand, Inprise New Zealand will be running a series of
 seminars covering
 the most popular tutorials from BorCon '99.  Following are
 details on the
 hot topics to be covered...

 JBUILDER  JAVA FOR DELPHI DEVELOPERS:
 ===
 Presenter: Richard Vowles, Inprise New Zealand
 Prerequisites: This session assumes an intermediate level of
 Delphi skills
 This tutorial will introduce the Java language, environment
 and the JBuilder
 IDE from the perspective of a Delphi developer.  The focus of
 the session
 will be to introduce attendees to the skills they'll need to
 get productive
 in Java.  This will be achieved by comparing, where
 appropriate, Delphi
 implementations of problems to Java implementations.  Amongst
 some of the
 topics covered will be:

 + the Java environment - classpaths, jar files and more
 + files used in the Java environment
 + the JBuilder IDE "working with classes and objects
 + common Java language constructs
 + exception handling
 + container classes
 + database connectivity
 + GUI creation
 + Javabeans
 + and more!

 WEB DEVELOPEMENT WITH DELPHI  C++ BUILDER:
 ===
 Presenter: Nic Wise, Inprise New Zealand
 Prerequisites: Basic knowledge of Delphi/Object Pascal.
 This tutorial discusses the various Web development options
 available to
 Delphi and C++ Builder developers.  Following a brief
 introduction to Web
 Development, we will compare
 + ActiveForms,
 + ASP Objects,
 + the WebBroker Architecture,
 + and the Internet Express technology new in Delphi 5.

 Practical, working examples will be included.

 THE AGENDA:
 07.30am - 08.00am - Registration for JBuilder and Java for
 Delphi Developers
 08.00am - 10.00am - JBuilder an Jav

RE: [DUG]: BorCon Tutorials Revisited

2000-05-02 Thread Nahum Wild

What about in Christchurch?

 -Original Message-
 From: Nic Wise [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 3 May 2000 15:41
 To: Multiple recipients of list delphi
 Subject: [DUG]: BorCon Tutorials Revisited
 
 
 
 [forwarded/paraphrased from Alice [EMAIL PROTECTED]]
 
 Just thought I would send you a quick update on our upcoming Borland
 Conferences in Wellington and Auckland this month!
 
 The conference includes two tutorials which may be of 
 interest to you: "J
 Builder  Java for Delphi Developers" and "Web Developement 
 for Delphi and
 C++ Builder Developers".
 
 Below are the full details for the conference:
 
 BORLAND CONFERENCE - BorCon Tutorials Revisited
 ===
 Following the huge success at last year's Borland Conference 
 Australia  New
 Zealand, Inprise New Zealand will be running a series of 
 seminars covering
 the most popular tutorials from BorCon '99.  Following are 
 details on the
 hot topics to be covered...
 
 JBUILDER  JAVA FOR DELPHI DEVELOPERS:
 ===
 Presenter: Richard Vowles, Inprise New Zealand
 Prerequisites: This session assumes an intermediate level of 
 Delphi skills
 This tutorial will introduce the Java language, environment 
 and the JBuilder
 IDE from the perspective of a Delphi developer.  The focus of 
 the session
 will be to introduce attendees to the skills they'll need to 
 get productive
 in Java.  This will be achieved by comparing, where 
 appropriate, Delphi
 implementations of problems to Java implementations.  Amongst 
 some of the
 topics covered will be:
 
 + the Java environment - classpaths, jar files and more
 + files used in the Java environment
 + the JBuilder IDE "working with classes and objects
 + common Java language constructs
 + exception handling
 + container classes
 + database connectivity
 + GUI creation
 + Javabeans
 + and more!
 
 WEB DEVELOPEMENT WITH DELPHI  C++ BUILDER:
 ===
 Presenter: Nic Wise, Inprise New Zealand
 Prerequisites: Basic knowledge of Delphi/Object Pascal.
 This tutorial discusses the various Web development options 
 available to
 Delphi and C++ Builder developers.  Following a brief 
 introduction to Web
 Development, we will compare
 + ActiveForms,
 + ASP Objects,
 + the WebBroker Architecture,
 + and the Internet Express technology new in Delphi 5.
 
 Practical, working examples will be included.
 
 THE AGENDA:
 07.30am - 08.00am - Registration for JBuilder and Java for 
 Delphi Developers
 08.00am - 10.00am - JBuilder an Java for Delphi Developers Part I
 10.00am - 10.15am - Morning tea
 10.15am - 12 noon - JBuilder and Java for Delphi Developers Part II
 12 noon - 01.00pm - Lunch for all attendees
 12.30pm - 01.00pm - Registration for Web Development with Delphi  C++
 Builder
 01.00pm - 03.00pm - Web Development with Delphi  C++ Builder Part I
 03.00pm - 03.15pm - Afternoon tea
 03.15pm - 05.00pm - Web Development with Delphi  C++ Builder Part II
 DATES  LOCATIONS:
 
 Wellington
 Tuesday 09 May 2000
 Plaza International Hotel
 148 - 176 Wakefield Street
 
 Auckland
 Thursday 11 May 2000
 Carlton Hotel
 Corner Mayoral Drive  Vincent Street
 
 1 Tutorial Only NZ$299 + GST!
 2 Tutorials Only NZ$499 + GST!
 
 REGISTRATION:
 Register your place now!
 Website:  www.borland.co.nz/borcon99/
 Phone:(09) 360 0231
 
 If you have any queries or you require any further assistance you can
 contact Alice Kennedy at our office on (09) 360 0231 extn: 232, or via
 email: [EMAIL PROTECTED]
 
 I'm sure she will be happy to help in any way she can.
 
 Hope to see you there!
 
 Nic.
 --
 Nic Wise - 021.676.418 / [EMAIL PROTECTED] / 
 Inprise/Borland New Zealand
 Is it not a foolish man, said little Woo, who keeps all his 
 chickens in his
 trousers?
 For at best, will he not suffocate his chickens, and, and 
 worst, will he not
 disappoint the ladies in the village?  --Alexi Sayle
 
 
 
 
 --
 -
 New Zealand Delphi Users group - Delphi List - 
 [EMAIL PROTECTED]
   Website: http://www.delphi.org.nz
 
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



RE: [DUG]: Interbase problem??

2000-04-17 Thread Nahum Wild

Can this be done programmatically? or does someone actually have to manually
do it?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 18 April 2000 13:18
 To:   Multiple recipients of list delphi
 Subject:  RE: [DUG]:  Interbase problem??
 
 A Backup/Restore rebuilds indexes and updates the statistics. You should
 always do a backup/restore after any large data manipulation.
 
   -Original Message-
   From:   Jeremy Coulter [SMTP:[EMAIL PROTECTED]]
   Sent:   Tuesday, April 18, 2000 9:29 AM
   To: Multiple recipients of list delphi
   Subject:[DUG]:  Interbase problem??
 
   Hi all.
 
   We have a wee utility that will generate 64,000 records and put them
 into
   our interbase db.
   Thats fine. BUT when we doa  select count(id) from TheTable it takes
 ages to
   come back, infact I have been waiting arounf 15mins for the data to
 comback
   as I type this.
   The problem happens on both our server and local servers.
 
   The weired thing is, if we doa backup (via interbase) and restore
 it, its
   fine !
 
   I suspect that our indexing is gettinging out of wack, but we only
 have PK's
   and FK's on the fields.
 
   Has anyone had this issue before, or got any suggestions ??
 
   Cheers, Jeremy Coulter
 
   
 --
 -
   New Zealand Delphi Users group - Delphi List -
 [EMAIL PROTECTED]
 Website: http://www.delphi.org.nz
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



[DUG]: Win2K + D5 problems - SOLVED

2000-04-06 Thread Nahum Wild

I rebuilt the projects and all works fine now.

Thanks to those that helped.



Nahum
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
  Website: http://www.delphi.org.nz



  1   2   >