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

2010-01-11 Thread Dave O'Brien
1. Yes 2. Yes, 3 3. No 4. None at the mo... Dave. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alister Christie Sent: Tuesday, 12 January 2010 11:48 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] What is the

[DUG] Forms on the fly...

2009-12-26 Thread Dave O'Brien
Is there a simple way to create forms at run-time from a .DFM or similar structured file? I can write a routine to do it of course, but would like to save the time if possible. Cheers, Dave. ___ NZ Borland Developers Group - Delphi mailing list Pos

Re: [DUG] TDBCheckbox

2009-11-23 Thread Dave O'Brien
I assume you have checked with a trace that Pump is ever true? I would recommend checking for eof before trying to assign to the db field. PSQLQuery2.Open; If not PSQLQuery.eof then begin Pump:= PSQLQuery2.FieldByName('pump1').AsBoolean ; DBCheckbox6.Enabl

Re: [DUG] TMS Smoothcontrols

2009-11-03 Thread Dave O'Brien
remy North Sent: Wednesday, 4 November 2009 1:26 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] TMS Smoothcontrols Cool, just don't want to share it for others that might run into the same problem? On Wed, Nov 4, 2009 at 11:24 AM, Dave O'Brien wrote: &g

[DUG] TMS Smoothcontrols

2009-11-03 Thread Dave O'Brien
If anyone has used the TAdvSmoothCalendar control, I am using it fine but decided to change the text, depending on external information, in the OnDateFill method. This comes up with the following procedure: procedure calSchedDateFill(Sender: TObject; AFill: TGDIPFill; AFont: TFont; Date: TDateTi

Re: [DUG] TMS Smoothcontrols

2009-11-03 Thread Dave O'Brien
Never mind, found it... -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Dave O'Brien Sent: Wednesday, 4 November 2009 1:20 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] TMS Smoothcontrols If anyone has use

Re: [DUG] basic Service question

2009-10-08 Thread Dave O'Brien
m actually starting and stopping my own Tthread on the onStart event. However The actual (current) problem I am having is that even with no code whatsoever I cant register my service (which I need to do at some point and apparently need for debugging). Cheers Dave O'Brien wrote: Something l

Re: [DUG] basic Service question

2009-10-08 Thread Dave O'Brien
Something like this? var Stopped: Boolean = false ; procedure TsvcSomeService.ServiceExecute(Sender: TService); var t: TDateTime ; begin try t := now - 720 ; While (not terminated) and (not stopped) do begin if now > t + (1/1440) then // Run once a minute begin

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

2009-08-06 Thread Dave O'Brien
The issue with 32 bit is that it can only address 4GB. Hardware uses space from 4GB down, so depending on the hardware, you lose anywhere up to 1GB from the available 4GB Windows limit. 64 bit still has the same issue, but from 128GB which is a Windows limit on Vista, probably the same for Win

Re: [DUG] MS Word replacement text

2009-06-15 Thread Dave O'Brien
False ; WA.Selection.Find.Execute() ; WA.Selection.TypeText(That) ; From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Dave O'Brien Sent: Tuesday, 16 June 2009 9:22 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DU

Re: [DUG] MS Word replacement text

2009-06-15 Thread Dave O'Brien
. What version of Office 2007, what service packs installed. Jason From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Dave O'Brien Sent: Monday, 15 June 2009 3:56 p.m. To: Jason Subject: Re: [DUG] MS Word replacement text Hi Jason, long time

Re: [DUG] MS Word replacement text

2009-06-15 Thread Dave O'Brien
text Its a long sho, but one usually does a and nobody has suggested the combination of #13#10 or CHR(13) CHR(10) which are the ASCII values associated with each in that order. - Original Message - From: Dave O'Brien <mailto:d...@iccs.co.nz>

Re: [DUG] MS Word replacement text

2009-06-14 Thread Dave O'Brien
ley wrote: Have you tried using just #10 (or is it just #13) Jason From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Dave O'Brien Sent: Monday, 15 June 2009 1:54 p.m. To: Jason Subject: [DUG] MS W

Re: [DUG] MS Word replacement text

2009-06-14 Thread Dave O'Brien
ailto:delphi-boun...@delphi.org.nz] On Behalf Of Dave O'Brien Sent: Monday, 15 June 2009 1:54 p.m. To: Jason Subject: [DUG] MS Word replacement text I'm working with Word templates, replacing markers with text. I'm having trouble with new lines in the text, i.e. I want a new line, b

[DUG] MS Word replacement text

