Re: [DUG] Web development

2011-06-06 Thread Stephen Barker
Yes that is a good overview. I'll throw in another option: ISAPI A lot of these frameworks (on Windows) are just big ISAPI dlls. I've been doing websites using the very low level ISAPI API (not Borland's webbroker) for 15 years or so. I have to maintain PHP and other frameworks from time to

Re: [DUG] D2007 Upgrading Indy to V10.2.3

2011-04-17 Thread Stephen Barker
Hi John, You may need the DCP files as well: IndyCore, IndyProtocols, IndySystem. Probably later versions than the '100' indicated in your error msg. They go in: C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\Dcp (remove the old '100' ones) HTH, Steve _ From: John

Re: [DUG] Indy 10.

2011-03-24 Thread Stephen Barker
Dave, FWIW I have ver 10.2.3 here running on D2007 and also D7. Have no issues that I know of with this ver, but I certainly had problems with previous versions (from memory something to do with commas or periods in HTML mime part of email). This may be too old for what you want though.

[DUG] Component expert needed

2011-03-07 Thread Stephen Barker
Hi all, I've recently taken over the development of a legacy Delphi project, and have been struggling with some component issues. This project in Delphi 2007 uses several third party components, but these don't appear to be a problem: TeeChart, Dev Express, ReportBuilder etc. Then it also

Re: [DUG] Arc's

2011-01-18 Thread Stephen Barker
Hi, Try this: procedure DrawCurve; var p1, p2, p3 : TPoint; mp1, mp2 : TPoint; // chord midpoints c : TPoint; // centre of circle rad : double; // radius of circle r1, r2 : TPoint; // bounding rectangle (square) m1, m2 : double; // slope of 2 chords x : double; // temp

Re: [DUG] Auckland company developing application in Delphi split from post: Validating CDS files

2011-01-18 Thread Stephen Barker
Does North Shore count? :) Add Webdata Ltd. Steve -Original Message- From: Leigh Wanstead [mailto:lei...@softtech.co.nz] Sent: Wednesday, 19 January 2011 6:53 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Auckland company developing application in Delphi

Re: [DUG] MSSQL ID field binary(8)

2010-08-17 Thread Stephen Barker
words[0]+' '+words[22]+' '+words[26]+' '+words[32]+' '+words[28]+' '+words[-1] Steve _ From: John Bird [mailto:johnkb...@paradise.net.nz] Sent: Tuesday, 17 August 2010 3:55 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] MSSQL ID field binary(8) I think I have

Re: [DUG] MSSQL and Schemas

2010-07-11 Thread Stephen Barker
Hi Sandeep, I don't use MSSQL, but I did have to do a job with it a few years back and got caught out with the customer's db being set to case sensitive which affected all objects - just a thought, Steve -Original Message- From: Sandeep Chandra [mailto:sandeep_gro...@yahoo.com]

Re: [DUG] Changing my email address for Delphi list groups

2010-04-07 Thread Stephen Barker
Hi Rob, Not sure why that URL is broken at this stage, but try this one: http://mailman.123.net.nz/mailman/listinfo/delphi or just email me what you want to change, cheers, Steve -Original Message- From: Robert martin [mailto:r...@chreos.co.nz] Sent: Wednesday, 7 April 2010 12:24

Re: [DUG] DXF Delphi

2010-03-20 Thread Stephen Barker
yep - used CadSoft components for a quantity surveying application: http://www.cadsofttools.com/ http://www.cadsofttools.com/ regards, Steve _ From: Marshland Engineering [mailto:marshl...@marshland.co.nz] Sent: Sunday, 21 March 2010 1:17 p.m. To: delphi@delphi.org.nz Subject:

Re: [DUG] Run Function called from a database field's data.

2010-03-04 Thread Stephen Barker
Hi Wallace, You could play with RTTI, but as there are only 9 I'd tend to look at a simple array of function pointers and string function names. Or use a stringlist (for the names) and store the function pointers in the associated objects list. At runtime set up the function pointers using the

[DUG] windows 7 and messagedlg

2010-01-19 Thread Stephen Barker
Hi, I have a report from a Windows 7 user that a message from my app does not show unless XP compatibility mode is selected. The code that should fire is: messagedlg(msg, mtCustom, [mbOk], 0); It is being ignored when run under normal Windows 7 default mode. Any ideas? I don't use

