[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
Of Jeremy Coulter Sent: Friday, 20 April 2007 11:50 a.m. To: 'NZ Borland Developers Group - Delphi List' Subject: RE: [DUG] Weird behavior in Vista Nope, I am in that boat too Alan. Takes ages for my posts to arrive too ___ NZ Borland Developers

[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]: ClassID

2003-10-16 Thread Alan
Anyone know what a person using C++ would call to do the same function as below myGuid := ProgIDToClassID('MyServer.MyProgID'); --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

RE: [DUG]: Slow email / xtra

2003-10-07 Thread Alan
Perhaps the mail server is using .Net ;-) -Original Message- From: Aaron Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 October 2003 3:39 p.m. To: Multiple recipients of list delphi Subject: RE: [DUG]: Slow email / xtra Strange things are happening... The last few days

[DUG]: Spanish Problem

2003-10-01 Thread Alan
Hi, I got a simple piece of code that reads an text file with three floating point values separated by tabs (no extra hidden characters) The first line looks like -180 -74 287.472 The line Depth := trunc(StrToFloat(extractword(3,txtline,[' ',#9]))); causes an exception when run on a Spanish

RE: [DUG]: Spanish Problem

2003-10-01 Thread Alan
Thanks Guys you are all correct its a ',' problem. Cheers I've learnt something new. Chocolate fishes all round. -Original Message- From: Max Nilson [mailto:[EMAIL PROTECTED] Sent: Thursday, 2 October 2003 10:38 a.m. To: Multiple recipients of list delphi Subject: RE: [DUG]:

RE: [DUG]: Interbase/Firebird Forced Writes

2003-08-14 Thread Alan
If it's of any use to someone else I found I could use the Interbase Admin components IBConfigService and IBStatisticalService to read and set Forced Writes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 11 August 2003 9:25 a.m. To: Multiple

[DUG]: Interbase/Firebird Forced Writes

2003-08-11 Thread Alan
Hi, I know I can turn on and off Forced Writes (sychronous or aschronous writes) in a database using the gfix utility, but does anyone know how you can tell what state the database is currently in from code? I imagine there must be some SQL I can run that would give me this information. If I could

[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: [DUG]: Shock! Horror!

2002-12-16 Thread Rose, Alan (MDF Rangiora)
I think it's more of a case of it's out of hands and let's wait and see what actually happens. Given their recent dealings with the court I would have thought it would be much harder for Microsoft to throw their weight around. Still didn't I read in that Friday post Dave Fuller was prepared to

RE: [DUG]: Shock! Horror!

2002-12-16 Thread Rose, Alan (MDF Rangiora)
One development package to rule them all :-) -Original Message- From: James Sugrue [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, 17 December 2002 11:22 To: Multiple recipients of list delphi Subject:Re: [DUG]: Shock! Horror!

RE: [DUG]: Range check error

2002-12-10 Thread Rose, Alan (MDF Rangiora)
Is it a self contained executable. Ie not reliant any packages etc -Original Message- From: Mark Howard [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 11 December 2002 14:52 To: Multiple recipients of list delphi Subject:[DUG]: Range

[DUG]: OPC - Delphi

2002-12-09 Thread Rose, Alan (MDF Rangiora)
Probably a long shot but has anyone on this list done any OPC work before. In particular I am having trouble doing a multiple tag update. (ie. OPCSyncIO(SyncIOIf).Write method) DISCLAIMER: This electronic message together with any attachments is confidential. If you are not the intended

RE: [DUG]: Installer

2002-12-03 Thread Rose, Alan (MDF Rangiora)
Check this one out Alistair. Its free and easy to use. http://www.createinstall.com/setupgen/index.htm -Original Message- From: Alistair George [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 4 December 2002 13:32 To: Multiple recipients of list delphi

RE: [DUG]: 2D and 3D design issues

2002-11-24 Thread Rose, Alan (MDF Rangiora)
I am not an expert in this field but I believe your best options for 3D rendering would be OpenGL or DirectX. Do a search on Delphi DirectX -Original Message- From: Paul Roper [SMTP:[EMAIL PROTECTED]] Sent: Monday, 25 November 2002 15:27 To:

RE: [DUG]: Application icon oddity

2002-10-20 Thread Rose, Alan (MDF Rangiora)
Maybe worth copying the image into a new icon file (also give it a different name) using Delphi's Image Editor. The image editor should ensure it meets the right criteria. Or at least load an icon you know that works in another app to illuminate the icon as the cause of the problem.

RE: [DUG]: Detecting credit card type by card number

2002-10-16 Thread Rose, Alan (MDF Rangiora)
Try the JB Credit Card Validator at http://www.torry.net/creditcards.htm http://www.torry.net/creditcards.htm Example code from component If (Length(CCNumber)=16) and (StrToInt(Copy(CCNumber,1,2))=51) and (StrToInt(Copy(CCNumber,1,2))=55) then CCType:='MASTERCARD'

RE: [DUG]: What's an elegant way to migrate s/w updates?

2002-10-07 Thread Rose, Alan (MDF Rangiora)
The method used here is to have all the master dlls in one location on the server and have the menu application detect if a dll has changed. If so it is copied to the local drive and run locally. This allows you to update the master dll without having to rename it. The other thing to maybe

RE: [DUG]: detect browser

2002-10-03 Thread Rose, Alan (MDF Rangiora)
This only relates to the Pocket PC but it may give you some clues as to where to start. http://mobileinternetguide.org/xhtml/ch01s23s33s39.xhtml -Original Message- From: Tracey Maule [SMTP:[EMAIL PROTECTED]] Sent: Friday, 4 October 2002 12:37 To:

RE: [DUG]: detect browser

2002-10-03 Thread Rose, Alan (MDF Rangiora)
+= trtd+x+/tdtd+escape(Request.ServerVariables( x ))+/td/tr; } % %=s% /table -Original Message- From: Rose, Alan (MDF Rangiora) [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 October

RE: [DUG]: Multi Line Label

2002-10-03 Thread Rose, Alan (MDF Rangiora)
Tlabel has a wordwrap property allowing you to show multi lines. -Original Message- From: Terry Johnson [SMTP:[EMAIL PROTECTED]] Sent: Friday, 4 October 2002 15:46 To: Multiple recipients of list delphi Subject:[DUG]: Multi Line

[DUG]: Missing Enter SQL tabpage with SQL Explorer

2002-09-19 Thread Rose, Alan (MDF Rangiora)
Does anyone know why I should have a blank tabpage under the Enter SQL tab in Borland's SQL Explorer. When I click on the Enter SQL tab nothing is shown on the tab page. I have seen this before and it normally happens after a forced close of SQL Explorer. Some how in the past It has always

[DUG]: Delphi Mail Archive

2002-09-19 Thread Rose, Alan (MDF Rangiora)
Hey, I just noticed the DUG archive is back up and working. Many thanks to Peter and friends. http://www.mail-archive.com/delphi%40delphi.org.nz/maillist.html http://www.mail-archive.com/delphi%40delphi.org.nz/maillist.html DISCLAIMER: This electronic message together with any attachments

RE: [DUG]: Missing Enter SQL tabpage with SQL Explorer

2002-09-19 Thread Rose, Alan (MDF Rangiora)
Explorer\2.0\DbXForm edit the data value for DbX.QuerySplit so it is 150 Open SQL Explorer - the Enter SQL tab should be back to normal Sammy !! - Original Message - From: Rose, Alan (MDF Rangiora) [EMAIL PROTECTED] To: Multiple recipients

RE: [DUG]: Delphi 7 comments...

2002-09-17 Thread Rose, Alan (MDF Rangiora)
That does not surprise me as surely their main focus must now be on their Studio version and all that it implies with the IDE. The IDE as we know it now must surely be coming to an evolutionary end, as we already have most of what we need now for creating desktop applications. I get the feeling

RE: [DUG]: Delphi 7 comments...

2002-09-17 Thread Rose, Alan (MDF Rangiora)
Yes the Gallelio project. Sounds like one of those marketing decisions to stick the word studio on the box now. I guess in the end it all boils down to what type of work you are doing as to whether you get benefits from D7 or not. In my case I am mostly involved with destkop applications that

[DUG]: Delphi 8 ?

2002-09-04 Thread Rose, Alan (MDF Rangiora)
At the Delphi 7 preview yesterday and heard mention the fact that Borland's next major move is to come out with their own version of Visual Studio. ie. it will compile C# and a few others including a new Borland language, etc, etc. Anyone know whether this means there will be no support for

RE: [DUG]: Newbie midas question ?

2002-08-12 Thread Rose, Alan (MDF Rangiora)
Heres a handy link Matt. http://homepages.borland.com/dmiser/dcom95.htm -Original Message- From: Matthew Comb [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, 13 August 2002 10:48 To: Multiple recipients of list delphi Subject:[DUG]:

RE: [DUG]: htm email message attachments

2002-08-08 Thread Rose, Alan (MDF Rangiora)
Most SMTP components I have come across will have a property to set whether the email is HTML or plain text. -Original Message- From: Robert Martin [SMTP:[EMAIL PROTECTED]] Sent: Friday, 9 August 2002 11:25 To: Multiple recipients of list delphi

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
of list delphi Subject: RE: [DUG]: TDateTimePicker/Win32 Alan wrote: DFormat := 'ddd dd/MMM/'; DateTimePicker1.Perform( DTM_SETFORMAT , DWORD(NIL) , DWORD(DFormat) ); Fascinating. On further research with the above hint, I find that if there is a or a

RE: [DUG]: TDateTimePicker/Win32

2001-05-22 Thread Alan Rose
To: Multiple recipients of list delphi Subject: RE: [DUG]: TDateTimePicker/Win32 Alan wrote: DFormat := 'ddd dd/MMM/'; DateTimePicker1.Perform( DTM_SETFORMAT , DWORD(NIL) , DWORD(DFormat) ); Fascinating. On further research with the above hint, I find that if there is a or a

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

  1   2   >