2009-06-14 Thread Dave O'Brien
I'm working with Word templates, replacing markers with text. I'm having trouble with new lines in the text, i.e. I want a new line, but the Word document doesn't want to play. I have tried #13#10, but this just puts two spaces in the text. Is there another code I need to use to force a new lin

Re: [DUG] Detecting screensaver

2009-06-09 Thread Dave O'Brien
Have a look at this... http://support.microsoft.com/kb/318781 or http://support.microsoft.com/kb/315725 -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 10 June 2009 4:40 p.m. To: NZ Borland Developers Gro

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

2009-05-11 Thread Dave O'Brien
I can't download it 'cause I've never registered a product that lets me... -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Richard Vowles Sent: Tuesday, 12 May 2009 9:59 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DU

Re: [DUG] To post or not to post.

2009-02-16 Thread Dave O'Brien
I suspect you need to move the .edit to the onshow of the second form, unless you are freeing the form and re-creating it when it is called by the first form... -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Marshland Engineering Se

Re: [DUG] [Off topic] electronic parts

2009-01-11 Thread Dave O'Brien
Radio Spares is pretty good. http://newzealand.rs-online.com/web/ From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Leigh Wanstead Sent: Monday, 12 January 2009 3:14 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] [Off topic] electronic p

Re: [DUG] Rave Reports

2008-11-30 Thread Dave O'Brien
I have just started using Rave, bundled with 2009. It is easy enough to use, but has a few quirks. Seems to crash while generating a report quite often, even at runtime (that could be due to my environment of course). Closing the program and opening it again fixes it 50% of the time. Other bits, l

[DUG] Delphi 2009 Demos/Samples

2008-11-19 Thread Dave O'Brien
I have installed D2009 from download but cannot find the demo's. Any idea where these are installed, or where I can download them from? I am particularly interested in the TRibbon demo. Cheers, Dave. ___ NZ Borland Developers Group - Delphi mail

[DUG] SOAP

2008-08-20 Thread Dave O'Brien
On another note, using D2005, can anyone point me to example code or a tutorial for creating an ISAPI SOAP server? The help isn't much help to me, and I find the examples on the net a bit bitsy and confusing. Cheers, Dave. ___ NZ Borland Developers Gro

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Dave O'Brien
to instante with > a > TFileStream > > ADOQueryTest.sql.text := 'UPDATE table SET FileCol = > :FileColOBJECTS WHERE > ID = :ID'; > ... > > ADOQueryTest.Parameters.ParamByName('FileColOBJECTS').LoadFromStream(v > arStream, ftBlob); >

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Dave O'Brien
L PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave O'Brien Sent: Tuesday, 19 August 2008 10:11 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Images and MS SQL Server That's exactly what I am doing to save the image, how do I retrieve it? Every meth

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Dave O'Brien
E ID = :ID'; ... ADOQueryTest.Parameters.ParamByName('FileColOBJECTS').LoadFromStream(v arStream, ftBlob); ADOQueryTest.ExecSQL; Have a nice day Regards Leigh www.smootharm.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave O'Brien Sent: Monday, 18 August

Re: [DUG] Images and MS SQL Server

2008-08-17 Thread Dave O'Brien
If I put a TADOTable on the form and populate it, the Image field is ftBlob. The MSSQL datatype is "Image". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, 18 August 2008 4:25 p.m. To: NZ Borland Developers Group - Delphi List

Re: [DUG] Images and MS SQL Server

2008-08-17 Thread Dave O'Brien
So did I, but I can't tell if it's not working because it's not saving or loading... The problem is FieldByName doesn't have any saveto... methods. I have tried to cast it as a Tblobfield (TBlobField(adoq.fieldbyname('Image')).Saveto...), but either this doesn't work or my save code doesn't work

Re: [DUG] Images and MS SQL Server

2008-08-17 Thread Dave O'Brien
I've struck a complete blank on this. Can anyone show me some code to save and load images from SQL Server using TADOQuery? The methods I've come up with don't appear to work at all... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Fri

[DUG] Images and MS SQL Server

2008-08-14 Thread Dave O'Brien
I have worked out how to save an image into an Image field, but I'm having brain fade on how to retrieve the image... Using TADOQuery, D2005. Save: ... datamod.ADOU.SQL.Add(':Image)') ; ms := TMemoryStream.Create ; try Image.Picture.Bitmap.SaveToStream(ms);

[DUG] Twain

2008-06-02 Thread Dave O'Brien
Does anyone know of a decent Twain component For D2005 Win32? Regards, Dave. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTEC

RE: [DUG] Delphi 3 Upgrade