Re: [DUG] windows 7 and messagedlg

2010-01-19 Thread Stephen Barker
. This is not a very plausible real-world example, but is intended only to illustrate my point/question. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Stephen Barker Sent: Wednesday, 20 January 2010 11:16 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG

Re: [DUG] What is the future for Delphi programmer?

2010-01-14 Thread Stephen Barker
1. Still maintaining Delphi code? Yes - hundreds. 2. Started a new Delphi project in the last year? Yes - several 3. Started a new project in another language in the last year (what was the language)? Yes - PHP 4. What other languages are you using learning? Other web stuff

Re: [DUG] Editing date from two tables

2009-12-07 Thread Stephen Barker
Also, depending on your database and tdataset derivative capabilities, look for methods like: .FlushBuffers (on the table just updated) .Refresh (on the other table) .GotoCurrent (to synchronise the cursors if needed) Steve _ From: Marshland Engineering

Re: [DUG] Mocking Delphi

2009-10-19 Thread Stephen Barker
Testing? Isn't that what users are for? :) Mocking sounds appropriate for a lot of them too. SB _ From: Richard Vowles [mailto:rich...@developers-inc.co.nz] Sent: Tuesday, 20 October 2009 8:25 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Mocking Delphi Mocking

Re: [DUG] GPS NMEA parser

2009-09-26 Thread Stephen Barker
Of Stephen Barker Sent: Friday, 25 September 2009 17:08 To: NZ Borland Developers Group - Delphi List Subject: [DUG] GPS NMEA parser Hi, I can't seem to locate any free Delphi code for this, although other language examples are around. I was about to start writing my own for a small project

[DUG] mysql components

2009-09-24 Thread Stephen Barker
Hi Before I start downloading and testing various alternatives, just wondered if anyone has any preferences. Free or cheap component for connecting to MySql. This doesn't need all the bells and whistles. I just need to do a nightly transfer of data between a MySql db and another local db.

Re: [DUG] Excel

2009-09-21 Thread Stephen Barker
There's also the old TurboPower stuff (free) at: http://sourceforge.net/projects/tpofficepartner/ I have used this on occasion in the past, but no recent dev or fixes have been made so you're on your own. Steve -Original Message- From: Jeremy Coulter [mailto:jscoul...@gmail.com]

Re: [DUG] BDS2006 or Rad 2007 the web

2009-09-01 Thread Stephen Barker
Charlie, You can get the currently logged in user from code like this: function Tdm.NetworkID: string; var buffer : string; buffSize : DWORD; bRet: boolean; begin buffSize:=128; SetLength(buffer,buffSize); bRet := GetUserName(PChar(buffer), buffSize); if bRet then Result

Re: [DUG] to Vista 64bit or not?

2009-08-06 Thread Stephen Barker
Server 2003 can address up to 128GB (4GB for SBS) in the 32 bit edition or 2TB in 64 bit. Funnily enough,Server 2008 can only address 64GB in the 32 bit version. That must really annoy people. Who would ever need 64GB Ram? J Isn't it fantastic to be even having this discussion? (remembering

Re: [DUG] Serial port data capture

2009-07-08 Thread Stephen Barker
Hi John, I did a small modem app recently and asynchpro refused to work for me (with caller id stuff) so switched to this component which worked very well: http://sourceforge.net/projects/comport/ http://sourceforge.net/projects/comport/ Steve _ From: John Bird

Re: [DUG] Can anyone test this for me?

2009-05-11 Thread Stephen Barker
Hi Richard, Works for me at around 200 to 300 kB/sec as reported by FF3. Steve From: Richard Vowles [mailto:rich...@developers-inc.co.nz] Sent: Tuesday, 12 May 2009 9:59 a.m. To: NZ Borland Developers Group - Delphi List

Re: [DUG] web hover

2009-04-08 Thread Stephen Barker
Is the text part of a link? If not you're probably out of luck unless you make it so: a href=#the text/a If already a link you probably want something like this: td. MenuButton a:hover { color:RED; font-weight: Bold; } cheers, Steve _ From: PDS

Re: [DUG] [OFF TOPIC] Who is a good internet provider for ADSL2?

