Re: [DUG] 2010 Launch

2009-08-31 Thread David Moorhouse (DUG)
Hi Richard What specials would they be :) Embarcadero or Air NZ ? The air flight specials are OK if you're retired but a bit limited otherwise. David Richard Vowles wrote: Hi guys, As you may have noticed from Malcolm's posting we are trying to organize a 2010 launch out here. Keep

Re: [DUG] Excel

2009-09-21 Thread David Moorhouse (DUG)
Hi John We're using the NativeExcel2 components from nika soft - they give full access to all internal excel obejcts i.e. cells, formulas, formatting, charts, embedded pictures etc. Depends what you need. HTH D John Bird wrote: Hope this doesn't get lost in the flurry of posts! Anyone

Re: [DUG] Auckland Event

2009-10-13 Thread David Moorhouse (DUG)
Just move to Chch We're walking to tomorrow's event :) CU there tomorrow. D Todd Martin wrote: Hi Malcolm Unfortunately I couldn't make the seminar this morning. Would it be possible to schedule future events for the afternoon? If I have to come into the city, I prefer to fight the

Re: [DUG] formatting a string for HTML

2010-07-28 Thread David Moorhouse (DUG)
In the Internet/HTTPApp.pas unit function HTTPDecode(const AStr: AnsiString): AnsiString; function HTTPEncode(const AStr: AnsiString): AnsiString; function HTMLEncode(const AStr: String): String; function HTMLDecode(const AStr: String): String; HTH David Original Message

Re: [DUG] You're gonna get an invite tonight!

2010-10-05 Thread David Moorhouse (DUG)
Hi Richard I'm still waiting for my invite - you can send it to my work address if that's easier. davi...@pegasus.org.nz Cheers David On 30/09/10 16:14, Richard Vowles wrote: Hi guys, If all goes to plan, you should get some email from us tonight inviting you to the NZ launch (Auckland

[DUG] Buy One Get One

2010-10-19 Thread David Moorhouse (DUG)
Hi Richard Is this offer available through Developers Inc ? http://www.embarcadero.com/bogo-info Thanks David ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

Re: [DUG] Buy One Get One

2010-10-20 Thread David Moorhouse (DUG)
/10 15:40, Richard Vowles wrote: Yes it sure is! It was discussed today at the event and olivia was planning to send out an email. At airport now heading to christchurch so will talk to olivia tonight to make sure it gets sent out. On 20 Oct 2010 06:59, David Moorhouse (DUG) del

[DUG] Delphi XE update 1 fails

2010-11-15 Thread David Moorhouse (DUG)
Hi We're trying to install this update from behind a corporate firewall, and our web sanitiser (Web Marshall) cannot open the downloaded 7zip files for checking. So no update happening here. When is EMB going to come up with something that works for a change ? David

Re: [DUG] Fwd: FW: Delphi XE update 1 fails

2010-11-18 Thread David Moorhouse (DUG)
[mailto:delphi-boun...@delphi.org.nz] On Behalf Of David Moorhouse (DUG) Sent: Tuesday, 16 November 2010 10:11 AM To: NZ Borland Developers Group - Delphi List Subject: [DUG] Delphi XE update 1 fails Hi We're trying to install this update from behind a corporate firewall, and our web sanitiser (Web

Re: [DUG] DelphiDroid

2010-11-29 Thread David Moorhouse (DUG)
The linked article gives a great overview of the Android architecture for people who want to get up to speed with a new platform. http://www.tbray.org/ongoing/When/201x/2010/11/14/What-Android-Is D I think we're talking about two different things: 1.There's a proof of concept of a

Re: [DUG] Current Registrations

2010-12-01 Thread David Moorhouse (DUG)
Where I work we think it is around 10. HTH D Does any one know what the Current Registrations count is before you need to contact Embarcadero to get it reset? I had been playing around with some Vm's a while back and I noticed my count is now 4 :-) Thanks, Jeremy

Re: [DUG] Variabels stored

2011-01-20 Thread David Moorhouse (DUG)
Or as field properties if you want to access them from another form ... type TWallaceForm = class(TForm) btnOK: TButton; private FWallacesPrivateVar: string; // private storage public property WallacesPrivateVar: string read FWallacesPrivateVar write

Re: [DUG] Variabels stored

2011-01-20 Thread David Moorhouse (DUG)
the read/write are functions or procedures. Just make the string public. *From:*delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *David Moorhouse (DUG) *Sent:* Thursday, 20 January 2011 11:18 PM *To:* NZ Borland Developers Group - Delphi List *Subject:* Re

Re: [DUG] Object is Object vs Object.Classname = 'Object'

2011-01-24 Thread David Moorhouse (DUG)
Have you timed it ? My gut feeling is the first form is a pointer comparison, so would be very quick, whereas the second form is a string comparison so not as quick. Also the first has the advantage of compile time checking. 0.02c D On 25/01/11 17:46, Ross Levis wrote: Just as a matter

Re: [DUG] Indy TidTCPServer question

2011-02-15 Thread David Moorhouse (DUG)
Hi Ross It's up to you to implement a protocol (e.g. look at the http protocol). Typically maintain some sort of header and payload. The TCP layer will handle ensuring the messages are delivered, however you package the file up, unlike UDP. Hope this helps D On 15/02/11 22:29, Ross

Re: [DUG] Christchurch Members

2011-02-25 Thread David Moorhouse (DUG)
Actually, Jeremy was bunking off work for a week and has invented this great big story about being in hospital :) ... | | | | v ... Really glad to hear you're OK buddy. We've been told Tuesday is the earliest we can expect to be back at work. In the interim there's heaps of

