[DUG] Help Detecting Windows Version

2010-12-12 Thread Alan Rose
Hi, has anyone got a function they can share that will detect all current versions of Windows out there? F.i. My old routine cant detect Windows Server 2008 64 bit Tried googling but can only find outdated code like mine. ___ NZ Borland Developers

Re: [DUG] Help Detecting Windows Version

2010-12-12 Thread Alan Rose
identify 64-bit-ness. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alan Rose Sent: Monday, 13 December 2010 12:50 To: NZ Borland Developers Group - Delphi List Subject: [DUG] Help Detecting Windows Version Hi, has anyone

Re: [DUG] Help Detecting Windows Version

2010-12-12 Thread Alan Rose
FWIW I found what I needed regarding 64 bit detection with this code I found online class function TOSInfo.IsWOW64: Boolean; type TIsWow64Process = function( Handle: THandle; var Res: BOOL ): BOOL; stdcall; var IsWow64Result: BOOL; IsWow64Process: TIsWow64Process; begin IsWow64Process

Re: [DUG] Help Detecting Windows Version

2010-12-12 Thread Alan Rose
Sadly by the time they release Delphi 64 bit I will have been fully converted into a dot net programmer and using VS. Sad but true in my case. Of course, should we ever get a 64-bit compiler, you can be pretty damned sure you are running on 64-bit Windows if/when you are compiling to a

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

2010-01-21 Thread Alan Rose
I think a quick play with seek co nz will tell you the story of where Delphi is heading here in NZ. Delphi keyed in as a keyword only returned 6 entries (in Auck only) and I doubt most are referring to Delphi as a major language as well. Forget how good Delphi is as a RAD tool I think its sad it

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

2010-01-21 Thread Alan Rose
-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Alan Rose Sent: Friday, 22 January 2010 11:42 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] What is the future for Delphi programmer? - summary I think a quick play with seek co nz will tell you

Re: [DUG] IPC with an elevated program

2010-01-18 Thread Alan Rose
If you want to to use shared memory in Vista and above its best to write a service to create global shared memory that all users can access. The key here is global shared memory and with the right security bits set. Best to Google global shared memory for more info. heres one link I found that

Re: [DUG] Program screen video capture

2009-08-23 Thread Alan Rose
I'll second that. Easy to learn and free. It even creates the html script to run your flash movie so all you have to do is create a nice little html intro to present your movie(s). I strongly recommend Wink. It does all I want and for best price (free). http://www.debugmode.com/wink/

Re: [DUG] Can anyone explain this?

2009-08-02 Thread Alan Rose
It just a guess but with ADO it might pay to use the ODBC Canonical form of the date or timestamp in your filter. This avoids any misunderstanding due to localization when using dates. The date format is {d '-mm-dd'}e.g { d '2009-03-01'} no idea if it works in a filter -Original

Re: [DUG] Can anyone explain this?

2009-08-02 Thread Alan Rose
I'll just add to my last post, if the field is actually a timestamp then use { ts '-mm-dd hh:nn:ss'} -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jeremy Coulter Sent: Monday, 3 August 2009 11:25 a.m. To: 'NZ Borland

Re: [DUG] Future of us Delphi programmer in New Zealand?

2009-04-08 Thread Alan Rose
Probably because Delphi came out before Visual Studio and they didn't see the need to change. On the Delphi thing, I only see the Net getting bigger, faster, and more secure. So it heaps of new cheap low power devices slowly but surely encroaching over the PC's domain in business and especially at

Re: [DUG] RAD Studio launch

2008-11-16 Thread Alan Rose
Haven't you heard. Wellington is only the third largest city in NZ, so it doesn't count. :-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of That Job Sent: Monday, 17 November 2008 11:09 a.m. To: delphi@delphi.org.nz

[DUG] Keep DCOM Server Alive

2008-08-25 Thread Alan Rose
Anyone know a trick to keep a dcom server alive after its been started by a client then that client exits. I don't want to have to start the server first and I dont what to have to write a external guardian or some other external app. Any ideas. Somehow I need to increase the reference count

Re: [DUG] [Off topic] How to become an IT Architect?

2008-07-28 Thread Alan Rose
Probably * Move to Wellington and buy a black suit. * Be good at drawing diagrams and listing requirements. * Finally pass on task to those below you to implement, then take full credit from CEO. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [DUG] Delphi update 7.1