2008-05-26 Thread Dave O'Brien
Standard does not do DB as far as I remember. Only Pro +. -Original Message- From: "David Moorhouse" <[EMAIL PROTECTED]> To: "NZ Borland Developers Group - Delphi List" Sent: 27/05/08 4:55 p.m. Subject: Re: [DUG] Delphi 3 Upgrade My version installs DCLDB50.BPL Have you got this file

RE: [DUG] Cut/Copy/Paste

2007-11-06 Thread Dave O'Brien
e only fix that Borland ( now CodeGear) would produce. I still feel cheated by D2005 to be honest! Paul On 06/11/2007, Dave O'Brien <[EMAIL PROTECTED]> wrote: No, it's 2005 Pro... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

RE: [DUG] Cut/Copy/Paste

2007-11-06 Thread Dave O'Brien
de Gear had alerted us, after all it is a pretty major flaw - no right click options for edits etc. Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377 0496 web www.chreos.com Wild Software Ltd Dave O'Brien wrote: > In D2005 (Update 3), for some reason Cut Copy and Pa

[DUG] Cut/Copy/Paste

2007-11-06 Thread Dave O'Brien
In D2005 (Update 3), for some reason Cut Copy and Paste (as well as undo, redo) no longer work in the design time editor (they are fine in the code editor). This is with the keyboard shortcuts, right-click menu and main edit menu. Has anyone any idea how to restore this? The problem occurs with al

RE: [DUG] Delphi Compiler

2007-08-06 Thread Dave O'Brien
Definitely... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Jarvis Sent: Tuesday, 7 August 2007 10:52 a.m. To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Delphi Compiler Let me answer with a question Would a Delphi Compiler tha

[DUG] Delphi Compiler

2007-08-06 Thread Dave O'Brien
I know this has been asked before, is there any talk of a Delphi compiler for Windows Mobile? Regards, Dave. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe

RE: [DUG] firebird query parameters behaving oddly

2007-07-09 Thread Dave O'Brien
Could you change the string format being passed back to "10 Nov 2006" or something similar at the server? This should convert ok. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracey Sent: Tuesday, 10 July 2007 12:17 p.m. To: 'NZ Borland Developers Group

RE: [DUG] Drag and drop attachments from email

2007-07-03 Thread Dave O'Brien
Use a thread with a loop to wait for the file to exist? (or timeout after a period) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert martin Sent: Wednesday, 4 July 2007 1:09 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Drag and d

RE: [DUG] Friday afternoon question

2007-06-14 Thread Dave O'Brien
Cool, thank you, couldn't for the life of me find the savetofile just needed to cast the field as TBlobField... TBlobField(ADOQuery.FieldByName('DCImage')).SaveToFile... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Friday, 15 June 2

[DUG] Friday afternoon question

2007-06-14 Thread Dave O'Brien
I am storing data in a SQL Server 2000 image field. I have no problem writing the image to the table, but have a complete block for getting the image out again... I am using D2005 and TADOQuery. Any help please. Total mind blank. Regards, Dave. ___ N

[DUG] SQL Server Image Type

2007-06-07 Thread Dave O'Brien
Hi all, I have an image in a TBitmap, can't work out how to store it (probably retrieve it as well...) in an SQL Server 2000 Image field. Any ideas? Regards, Dave. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: h

RE: [DUG] Transparent Tlabel

2007-05-28 Thread Dave O'Brien
I vaguely recall an M$ DLL that needs to be placed in the application folder for 2000 and 98se. This replaces the system32 DLL with the calls required for XP style graphics. Something like comctl32.dll. I don't know if you can drop the XP one in or there is a specific one on the net. Dave. -

[DUG] htmlhelp2viewer.ideregister problem.

2007-05-13 Thread Dave O'Brien
Just installed SQL Server stuff on my machine (again) and have an error pop up when starting D2005. I have had this before but cannot remember the resolution and can't find anything useful on the web now... Anyone remember how to deal with this? Regards, Dave.

RE: [DUG]: Ctrl+Home WM_KEYDOWN Message

1999-05-12 Thread Dave O'Brien
OK... Whats 'kbd_event'? I can't find any reference to it. Dave. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 May 1999 22:36 To: Multiple recipients of list delphi Subject: Re: [DUG]: Ctrl+Home WM_KEYDOWN Message As suggested, you can use SelS

RE: [DUG]: Help Border Icon?

1999-05-09 Thread Dave O'Brien
Will this fire up windows help? Because thats not what I want... I just want to know when someones clicked with this icon on a control and display a few lines of text. Dave. -Original Message- From: Alistair George [mailto:[EMAIL PROTECTED]] Sent: Monday, 10 May 1999 16:48 To: Multiple re