Re: [DUG] API to Windows explorer

2011-05-12 Thread David Moorhouse (DUG)
Aside – I heard of one firm that had a server and a Wifi router on a UPS that had their network guy park outside with a wifi laptop and copy stuff from the server before the UPS died. Couldn’t go in because the the front of the building had fallen out into the street. Thats a cool idea

Re: [DUG] File Path

2011-06-20 Thread David Moorhouse (DUG)
Hi Bob Info is in the linked article http://delphi.about.com/od/kbwinshell/a/SHGetFolderPath.htm Cheers David On 21/06/11 05:25, Bob Pawley wrote: Hi I have an executable which I need to access that is installed in Program Files. With the advent of 64 byte in Windows 7, I need to

[DUG] Sizeof record gives error

2011-08-24 Thread David Moorhouse (DUG)
I have the following code snippet code type PConstArray = ^TConstArray; TConstArray = array of TVarRec; function CreateConstArray(const Elements: array of const): TConstArray; type TLogType = (ltError, ltWarn, ltInfo); PLogData = ^TLogData; TLogData = record LogType: TLogType;

Re: [DUG] Sizeof record gives error

2011-08-24 Thread David Moorhouse (DUG)
, Colin On 25 August 2011 09:40, David Moorhouse (DUG) del...@moorhouse.net.nz wrote: I have the following code snippet code type  PConstArray = ^TConstArray;  TConstArray = array of TVarRec; function CreateConstArray(const Elements: array of const): TConstArray; type  TLogType = (ltError

Re: [DUG] Sizeof record gives error

2011-08-24 Thread David Moorhouse (DUG)
of the array to get the correct size. On Thu, Aug 25, 2011 at 11:40 AM, David Moorhouse (DUG) del...@moorhouse.net.nz wrote: I have the following code snippet code type PConstArray = ^TConstArray; TConstArray = array of TVarRec; function CreateConstArray(const Elements: array of const

Re: [DUG] [computing] Sizeof record gives error

2011-08-28 Thread David Moorhouse (DUG)
11:40 a.m., David Moorhouse (DUG) wrote: I have the following code snippet code type PConstArray = ^TConstArray; TConstArray = array of TVarRec; function CreateConstArray(const Elements: array of const): TConstArray; type TLogType = (ltError, ltWarn, ltInfo