2009-04-06 Thread Stephen Barker
I cannot recommend Vodafone after they made a huge mess of transferring home/office phones and broadband. Customer service was abysmal. However, now that it is running, it seems reliable and much faster than before. Speed test reports 7.4 Mb/s. Bittorrents hit 1.2 MB/s. Steve _ From:

Re: [DUG] Website presentation

2009-04-05 Thread Stephen Barker
Hi John, That site is doing it the old way with html tables. It works and is reliable but includes a lot of extra tags in the markup which only relate to layout and not content. The modern approach is to use CSS wherever possible so the html source is cleaner. This becomes even more important if

Re: [DUG] [DUG-Offtopic] new PC

2009-04-01 Thread Stephen Barker
Hi Steve, As much as I didn't want to continue this thread, I had to pick up on the Osborne 1. In one of my first jobs after Uni (81/82) I introduced one of these to NZI so they could do stuff outside the DP Dept. I recall setting up a Supercalc spreadsheet to do branch budgets, but the twin

Re: [DUG] Translations

2009-02-16 Thread Stephen Barker
Hi Jeremy, I had to translate a small app last year into Dutch and German and just created some ini files one for each language, with name/value pairs of words and phrases in them. The main app ini specifies which language to use at runtime. For this app we were mainly only asked to translate

Re: [DUG] Searching ClientDataSet using locate

2008-11-06 Thread Stephen Barker
Hi John, Are you trying to locate the same string within multiple fields? If so, I don't think the locate will help you there. Try using the onfilterrecord event as Neven said, or a filter expression like this if your database allows it: .filter := 'name like ''%'+findstr+'%'' or address1 like

[DUG] TActionManager

2008-10-03 Thread Stephen Barker
Hi, I'm evaluating Delphi's TActionManager/TActionMainMenuBar/TActionToolBar components for a couple of projects here. It seems that when you allow the user at runtime to customise the toolbars and menus, the component streams to a file to save the current toolbar layouts. However, if I later

Re: [DUG] Email Files

2008-07-23 Thread Stephen Barker
Hi Jeremy, I have here a small app I did a long time ago (D5) which reads .mbx files and views, deletes, extracts emails. You're welcome to the source if it helps, regards, Steve _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 24 July 2008 10:10 a.m. To:

Re: [DUG] Delete (File) Function ?

2008-06-29 Thread Stephen Barker
Hi, I've noticed the same on some web servers, where we typically have product images stored externally from the product database. After deleting the product record, sometimes the image file deletion fails. In this case we trap that and queue it for later deletion in a nightly process.

[DUG] captcha