2008-07-28 Thread Alan Rose
FWIW I'm pretty sure I've used 7.1 with no problems. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Garton Sent: Tuesday, 29 July 2008 4:13 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG]

RE: [DUG] Delphi PHP

2008-05-19 Thread Alan Rose
Hi John I have just started looking into PHP and recently downloaded PHP for Delphi. Its too early for me to give any real feedback, however I did get a socket error when trying to open a project. I clicked the box to send the error back to HQ and to their credit I got a response the next day with

RE: [DUG] Developers not upgrading

2008-05-08 Thread Alan Rose
Hi Phil, I have found the Delphi 2007 IDE (win32 only) to be an improvement over D2006 for reliability, however still some glitches. It seems however if you can hold out for Tiburon released later this year you will get your Unicode support as well. Personally I'll be looking for a sign that

[DUG] FYI Roadmap Updated

2008-04-23 Thread Alan Rose
http://dn.codegear.com/article/36620 ___ 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 PROTECTED] with Subject: unsubscribe

RE: [DUG] Menus

2008-04-23 Thread Alan Rose
Add them to an Actionlist then they can share -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rohit Gupta Sent: Thursday, 24 April 2008 2:28 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Menus My brain is not working today. Is

[DUG] Change Service Startup Type to Disabled

2007-05-13 Thread Alan Rose
Anyone know how to change a Service Startup Type from Automatic to Disabled in code? ___ 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

RE: [DUG] Change Service Startup Type to Disabled

2007-05-13 Thread Alan Rose
) then ShowMessage(SysErrorMessage(GetLastError)); end else ShowMessage(SysErrorMessage(GetLastError)); end else ShowMessage(SysErrorMessage(GetLastError)); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Rose Sent: Monday, 14 May 2007 3:12 p.m

[DUG] Program Filer Directory

2007-05-07 Thread Alan Rose
Just wondering if anyone has held of a directory called Program Filer most likely found on a Norwegian version of Windows XP. Is it a system folder etc. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

RE: [DUG] Sending data between process on same computer on windows

2007-05-07 Thread Alan Rose
You can still however share memory between a service and desktop app if you create global shared memory. If you have the service create the memory then you dont have to worry about the desktop app running at admin level. From: [EMAIL PROTECTED]

RE: [DUG] Vista and Ini files

2007-05-01 Thread Alan Rose
I think anyone who is thinking of going against the tide by bypassing or sidestepping the new security features with Vista should think twice. File virtualization (FV) for system folders and registry are only there for legacy support. Eventually MS will turn FV and other legacy features off and

RE: [DUG] Cannot attach to service manager

2007-04-23 Thread Alan Rose
Wasn't as bad as I first thought, just needed to change protocol to TCP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Rose Sent: Monday, 23 April 2007 4:32 p.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] Cannot attach

[DUG] Cannot attach to service manager

2007-04-22 Thread Alan Rose
I'm running a firebird 2.0 backup util on Vista using IBBackupService and also doing a validation using TIBValidationService. This runs fine on XP and I've had no problems connecting to FB normally on vista using localhost protocol, however the backup keeps coming up Options Error Cannot attach to

RE: [DUG] Weird behavior in Vista

2007-04-19 Thread Alan Rose
Is there an entry for x.exe under [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent: Friday, 20 April 2007 11:07 a.m. To: NZ Borland Developers

RE: [DUG] Weird behavior in Vista

2007-04-19 Thread Alan Rose
Yeah, I asked this question back on the 12/4 as I to found this entry was causing my app to run slow. I believe Iv'e used this tool as well in the past, but never again :) FWIW am I the only one who has to wait up to ten minutes to see my post appear. Its only this newsgroup that this happens to

RE: [DUG] Weird behavior in Vista

2007-04-19 Thread Alan Rose
I was suspecting our spam filters on our server because I get the occasional DUG message in my spam folder. Kind of takes that quick interactive aspect away when there are huge delays. If its not the news group then I'll have to solve it here another day. Thanks to Phil Scadden for your

[DUG] Vista Summary Link

2007-04-19 Thread Alan Rose
I can see there are going to be a lot more Vista questions coming up on this NG and its hard to find good Delphi documentation on these topics. Here's a link I found yesterday which gives a nice summary of issues that I thought was worth sharing. Note it's a 4mb PowerPoint doc

RE: [DUG] Vista Summary Link

2007-04-19 Thread Alan Rose
Oops here is a more friendlier link with the i.ppt appended :) http://bdntv.borland.com/pix/fhaglund/VistaUACandDelphi/VistaUACandDelph i.ppt If it happens again paste this bdntv.borland.com/pix/fhaglund/VistaUACandDelphi/VistaUACandDelphi.ppt

