[DUG]: Help On DataBase

2001-02-19 Thread Richter
I'm developing an Application that confronts two person e their born dates and, to do this, i have two ComboBoxes for the names that i get in a name field's table e to a MaskEdit that receives it's Born Date. I'm doing this : // to put tha names available in the database in the comboboxes

Re: [DUG]: Help On DataBase

2001-02-19 Thread Aaron Scott-Boddendijk
I'm developing an Application that confronts two person e their born dates and, to do this, i have two ComboBoxes for the names that i get in a name field's table e to a MaskEdit that receives it's Born Date. I'm doing this : // to put tha names available in the database in the comboboxes :

Re: [DUG]: Help On DataBase

2001-02-19 Thread Steve Peacocke
At 09:55 am 19/02/01 -0300, Richter said: But what is going wrong The BornDate everytime is the BornDate of the last record. Your problem lies in the fact that the combos only contain strings. These strings are not linked to any table, therefore the table you have is not moving at

[DUG]: Delphi PDF

2001-02-19 Thread Lisandro Rueckert
Hi ! Someone know a component to write PDF documents ? Is it possible ? thanks --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send

Re: [DUG]: Delphi PDF

2001-02-19 Thread [EMAIL PROTECTED]
Hello Lisandro There are several components. One by Amyuni is great for Delphi but its expensive. You could start your evaluation at http://www.pdfzone.com/products/software/toolinfo_create.asp Best wishes Russell - Original Message - From: Lisandro Rueckert [EMAIL PROTECTED] To:

RE: [DUG]: Delphi PDF

2001-02-19 Thread Max Nilson
Lisandro Rueckert asked the assembled: Someone know a component to write PDF documents ? Is it possible ? One component that may be of interest is PasPDF availablew from http://members.nbci.com/tkcham/pdfindex.html but this hasn't been updated for a long sime. It is freeware so its worth

RE: RE: [DUG]: Delphi PDF

2001-02-19 Thread Gary T. Benner
[Reply] There's also WPTOOLS wPDF component at http://www.wptools.com/ kr Gary At 09:08 on 20/02/2001 you wrote To : CC : From: Max Nilson, [EMAIL PROTECTED] Lisandro Rueckert asked the assembled: Someone know a component to write PDF documents ? Is it possible ? One component that

Re: [DUG]: Delphi PDF

2001-02-19 Thread [EMAIL PROTECTED]
Hello again Lisandro A very desireable PDF component is one which behaves like a printer. Any output you would normally send to a printer you can send to the component and instead of getting paper copy you get a PDF file. Some PDF components produce PDF files only in special cases. Your needs

Re: [DUG]: Delphi PDF

2001-02-19 Thread Richter
Take a look for an application called NikNak !!! - Original Message - From: Lisandro Rueckert [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, February 19, 2001 4:52 PM Subject: [DUG]: Delphi PDF Hi ! Someone know a component to write PDF

[DUG]: Deleting records

2001-02-19 Thread John Christenhusz
G'day folks, I want to delete certain records from multiple linked tables. The criteria (defined in sFILTER) is e.g. "ClientType = 2" What I did is, I created the following SQL and delete records in a loop. The thing is, that the loop seems to work quite well, it counts down (indicated by the

[DUG]: OpenThread/TerminateThread function

2001-02-19 Thread Martin Ease
Hi all To all hardened API programmers: Has anyone used the TerminateThread function under WinNT 4.0. It needs a handle with THREAD_TERMINATE access rights. How do I go about retrieving such a handle. I know under W2k I could use OpenThread, however, I can't find any documentation for WinNT

[DUG]: Excel Charts

2001-02-19 Thread Damien Long
I am using Delphi 5 and win 2000. I am trying to create graphs based on data from an excel file. I create the excel file with my RLL and inside that RLL I want to be able to create the excel file. Here is the code I have so far and I can't get it to run, I keep getting OLE errors while running

RE: [DUG]: OpenThread/TerminateThread function

2001-02-19 Thread Carl Reynolds
(quotes are from the WinAPI help) 1/. The Win32 API does not provide a way to get the thread handle from the thread identifier. If the handles were made available this way, the owning process could fail because another process unexpectedly performed an operation on one of its threads, such as

[DUG]: Using a Delphi DLL in VB/VBA

2001-02-19 Thread Stacey Verner
I have a DLL developed by us in Delphi which our clients are using from VB and VBA, and we have problems with a function that has a string result. The Delphi definition is function AddUser(PUserName, PFullName, PGroupName: PChar; PActive: Boolean): PChar; stdcall; which we can access

RE: [DUG]: Using a Delphi DLL in VB/VBA

2001-02-19 Thread Carl Reynolds
Stacey, what size is a VB integer? You probably need to make sure that your "as integer" accesses the same number of bytes as a delphi boolean, otherwise it may "spill over the edges" (into the function result?). Try defining PActive as a LongBool instead of a Boolean, and see if the problem

RE: [DUG]: Using a Delphi DLL in VB/VBA

2001-02-19 Thread Stacey Verner
That didn't do the job. Ending up doing the following. In Delphi: function AddUser(PUserName, PFullName, PGroupName: PChar; PActive: Boolean; const PPathOut: PChar): Integer; ... // Take a copy of the path StrPCopy(PPathOut, LPath); Result := StrLen(PPathOut); ... In VB: Declare Function

Re: [DUG]: Using a Delphi DLL in VB/VBA

2001-02-19 Thread Nello Sestini
Stacy function AddUser(PUserName, PFullName, PGroupName: PChar; PActive: Boolean): PChar; stdcall; [...] In VB they use Declare Function AddUser Lib "cjnhosting.dll" _ (ByVal PUserName As String, ByVal PFullName As String, _ ByVal PGroupName As String, ByVal