2008-05-18 Thread Stephen Barker
Has anyone got any Delphi code for creating captcha images? (http://en.wikipedia.org/wiki/Captcha http://en.wikipedia.org/wiki/Captcha ) I've got examples in other languages, but specifically need Delphi. ISTR reading an article on one in Delphi a while back but can't find it now. Google

RE: [DUG] Delphi Canvas

2008-04-23 Thread Stephen Barker
Look at TPaintBox in ExtCtrls. Use it's OnPaint event to do the drawing onto it's canvas. Steve -Original Message- From: Bob Pawley [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 April 2008 5:26 p.m. To: DUG Subject: [DUG] Delphi Canvas I want to create an interface using

RE: [DUG] List Issues

2008-04-22 Thread Stephen Barker
Hi Jeremy, I received at 9:16pm - but then I use MS Exchange Server :( Did you send the message to: [EMAIL PROTECTED] BTW, it should be sent to: delphi@delphi.org.nz That shouldn't have affected the delivery time though. cheers, Steve -Original Message- From: Jeremy Coulter

RE: [DUG] Source Control - Sharing files between projects

2007-10-12 Thread Stephen Barker
I don't have a need for a lot of this but I use WinMerge for 2way. http://winmerge.org/ Steve -Original Message- From: Myles Penlington [mailto:[EMAIL PROTECTED] Sent: Friday, 12 October 2007 8:45 a.m. To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Source Control

[DUG] cf.net

2007-10-02 Thread Stephen Barker
Hi all, I've never done any CF.NET stuff so wanted to try a little test app. After loading the new RadStudio2007 I assumed we'd have something more than BDS2006 had in this area. It seems though we have less, as they have removed WinForms. Does this mean we have to go back to BDS2006 to do any

[DUG] png buttons, actionbars

2007-10-02 Thread Stephen Barker
I know this has been discussed here before, but are there any more recent opinions on the merits of 1. using TActionManager, TActionMainMenuBar, TActionToolBar. It seems to be a better framework than the original TMainMenu and TActionList etc. 2. decent PNG handling in conjunction with the

RE: [DUG] png buttons, actionbars

2007-10-02 Thread Stephen Barker
with a client (otherwise I'd try to track it down). Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Stephen Barker wrote: I know this has been discussed here before, but are there any more recent

RE: [DUG] png buttons, actionbars

2007-10-02 Thread Stephen Barker
Thanks Jeremy, I'll look into those styles some more... Did you use png glyphs with yours? It might be simpler for me to go back to bmp versions of the glyphs for now. cheers, Steve -Original Message- From: Jeremy North [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 October 2007

RE: [DUG] Turbo products

2007-09-18 Thread Stephen Barker
I'd second that, On a daily basis I use d5, d7, d2007 and it is a pain going back to the older ide's. I have all 3 open right now as I flick between jobs. I have legacy projects in the older versions which aren't practical to upgrade - mostly because of different third party component versions -

RE: [DUG] TPageControl tab re-ordering. was: TPageControl Interes ting Obser vation D2007

2007-08-28 Thread Stephen Barker
Thanks guys, The drag and drop sounds perfect, regards, Steve -Original Message- From: David Moorhouse [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 August 2007 10:47 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] TPageControl tab re-ordering. was:

RE: [DUG] TPageControl Interesting Observation D2007

2007-08-27 Thread Stephen Barker
Hi, While we're on the subject - I've just had a request to allow the user to modify the tab positions on a pagecontrol at runtime. Any easy way to do this or would I need to search for a replacement component? Project is d5 but soon to be d2007. thanks, Steve _ From: Rohit

RE: [DUG] Indy Smtp and XTRA

2007-08-26 Thread Stephen Barker
Hi, Xtra are now requiring SSL, port 465 for sending: with Yahoo!Xtra Pro Mail http://xtra.co.nz/help/0,,4150-7780758,00.html I haven't used Indy for SSL connections, but I have used it with smtp authentication: ... statusbar1.panels[0].Text:='Sending'; application.processmessages;

RE: [DUG] Delphi 6, win2003 server and DEP

2007-08-22 Thread Stephen Barker
Tracey, Are you not able to debug your cgi app? Why is that not an option? If it is a setup thing, this is what I use: Install lightweight web server, e.g. Omni (http://www.omnicron.ca/httpd/download.html http://www.omnicron.ca/httpd/download.html ) In Delphi, Run/Parameters/host application:

RE: [DUG] Formatting Data aware values

2007-08-05 Thread Stephen Barker
Try the OnGetText event to format the value any way you want. The fields that are common can share the same event handler. Steve -Original Message- From: Robert martin [mailto:[EMAIL PROTECTED] Sent: Monday, 6 August 2007 2:12 p.m. To: NZ Borland Developers Group - Delphi List

RE: [DUG] CodeGear Event on August 16th

2007-07-31 Thread Stephen Barker
Any luck registering? If I try to logon with what I think my password is it says: Incorrect email or password. If I use the forgotpassword link it says: The email address in invalid. please enter a new email address. If I register as a new user it says: User could not be created/updated due to an

RE: [DUG] Slightly OT

2007-07-26 Thread Stephen Barker
I've been buying from Ingram Micro/Tech Pacific/Imagineering or whatever they've been called since they were about a 5 person company in Wairau Rd 20 years ago. However, in recent years when I can be bothered I shop around using pricespy or more often than not supercheappc.biz. When it's for

RE: [DUG] BDS2007 command line compiler on separate machine

2007-06-26 Thread Stephen Barker
I've never bothered with the command line compiler before. What differences in settings do you all make for release versions? I suppose it gets around the old problem of leaving datasets open at design time and forgetting to close them before compiling a release version. That's about all I

RE: [DUG] Why use a set when a string will work OK (and less code )?

2007-05-10 Thread Stephen Barker
Interesting stuff... Is it just me or is anyone else horrified by the with statement abuse in example function getStructures? Steve -Original Message- From: Sean Cross [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 May 2007 1:49 p.m. To: NZ Borland Developers Group - Delphi List

RE: [DUG] Why use a set when a string will work OK (and less code )?

2007-05-10 Thread Stephen Barker
Hi Neve :) I'm not one of the many who don't use the with statement at all, but I only use it sparingly and never nested 3 levels deep like the example. I usually end up removing it during debug sessions anyway and kick myself for using it in the first place. I think your mate Malcolm Groves

RE: [DUG] Moved to D2007 OK - Help system busted

2007-05-03 Thread Stephen Barker
I've got the help working right now in d2007, but occasionally it doesn't. It just comes up with some message like 'not in index' or similar. We had a brief problem with a DBISAM release which was fixed straight away, see below. It might be worth you trying to re-register the help in a similar

[DUG] test

2007-04-03 Thread Stephen Barker
___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://ns3.123.co.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

[DUG] Announcement: posting to this list

2007-04-03 Thread Stephen Barker
Hi all, Apologies if you see this multiple times, but it is being sent to each of the 3 lists: Delphi, Offtopic and Interbase We are currently reorganising these lists so they will be associated with the appropriate domain name, i.e. delphi.org.nz So from now on to post to the lists, send

RE: [DUG]: Copy protection/program registration

2003-11-12 Thread Stephen Barker
change the C:\ to Server.MapPath(). And CreateTextFile seems to only have 2 parameters. What does the 3rd one do? unicode flag - defaults to false which means ascii Steve --- New Zealand Delphi Users group - Delphi

RE: [DUG]: Copy protection/program registration

2003-11-09 Thread Stephen Barker
You could just roll your own based on things like hard drive serial no., n/w card mac address etc. I've done this before and also used Turbopower's Onguard - open source now? The simplest way for your web server to write a text file would be to use an asp script and use the FileSystemObject to

[DUG]: OLEVariant arrays

2003-11-02 Thread Stephen Barker
I'm having trouble passing an array into AutoCad - getting one back is not a problem. code looks like: var Spline, SplineCoords, StartTangent, EndTangent : OLEVariant; begin SplineCoords := VarArrayOf([1,1,0, 5,5,0, 10,0,0]); StartTangent := VarArrayOf([0.5,0.5,0]); EndTangent :=

RE: [DUG]: OLEVariant arrays

2003-11-02 Thread Stephen Barker
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Barker Sent: Sunday, 2 November 2003 6:30 p.m. To: Multiple recipients of list delphi Subject: [DUG]: OLEVariant arrays I'm having trouble passing an array into AutoCad - getting one back is not a problem. code

RE: [DUG]: Clearing records

2003-10-28 Thread Stephen Barker
VtreeSearchList:=nil; Is the above valid for reuse. And on form close, is it tidied up without further freeing? yes. alternatively: setlength(VtreeSearchList, 0) or Finalize(... you can use setlength to allocate it again for reuse. Steve

RE: [DUG]: Tag

2003-10-28 Thread Stephen Barker
end else if (ClassType = TPeasants) then begin newX := X + Sender.Left; // ERROR newY := Y + Sender.Top; // ERROR I think you want something like: end else if (ClassType = TPeasants) then begin newX := X + TPeasants(Sender).Left; newY := Y +

RE: [DUG]: SImple smtp agent

2003-09-11 Thread Stephen Barker
i use fastnet to send emails, and have had no problems with it. I also didn't have problems for a couple of years - then I found it wouldn't work with one of our mail servers (Linux/Sendmail). Switched to Indy - no more probs. Steve

RE: [DUG]: Report tools

2003-08-29 Thread Stephen Barker
tab reports: easily achieved. 4). Rich text capability: much better than QR Steve, we need to export to Pdf files too, would you mindsharing some info on how this is achived? Regards Cheng -Original Message-From: Stephen Barker [mailto:[EMAIL PROTECTED]Sent

RE: [DUG]: Report tools

2003-08-28 Thread Stephen Barker
Title: Message I use FR now - it's great - even has pascal scripting. Haven't used RB, but have used QR and Rave and I still prefer FR. I also recently put together an export component that allows me to export pdf files. Great for Purchase Orders, Invoices or archiving reports for later

RE: [DUG]: FlushBuffers

2003-08-26 Thread Stephen Barker
Mark, you need to do: TDBISAMDataSet(DataSet).FlushBuffers; regards, Steve -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 2:17 p.m. To: Multiple recipients of list delphi Subject: [DUG]: FlushBuffers Hi all What's wrong with

RE: [DUG]: TDBGrid - tick

2003-08-04 Thread Stephen Barker
John, you can just display an image of a checkbox in the DrawColumnCell event - see below code (written by someone else) cheers, Steve Displaying a checkbox within a DBGrid for use with Boolean fields Displaying a checkbox in a DB Grid doesn't necesarily mean you have to have a TCheckBox

RE: [DUG]: %20

2003-08-03 Thread Stephen Barker
PPS the server for some reason bouces my mails and has done since I have been on this list - this is the third transmission of this message Al, can you send me the bounced message and I'll look into it. I just checked the list and you're definately there under your xtra account. regards,

RE: [DUG]: Textfile display on web page

2003-07-23 Thread Stephen Barker
to include the text file contents within an html page you need a server side include. depends on your hosting environment and web server - ask your hosting company what they have available - otherwise you may have to use scripting such as asp, php etc. another approach might be to use frames and

RE: [DUG]: Good quality library of string handling routines

2003-07-22 Thread Stephen Barker
If it's any help, I have some source for fast replacements for pos and replace functions (assembly), originally provided by Peter Morris - I think on this group many years ago. Steve -Original Message- From: Phil Middlemiss [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 July 2003 11:00

RE: [DUG]: Good quality library of string handling routines

2003-07-22 Thread Stephen Barker
something with optimised search and replace, possibly xml and html handling routines etc. About a year ago I was working on an app and had all sorts of problems with MSHTML then OpenXML etc, and finally settled on a compact freeware html parser to do the job (scraping html pages at a high

[DUG]: trapping mouse down messages

2003-06-30 Thread Stephen Barker
I'm about to give up on this but maybe someone can help: I've got a complex form split into 3 regions each with a PageControl and loads of data aware components such as dbgrid, dbedit, dbcombo as well as labels etc. I want to know when the user has selected one of the 3 regions by clicking

RE: [DUG]: Quick Reports Preview

2003-06-09 Thread Stephen Barker
Mark, you don't need to free the QR1 component - it is owned by the form and will get destroyed when the form destroys. regards, Steve -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 June 2003 1:42 p.m. To: Multiple recipients of list delphi

[DUG]: Offtopic list not working

2003-06-04 Thread Stephen Barker
Hi all, Somehow the Offtopic list has lost many of you - it seems there are only 89 members vs. 216 on the Delphi list. I seem to recall something like this happening a while back with the Delphi list and Gary restored from backup. Quickest fix would be for me to copy the Delphi list members

RE: [DUG]: Offtopic list not working

2003-06-04 Thread Stephen Barker
OK - I've removed all members of Offtopic list, and imported members from the Delphi list. Instructions for Subscribing and UnSubscribing via email are below. It seems the web site for www.delphi.org.nz is no longer on our server and that Richard is looking after it - I'll talk to him to see if

RE: [DUG]: OffTopic Batch file question

2003-05-30 Thread Stephen Barker
Mark, in addition to the 'start wait' option others have mentioned, I have had on occasion to add a delay in a batch file while waiting for a file to be fully written/closed etc. I have a small wait.exe which takes a parameter of no. of seconds to wait - I can send it if you want. regards,

RE: [DUG]: OffTopic Batch file question

2003-05-30 Thread Stephen Barker
the wait expires)? -ns http://www.roserox.co.th - Original Message - From: Stephen Barker [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, May 30, 2003 08:34 Subject: RE: [DUG]: OffTopic Batch file question Mark, in addition

RE: [DUG]: Reporting ... D5, from TDataset

2003-03-30 Thread Stephen Barker
Title: Reporting ... D5, from TDataset I can recommend fastreport: http://www.fast-report.com/en/index.php regards, Steve -Original Message-From: James Low [mailto:[EMAIL PROTECTED]Sent: Monday, 31 March 2003 01:14 p.m.To: Multiple recipients of list delphiSubject: [DUG]:

RE: [DUG]: QuickReport on XP

2003-03-03 Thread Stephen Barker
try going into: control panel/system/advanced/environment variables where you can edit TEMP vars for both the system and the currently logged on user regards, Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 March 2003 12:07 p.m. To: Multiple

RE: [DUG]: How do I refer back to a calling form?

2003-02-25 Thread Stephen Barker
further to what Rob said: it is not clear from your main form code snippet what 'sender' is so try something like: NewCorrKey := WriteNewCorrRecord(Self.UV,CORR,CORI,PolNum); // this calls DatabaseUtils.pas Code from DatabaseUtils.pas: function WriteNewCorrRecord(UV: TUVObjects;

RE: [DUG]: Showmodal problems

2003-02-24 Thread Stephen Barker
Al, if this is the application's main form then from the help: TApplication property ShowMainForm: Boolean; Description Use ShowMainForm to control whether and when the application shows its main form. The default value of True is set in the constructor. When ShowMainForm is True the main

RE: [DUG]: DBISAM

2002-12-11 Thread Stephen Barker
DBISAM is an excellent product, and my first choice for many situations, but be aware of the following: Table indexes are critical for decent speed. Keep away from multiple joins with large tables. Indexes are Case-Sensitive by default - be careful if converting from BDE. Date format is ANSI i.e.

RE: [DUG]: Installer

2002-12-03 Thread Stephen Barker
I concur, use inno setup - for a simple setup, 5 minutes of reading the docs will do it. Steve -Original Message- From: Nello Sestini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 03:53 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Installer

RE: [DUG]: Multi-column String List?

2002-11-06 Thread Stephen Barker
Mark, as you're using DBISAM, I would tend to use a DBISAM memory table with method: .ImportTable('thefile.csv',...) Alternatively, depending on how you want to process the data, use a couple of stringlists: var SLTable, SLRecord : TStringList; ... SLTable.LoadFromFile('thefile.csv'); for i:=0

RE: [DUG]: [OFF-TOPIC] Anyone know where I can buy old version of Delphi professional in some magazine?

2002-09-12 Thread Stephen Barker
Hi Leigh, which version are you after? I have 4 separate licenses here, and don't need them all any more. regards, Steve -Original Message- From: Leigh Wanstead [mailto:[EMAIL PROTECTED]] Sent: Friday, 13 September 2002 09:25 a.m. To: Multiple recipients of list delphi Subject:

RE: [DUG]: BDE version

2002-09-10 Thread Stephen Barker
windows explorer, BDEAdmin.exe - right click, properties, version tab. or from within BDEAdmin, config tab, right click, version info Steve -Original Message-From: Paul McKenzie [mailto:[EMAIL PROTECTED]]Sent: Wednesday, 11 September 2002 08:37 a.m.To: Multiple recipients

RE: [DUG]: GUIDs for Session Ids?

2001-11-11 Thread Stephen Barker
simplest way is: SID := random(high(Integer)); which allows for 2 billion (4 if you use a cardinal). Maybe try int64 if you really need that many. Depends on your purposes, but for short term ID's I find 2 billion more than enough. regards, Steve -Original Message- From: Myles

RE: [DUG]: Export to Excel

2001-10-24 Thread Stephen Barker
CSV (or Tab-separated) is good, but don't forget to strip out embedded commas from fields or use AnsiQuotedStr() on those fields. Alternatively, move the data to a dBase file either using TTable (BDE), or even one of the non-BDE freeware DBF components. Steve -Original

RE: [DUG]: Source Scrounge

2001-10-16 Thread Stephen Barker
Title: RE: [DUG]: Source Scrounge RX tools also has one called comboedit. regards, Steve -Original Message-From: Tom Munro Glass [mailto:[EMAIL PROTECTED]]Sent: Tuesday, 16 October 2001 12:47To: Multiple recipients of list delphiSubject: RE: [DUG]: Source Scrounge LMD

RE: [DUG]: Help with Logic flows

2001-09-18 Thread Stephen Barker
I know this goes against common design standards, but I find the following much easier to read with less clutter: if something then begin dostuff end else begin dootherstuff end; It's definately a personal thing, but as I always tend to use compound statements I find the begin statement

[DUG]: BorCon

2001-09-10 Thread Stephen Barker
Anyone going this year? The rego fee has risen substantially: $1464 (user group rate). There doesn't appear to be any product discount this time either :( regards, Steve --- New Zealand Delphi Users group - Delphi List

RE: [DUG]: SQL Poser

2001-09-05 Thread Stephen Barker
Title: Message Mark, If you are using Paradox you only need to do like: tbarchive := nil; try Screen.Cursor := crHourglass; tbArchive := TTable.create( nil ); with tbArchive do begin databasename := datadir; tablename := 'archive.db'; exclusive := true; end; try tbarchive.open;

RE: [DUG]: Getting the current user

2001-08-15 Thread Stephen Barker
- Original Message - From: Stephen Barker To: Multiple recipients of list delphi Sent: Wednesday, August 15, 2001 6:32 PM Subject: RE: [DUG]: Getting the current user function NetworkID: string;var buffer : string; buffSize : DWORD

RE: [DUG]: Getting the current user

2001-08-15 Thread Stephen Barker
Mark - just F1 on GetUserName in the editor works for me (D5 pro) Steve -Original Message- From: Mark Howard [mailto:[EMAIL PROTECTED]] Sent: Thursday, 16 August 2001 12:07 To: Multiple recipients of list delphi Subject: Re: [DUG]: Getting the current user UhOh - Doesn't sound

RE: [DUG]: Some ISAPI Questions...

2001-08-15 Thread Stephen Barker
the following function may be useful to return where the dll resides: function GetDLLName : String; var Buffer: array[0..MAX_PATH{260}] of Char; begin SetString(Result, Buffer, GetModuleFileName(HInstance, Buffer, SizeOf(Buffer))) end; use extractfilepath(GetDLLName) if you only want the

RE: [DUG]: Getting the current user

2001-08-14 Thread Stephen Barker
function NetworkID: string;var buffer : string; buffSize : DWORD; bRet: boolean;begin buffSize:=128; SetLength(buffer,BuffSize); bRet := GetUserName(PChar(buffer), buffSize); if bRet then result := strpas(PChar(buffer)) else Result := '';end; -Original Message-From: Mark Howard

RE: [DUG]: Posting Mail

2001-08-01 Thread Stephen Barker
Rohit, I note that any mail I post from home is being rejected again. I would appreciate it if you would just confirm that the following can post mail to the DUG [EMAIL PROTECTED] yes [EMAIL PROTECTED] yes [EMAIL PROTECTED] yes They are all on the list. At present we manually

RE: [DUG]: Timing Resolutions

2001-07-24 Thread Stephen Barker
If you are after a high resolution timer, I looked into the following recently: (ended up buying this one as it was specified by the client for both VB and Delphi) http://www.ryledesign.com or good freeware component: http://www.mistral.co.uk/gbamber/bin/CPUID.ZIP regards, Steve

RE: [DUG]: Key Violation

2001-07-16 Thread Stephen Barker
the table. This resets the AutoInc field to the last number +1, and should allow posting to the table again. only if there's no foreign key in another table Speaking of which, I had to do this a couple of months ago: convert a large Delphi/Paradox app from using many autoinc

RE: [DUG]: How to approach this?

2001-07-15 Thread Stephen Barker
Donovan, If the range of ID's are not too sparse then an array would be a very direct way of looking them up. Another way would be a linked list of records or a 2 dimensional arrayholding ID and Code, and pre-sort the list by ID. then look it up with a binary search or B-Tree or similar.

RE: [DUG]: TvarRec : Array of Const

2001-07-10 Thread Stephen Barker
James, your're from Baycom? Are they now a Delphi house? Remember me to Bill George if he's still around - we were using his accounting modules in our Aluminium Window system back in '82/'83 written in dBase II under CP/M. regards, Steve -Original Message- From: James Low

RE: [DUG]: Alternative list hosting?

2001-07-09 Thread Stephen Barker
Thanks for the reminder Mark, I have also put the link on the sig line as suggested by Peter, cheers, Steve -Original Message- From: Mark Derricutt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 10 July 2001 13:18 To: Multiple recipients of list delphi Subject: Re: [DUG]: Alternative

  1   2   >