RE: [DUG] Vista Services

2007-04-17 Thread Alan Rose
Yeap I read up about that yesterday. I've found an interesting link that talks about the problem I have with (Vista) Global shared memory between services and apps so hopefully I'll have that resolved today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [DUG] Vista Services

2007-04-17 Thread Alan Rose
FWIW I think the service has to create the global shared memory first on Vista. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Sent: Tuesday, 17 April 2007 6:29 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Vista

RE: [DUG] Vista Services

2007-04-17 Thread Alan Rose
I think this link should work. Our web services are down this morning so I can't check. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=748596SiteID=1 From the quick read I had yesterday its a new security feature in Vista to stop malicious software from creating havoc in shared memory. As

[DUG] Vista Services

2007-04-16 Thread Alan Rose
Anyone else having trouble getting a service they have written to work on Vista? My service runs fine on XP and debug code fails to even execute at servicestart procedure. Computer management tool reports started Ok? Suspect new security feature at play.

RE: [DUG] Vista Services

2007-04-16 Thread Alan Rose
it in task manager? Yeap, just creating a new simple test service now for easier debugging. If I find out anything interesting I'll let you know. Myles. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Rose Sent: Tuesday, 17 April 2007 02:49

RE: [DUG] Vista Services

2007-04-16 Thread Alan Rose
Ok it appears to be more of an issue with shared memory now. Vista appears to be a bit more fussy with shared memory security etc Ive found some good reference on the net and working through it -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan

[DUG] Image File Execution Options- App running slow

2007-04-11 Thread Alan Rose
Does anyone know if theres a relationship between Delphi and entries in the registry under [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options] I noticed in the last day or two my app was running slow and whats more if I renamed the exec file it would

RE: [DUG] d2007 trial now available

2007-04-04 Thread Alan Rose
Is this an online install via your download manager? I'd like to install trial on a standalone machine. (ie no internet connection) If so is there an install executable I can download. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Vowles

[DUG] Vista Question

2007-04-04 Thread Alan Rose
Hi, I'm just getting to grips with Vista today and UAC. I see application data is supposed to be written to the common Appdata folder which on Vista is c:\programdata. However this folder appears to be a hidden system folder. Anyone know why this is. Makes it awkward if you want a user to grab a

[DUG]: 3DS files

2003-04-01 Thread Alan Rose
If anyone on this list knows of someone who can alter 3DS files (3D object) can they please email me direct. Thank you. Alan This electronic message, together with any attachments, is confidential and intended to be read by the named recipient. It may contain information that is confidential,

[DUG]: Can not close db connection

2003-04-01 Thread Alan Rose
I have a piece of code that uses IBXpress and Firebird to insert 25 thousand records into an empty database The process will put the records into four new tables and create four update store procedures as well. The problem is when I go to call IBDatabase1.connected := False; It just hangs there

[DUG]: Large Fonts

2003-03-20 Thread Alan Rose
Third party resizing components aside. I would be keen to hear from anyone how they dealt with resizing issues between large and small fonts. The typical problem you see is a form border covering components placed at the edge of the form when viewed on a PC using large fonts. I did a search on

RE: [DUG]: Large Fonts

2003-03-20 Thread Alan Rose
Thanks for that Max. The only remaining issue is that Delphi, by design, does not scale the actual form, only all the components on it. I did read on one of the other newsgroups that this behaviour was only with resizable forms. ie dialogs and single borderstyles do resize. But don't quote me

RE: [DUG]: Formating integer

2003-01-26 Thread Alan Rose
From Delphi help about format strings"%" [index ":"] ["-"] [width] ["." prec] typed Decimal. The argument must be an integer value. The value is converted to a string of decimal digits. If the format string contains a precision specifier, it indicates that the resulting string must contain

RE: [DUG]: Hint delay