[DUG]: Help Border Icon?

1999-05-09 Thread Dave O'Brien
Has anyone got an example of how to get this going? No events seem to fire when this border icon is selected.   I just want to display a hint type window with help for a specific control.   Dave. --- New Zealand Delphi Use

RE: [DUG]: Delphi & ASP

1999-05-09 Thread Dave O'Brien
Dave. -Original Message- From: Matthew Comb [mailto:[EMAIL PROTECTED]] Sent: Monday, 10 May 1999 14:30 To: Multiple recipients of list delphi Subject: Re: [DUG]: Delphi & ASP We are using version 4 on NT with SP4. Cheers, Matt. - Original Message - From: Dave O'Brien <

RE: [DUG]: Delphi & ASP

1999-05-09 Thread Dave O'Brien
What version of IIS are you using? -Original Message- From: Matthew Comb [mailto:[EMAIL PROTECTED]] Sent: Monday, 10 May 1999 11:30 To: Multiple recipients of list delphi Subject: [DUG]: Delphi & ASP Gidday,   We have just started using ASP and it looks really good. I was just wondering

RE: [DUG]: WebBrowser Component

1999-05-05 Thread Dave O'Brien
Dennis, You're right!!! It wont tab into or out of the component. Dave. -Original Message- From: Dennis Chuah [mailto:[EMAIL PROTECTED]] Sent: Thursday, 6 May 1999 15:14 To: Multiple recipients of list delphi Subject: RE: [DUG]: WebBrowser Component Xander, Dave, Tried it on another

RE: [DUG]: WebBrowser Component

1999-05-05 Thread Dave O'Brien
FOleInPlaceActiveObject.TranslateAccelerator(Msg); > end; > end; > > // need the initialization/finalization to make Cut and Copy work > initialization > OleInitialize(nil); > > finalization > OleUninitialize; > end. > // >

RE: [DUG]: WebBrowser Component

1999-05-04 Thread Dave O'Brien
ion to make Cut and Copy work > initialization > OleInitialize(nil); > > finalization > OleUninitialize; > end. > // > -- > > > > Hope this helps > Xander van der Merwe > &g

RE: [DUG]: WebBrowser Component

1999-05-02 Thread Dave O'Brien
OleInitialize(nil); finalization OleUninitialize; end. //-- Hope this helps Xander van der Merwe -Original Message- From: Dave O'Brien <[EMAIL PROTECTED]> To: Multiple recipients of list delp

RE: [DUG]: WebBrowser Component

1999-04-28 Thread Dave O'Brien
y way around it. Patrick Dunford, Christchurch, NZ http://patrick.dunford.com/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Dave O'Brien > Sent: Thursday, 29 April 1999 10:35 > To: Multiple recipients of list

[DUG]: WebBrowser Component

1999-04-28 Thread Dave O'Brien
I know a few people have asked about this component before, how do I get the TAB key to move between fields in a form in the WebBrowser activex component. I've got everything else working fine, and I am trapping the TAB keypress in the main form, but what do I do with it? I have looked through the

[DUG]: biHelp Border Icon?

1999-04-21 Thread Dave O'Brien
In Delphi 3, how do you implement the border help icon? Once clicked on, no standard events seem to get fired to determine which component has been clicked on for help, and I can't work out which event does get fired. Cheers, David O'Brien. p.s. We are using ODBC98 components (http://www.odbc98

RE: [DUG]: Printing from NT via ASP

1999-03-09 Thread Dave O'Brien
ng the dll. If it's IIS 4 then your NTS setup should let you specifiy the identity. Dave O'Brien <[EMAIL PROTECTED]> on 10/03/99 07:37:15 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi <[EMAIL PROTECTED]> cc:(bcc: Peter Jones/L

[DUG]: Printing from NT via ASP

1999-03-09 Thread Dave O'Brien
Hi there... I have written a dll to print simple reports (using tprinter) which resides on an NT server and is supposed to be called from ASP. The dll works fine when called from outside the web server, but when called from ASP returns 8000 "There is no default printer currently selected". H

RE: [DUG]: JustOne32

1999-02-07 Thread Dave O'Brien
I found this code works, and is really easy to implement... In the Application source... var hMutex: THandle ; begin hMutex := CreateMutex(nil, False, 'OneCopyMutex') ; if WaitForSingleObject(hMutex, 0) <> Wait_TimeOut then begin Application.Initialize; ... Application.Run;