2002-12-27 Thread Alan Rose
Application.HintHidePause -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alistair George Sent: Saturday, 28 December 2002 1:31 p.m. To: Multiple recipients of list delphi Subject: [DUG]: Hint delay Anyone know if there is a method to increase the

RE: Re: Re: [DUG]: .net vs websnap

2002-08-02 Thread Alan Rose
Peter Wrote: Delphi 7 has a lot of enhancements aimed at the move to .NET. Thecompiler works very well. A simple app was demonstrated that ran on aWindows PC and a Compac IPac running Windows CE. Looked the same, andthe code was just the same as we all know and love.Fantastic! Can't wait

[DUG]: Mail Merge

2001-11-13 Thread Alan Rose
Hi, I have an application in which I wish to create a mail merge feature and the contact information is held in a Access db. Can anyone suggest a way they have handled this in the past. My initial idea's include doing something with a word document though I believe this would mean they would need

[DUG]: Stringgrid not repainting

2001-10-17 Thread Alan Rose
Hi , I am using the ownerdraw method on a stringgrid and anything works fine until I scroll the grid. for some reason the drawcell event is not firing when a new section is scrolled into view. If I call the repaint method manually (temp button) then that corrects the problem. However I should not

RE: [DUG]: Stringgrid not repainting

2001-10-17 Thread Alan Rose
Ok my mistake it was firing just a logic problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Rose Sent: Thursday, October 18, 2001 3:29 PM To: Multiple recipients of list delphi Subject: [DUG]: Stringgrid not repainting Hi , I am using

[DUG]: [OffTopic] Work Wanted

2001-10-10 Thread Alan Rose
Hi, For Whom It May Concern. We have two experienced Delphi contractors looking for work. All areas of NZ considered. For more details please email me at [EMAIL PROTECTED] Thank you. --- New Zealand Delphi Users group -

[DUG]: Quality Icons

2001-09-04 Thread Alan Rose
Hi, can someone recommend where I can purchase or download quality icons or bitmaps for buttons. Most sites I have found on the net are of poor quality. I am looking for a set that will give my application a consistent look.

RE: [DUG]: Wrap text

2001-08-24 Thread Alan Rose
If you dont mine no source code try http://www.marcocantu.com/tools/cantools.htm (Freeware) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Osborne Sent: Saturday, August 25, 2001 1:49 PM To: Multiple recipients of list delphi Subject: [DUG]: Wrap

RE: [DUG]: DB Grids

2001-08-15 Thread Alan Rose
TFields has a readonly property. This will allow you to make some columns readonly. Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Martin Sent: Tuesday, October 16, 2001 10:13 AM To: Multiple recipients of list delphi Subject: [DUG]: DB Grids Hi

RE: [DUG]: DB Grids

2001-08-15 Thread Alan Rose
Use the DBGrids DrawColumnCell event Example procedure TfrmMain.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); begin with (Sender as TDBGrid).Canvas do begin // here we are testing if this row is selected

RE: [DUG]: Destroying Objects

2001-07-18 Thread Alan Rose
I agree with what you say, no arguments there, but it's a very good question. As I have often wondered if these memory leaks only relate to the life time of the application. Somewhere in the past I am sure I read that Windows will release all associate memory with that application (very

RE: [DUG]: Sharing a bitmap between processes

2001-07-16 Thread Alan Rose
How about a resource dll. Heres an example from the delphi3000.com site Create and build an empty DLL project, that contains a resource link reference to the .res file that contains your resources. library ResTest; uses SysUtils; {$R MYRES.RES} begin end. To use you resource only DLL,

RE: [DUG]: Operation must be an updateable query

2001-07-15 Thread Alan Rose
Are you doing batch updates? ie Lock type ltBatchOptimistic. Else if it's a direct update maybe your SQL is not returning a live result set (due to conditions you put on it). You can check this with the Canmodify method -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [DUG]: If you had to choose (win98se or WinMe)

2001-07-08 Thread Alan Rose
No. I think anyone who has already been on Win2000 will tell you the 9x series is nothing compared to the new Win architecture for stability. I dont believe there is anything to gain from going from 98 to ME. I would go for Win2000 or wait for XP. Cheers. PS This is from a programming

RE: [DUG]: if case else

2001-06-27 Thread Alan Rose
You missed the end cause for the first begin. eg if InputIsCDG then begin case WriteRadioGroup.itemindex of 0: BINbuffer := EmptyWAV; 1: BINbuffer := CDGbuffer; 2: BINbuffer := EmptyWAV+CDGbuffer; end; end else begin case WriteRadioGroup.itemindex

RE: [DUG]: if case else

2001-06-27 Thread Alan Rose
I feel like I've just been in one of those radio contents where the ninth caller gets a prise. :) --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

RE: [DUG]: if case else

2001-06-27 Thread Alan Rose
No price for spelling contests wrong though --- 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

RE: [DUG]: if case else

2001-06-27 Thread Alan Rose
Oops sticky fingers. Second reply was trying fix my spelling mistake. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Rose Sent: Thursday, June 28, 2001 4:24 PM To: Multiple recipients of list delphi Subject: RE: [DUG]: if case else I feel like

RE: [DUG]: The Long and Winding Road

2001-06-25 Thread Alan Rose
Peter try this link. It may be of interest to you. http://xtra.co.nz/technology/0,,818-537322,00.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Harrop Sent: Tuesday, June 26, 2001 11:34 AM To: Multiple recipients of list delphi Subject: Re:

RE: [DUG]: TToolbar button resize glitch - clarification

2001-06-12 Thread Alan Rose
That's the toolbars normal behaviour with a ttoolbutton. For unique button sizes try using tspeedbuttons instead -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of James Low Sent: Wednesday, June 13, 2001 9:00 AM To: Multiple recipients of list delphi

RE: [DUG]: HP Printer - CPU Window via ( F12 - CPU debug window)

2001-06-07 Thread Alan Rose
in the Delphi exception reside in C:\WINNT\system32\spool\drivers\w32x86\2 Therefore I was able to add the following line to the autoexec.bat file: PATH=C:\WINNT\system32\spool\drivers\w32x86\2;%PATH% -Original Message- From: Alan Rose [mailto:[EMAIL PROTECTED]] Sent: Thursday, 7 June 2001

[DUG]: D6 Product Launch

2001-05-30 Thread Alan Rose
Having seen the D6 product launch today in Chch I'd be keen to hear what other people on this list felt about the new D6. I'd like to start off by saying thank you to Borland for putting the event on today. The speaker John K. (Sorry name escapes me) did a wonderful job of demonstrating D6. That

RE: [DUG]: Checkboxs in TListview

2001-05-24 Thread Alan Rose
Boolean(Item.StateIndex) then // checkbox state changed begin Item.StateIndex := Integer(Item.Checked); // post change to DB here as we know which item has changed end; end; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Rose

RE: [DUG]: TDateTimePicker/Win32

2001-05-23 Thread Alan Rose
Cheers Dennis that works. The chocolate fish is yours. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis Chuah Sent: Wednesday, May 23, 2001 3:55 PM To: Multiple recipients of list delphi Subject: RE: [DUG]: TDateTimePicker/Win32 Have you tried

RE: [DUG]: TDateTimePicker/Win32

2001-05-22 Thread Alan Rose
Another good use is to set the format to 'h:mm tt' for the time mode to get rid of those stupid seconds. You obviously also figured out you need commctrl in uses clause which I left out. After writing this I thought to myself I really should see if I could put code into a enhanced component of

RE: [DUG]: how to generate an event

2001-05-21 Thread Alan Rose
stringgrid1.repaint I believe should fire off that event (not tested). If thats what you are asking. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Damien Long Sent: Monday, May 21, 2001 5:27 PM To: Multiple recipients of list delphi Subject: [DUG]: how

RE: [DUG]: ownerdraw on Listviews

2001-05-01 Thread Alan Rose
I see the listview has the ownerdraw property so set this to True and use the oncustomdraw event. Delphi's help on oncustomdraw should then help you out. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Coulter Sent: Wednesday, May 02, 2001 8:24 AM

RE: [DUG]: TTreeView Update

2001-04-29 Thread Alan Rose
You mean something like this example that is appending the charactor 'X' to the value in the fourth column on the first row of the listview Listview1.Items.Item[0].SubItems.Strings[3] := Listview1.Items.Item[0].SubItems.Strings[3] + 'X'; -Original Message- From: [EMAIL PROTECTED]

RE: [DUG]: TTreeView Update

2001-04-29 Thread Alan Rose
Oops. Fourth Column would be Listview1.Items.Item[0].SubItems.Strings[2] as caption is first column then substrings -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Rose Sent: Sunday, April 29, 2001 9:00 PM To: Multiple recipients of list delphi

[DUG]: Access DateTime

2001-04-22 Thread Alan Rose
Hi, I have been using the following syntax to update a datetime field in a Access 2000 table Update tablename set field = #23-APR-2001# I'd now like to add a timestamp as well, but have had no luck in figuring out the syntax. e.g. Update tablename set field = #23-APR-2001 02:23:00 PM# Can

RE: [DUG]: Access DateTime

2001-04-22 Thread Alan Rose
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Monday, April 23, 2001 10:03 AM To: Multiple recipients of list delphi Subject: Re: [DUG]: Access DateTime Alan What about Update tablename set field = '2001-04-23 14:23:00' - Original Message - From: Alan

RE: [DUG]: Access DateTime

2001-04-22 Thread Alan Rose
even - Original Message - From: Alan Rose [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, 23 April 2001 10:15 Subject: RE: [DUG]: Access DateTime No luck. My only solution to date has been to use a parametised dataset. But i'd really like to do

RE: [DUG]: Mapi...What is the most painless way to get started.

2001-03-26 Thread Alan Rose
Hi Steve, I went to www.delphi3000.com and typed mapi into their search engine. There where two examples there that should help you on your way. If you have not used this site before, you need to become a member first. Which simply involves registering your name etc. -Original Message-

[DUG]: Mobile Development

2001-03-22 Thread Alan Rose
Thanks guys for those links. I can't believe Borland have over looked the potential of this market. After all it was in their poll last year. Maybe they are keeping it all under wraps but I dont see why as Kylix was announced well in advance. Many programmers are turning to languages like Java

RE: [DUG]: Array - deleting an element

2001-03-21 Thread Alan Rose
You are probably confusing a TStringList with a Tlist. If you have multi variable types then a Tlist is a good choice. Look up Tlist.Add for a good example. If you have Delphi 5 then TObjectList is another choice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

RE: [DUG]: Array - deleting an element

2001-03-21 Thread Alan Rose
PROTECTED] - Original Message - From: "Alan Rose" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL PROTECTED] Sent: Thursday, March 22, 2001 10:56 AM Subject: RE: [DUG]: Array - deleting an element You are probably confusing a TStringList with a Tlis

RE: [DUG]: changing a string containing a USA date to an Aussie date

2001-03-20 Thread Alan Rose
You must be interested in the time portion to use that function. If you look in help you will see it says. Note: The format of the date and time string varies when the values of date/time formatting variables are changed. So mm/dd/yy is not a fixed format it was simply used in the format

[DUG]: FW: SS

2001-03-19 Thread Alan Rose
-Original Message- From: Secret Service [mailto:Secret Service] Sent: Tuesday, March 20, 2001 12:15 PM To: [EMAIL PROTECTED] Subject: SS Ok guys project "Divert Mir" is now complete. At 0100 hours tonight agent Trevor when will activate the No.8 guidance mechanism thingee to divert

RE: [DUG]: Zip components

2001-03-18 Thread Alan Rose
Not free, but local. Try http://www.spis.co.nz/compress.htm -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark HowardSent: Tuesday, March 20, 2001 11:14 AMTo: Multiple recipients of list delphiSubject: [DUG]: Zip components Hi all

RE: [DUG]: BMP to JPEG

2001-03-14 Thread Alan Rose
This link was posted a few weeks ago and has what you are looking for http://www.volweb.cz/pvones/delphi/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John Christenhusz Sent: Thursday, March 15, 2001 8:30 AM To: Multiple recipients of list delphi

RE: [DUG]: TForm.Print

2001-03-06 Thread Alan Rose
]: TForm.Print Almost works, but prints a 2cm square form in the middle of the page. Really needs to fill the page. Cheers, Dave. -Original Message- From: Alan Rose [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 6 March 2001 10:14 To: Multiple recipients of list delphi Subject: RE: [DUG

RE: [DUG]: TForm.Print

2001-03-05 Thread Alan Rose
Try this rountine. Just assign FormHandle to whatever form you are printing. uses printers; procedure TForm1.Button1Click(Sender: TObject); var FormHandle: THandle; wDC: HDC; SrcRect: TRect; Bmp: TBitmap; begin Bmp := TBitmap.Create; with Bmp do try FormHandle := Self.Handle;

RE: [DUG]: TForm.Print

2001-03-05 Thread Alan Rose
Small Correction. procedure TForm1.Button1Click(Sender: TObject); var FormHandle: THandle; wDC: HDC; SrcRect: TRect; Bmp: TBitmap; begin Bmp := TBitmap.Create; with Bmp do try FormHandle := Self.Handle; Try SetForegroundWindow(FormHandle);

RE: [DUG]: DCOM clients

2001-02-26 Thread Alan Rose
You canimplementcallback routines through DCOM but of course you are relying on the client to be attached at all times. Another way is to simply have your client poll your server forcustom messages that are stored by the server (much like email) so your client will eventually get the

[DUG]: CPU Window

2001-02-12 Thread Alan Rose
Can anyone tell me how I prevent the CPU window popping up whenever I run printing code such as found in Quick Reports (not an exception). Its almost like there's some sort of breakpoint. In fact theres a line after the current line that reads ntdll.dbgUserBreakPoint. However I have no

RE: [DUG]: D3Pro Update Disk rev.1

2001-02-11 Thread Alan Rose
This may be of no use to you, but anyone using an old version of Delphi may be interested to know that the Jan issue of PC Plus magazine now selling ($26). Has on its attached CD the full working version of Delphi 4 Standard. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [DUG]: There are a Kylix trial version ?

2001-02-08 Thread Alan Rose
Does anyone know any stats\percentages on numbers of Linux users (home, office) in NZ or elsewhere for that matter? Or is it just a guessing game? A rough guess would even suffice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nic Wise Sent: Friday,

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

2001-02-05 Thread Alan Rose
Everyone knows Christchurch is the IT capital of NZ. ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Derricutt Sent: Tuesday, February 06, 2001 11:10 AM To: Multiple recipients of list delphi Subject: RE: [DUG]: Borland Kylix product launch and

RE: [DUG]: CD Rom problems

2001-01-30 Thread Alan Rose
This link will give you some ideas. http://www.delphi3000.com/articles/article_297.asp To suppress the blue screen you need to call ErrorMode := SetErrorMode(SEM_FailCriticalErrors); Do your disk test then restore mode SetErrorMode(ErrorMode); another article

RE: [DUG]: Rich Edit Graphics

2001-01-27 Thread Alan Rose
The following text loaded into a richedit( e.g RichEdit1.Lines.LoadFromFile('c:\example.rtf');) produces a ruling line. Basically a line of spaces with underline turned on {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\ fprq2\fcharset0 Times New Roman;}}

RE: [DUG]: MDAC Install

2001-01-25 Thread Alan Rose
Ok it seems having MDAC on WIN95 doesnt nessessary mean the DataLinkDir will exist so it pays to use foredirectories first e.g Forcedirectories(DataLinkDIR()); CreateUDLFile(DataLinkDIR() +'\mydb.udl','Microsoft.jet.OLEDB.4.0','Data\mydb.mdb');

RE: [DUG]: ADO woes

2001-01-24 Thread Alan Rose
I can highly recommend the book "Advanced Delphi Developers Guide to ADO" by Alex Fedororov and Natalia Elmanova. It has certainly helped me out on a number of occasions. Check out http://d5ado.homepage.com for TOC. I got my copy through Flying Pig, though it did take them awhile. So Amazon.com

RE: [DUG]: Where can I learn?

2001-01-24 Thread Alan Rose
There was a Chch Delphi Users Group awhile back but I'm not sure if it is still active. Maybe someone else can confirm this. If you are good at teaching your self then the Book "Mastering Delphi 5" by Marco Cantu is good. Best to check your library first who know's what you will find and save

[DUG]: MDAC Install

2001-01-24 Thread Alan Rose
Can anyone recommend how they check MDAC is installed. Especially on Win95 I was using the below ADO code on a Win95(B) PC. It reported True and ADOConnection.version reported version 2.1 was installed but when I executed: CreateUDLFile(DataLinkDIR() +

RE: [DUG]: Detecting other instances

2001-01-24 Thread Alan Rose
Your welcomed to the attached file in your dpr file call EnsureSingleInstance e.g Application.Initialize; EnsureSingleInstance; -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Colin DillicarSent: Thursday, January 25, 2001 5:14 PMTo:

  1   2   >