Re: [DUG] Setting Data File Size

2009-09-06 Thread John Bird
That is what I ended up doing, works ok enough. Such records get cleaned up in time. John Bird JBCL Contact: johnkb...@paradise.net.nz 03-3844527, 027 4844528 http://jbclnz.googlepages.com http://www.jbcl.co.nz - Original Message - From: Paul A Norman To: NZ Borland Developers

Re: [DUG] Code Completion not working

2009-09-06 Thread John Bird
One possibility is if you have moved the source into a different folder from where it was under D2007, then some of the files - .dproj and others contain some hard wired path information that needs to be altered. The ways to fix this are edit the files or delete them and allow Delphi to

Re: [DUG] Reporting tool replacement

2009-08-30 Thread John Bird
Well Rave Reports is part of D2007, that would be the cheapest (free) and best - I upgraded from D5 mainly to get Rave Reports - I was advised not to get into using Quick Reports as it was described as useless compared to Rave and I needed a good reporting tool. John

Re: [DUG] registry caching?

2009-08-28 Thread John Bird
I agree, it looks to me that something more than you expected is being communicated and held onto - the fact that elevated privilege can be remembered by windows for processes started by the original one that was granted permission implies to me that more background environement is also being

Re: [DUG] registry caching?

2009-08-27 Thread John Bird
I can add some information about how Vista UAC works from experience: I have noticed that it must store the process ID or something similar of the original parent process that needed and was granted the elevation. If the same action requiring elevation is run again it does not ask as long as

[DUG] Setting Data File Size

2009-08-24 Thread John Bird
Is there a simple way to alter the size of an existing file - particularly to decrease the size? If increasing I can append some blank data on the end no problem using TFilestream, no problem. The thing I am not sure about is if I can DECREASE the size of a file by a known number of bytes

Re: [DUG] CPU usage

2009-08-20 Thread John Bird
John, Wait for the screensaver to kick in ? :) Cheers, Pieter - Original Message - From: John Bird johnkb...@paradise.net.nz To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Sent: Thursday, August 20, 2009 15:58 Subject: [DUG] CPU usage Is there a simple way

Re: [DUG] CPU usage

2009-08-20 Thread John Bird
) John Not that tricky. function IsScreenSaverActive: Boolean; begin SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @Result, 0); end; -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird 1 - there is no reliable way

[DUG] CPU usage

2009-08-19 Thread John Bird
Is there a simple way to find simple measure of current CPU usage? Reason - have some housekeeping tasks that I would prefer to not run if the computer is loaded at the moment, so an easy way to check before starting it would be great. Does not have to be too precise for my case, basically

[DUG] Program screen video capture

2009-08-19 Thread John Bird
I have seen a few examples of people using products like Camtasia studio to record program operation - I am interested in making some simple quick tutorials. What tools do people here recommend? Free and simple ideally, ability to capture an audio commentary would be very handy too. Making

Re: [DUG] Making apps look fancy

2009-08-11 Thread John Bird
Most bang for the bucks comes from making sure you can get at the XP and Vista themes - the XPManifest component in D2006 onwards, especially D2007 on goes in every project of minegives the later sets of controls in COMCTL32.DLL rather than the old non-themed ones if the destination PC has

Re: [DUG] Making apps look fancy

2009-08-11 Thread John Bird
One thing I would like to be able to do more is the live search boxes, like the Vista start menu/Firefox Address bar/latest Google search results/etc which populate the lists as you type. What is others opinion on the best way to do these in Delphi? (especially using standard VCL and

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

2009-08-06 Thread John Bird
Any comments from those with Windows 7 whether its worth thinking of upgrading a Sony Vaio with Vista (32 bit Home premium) to Windows 7 ?? I am encouraged by the closeness of Vista and Windows 7 - ie same drivers, and internally Winodws 7 is actually V6.1 (compared to Vista V6.0). And the

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

2009-08-06 Thread John Bird
Why do you prefer Vista (apart from the task bar?) John I prefer vista, but the performance improvements that Win7 has almost make it impossible to ignore (if you are currently running vista). Delphi runs quite well on it as well. Although I haven't tried Delphi 7 (yuck :p) cheers, Jeremy

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

2009-08-06 Thread John Bird
critical bug seems to have appeared. running a CHKDSK /R on secondary HD's will eventually cripple or blue screen any Windows 7 or Windows server 2008 due to a massive memory leak. https://www.networkworld.com/news/2009/080509-windows-7-bug.html?hpg1=bn John Bird JBCL Contact: johnkb

[DUG] ShellExecute encoding

2009-07-28 Thread John Bird
How can I pass a # character to a command line used by a browser so it arrives as a # in the URL, and not as a %23 eg I am wanting to pass a command line parameters to a browser, ShellExectute(Application.Mainform.Handle,'open',PChar(Browserexname),

Re: [DUG] ShellExecute encoding

2009-07-28 Thread John Bird
I solved this - in case its of interest here's how I did it. The file URL is encoded by the browser if it does not already start with file:/// and have only / characters rather than \ in it. In order to pass a file URL to ShellExecute with a Tag in it, one cannot therefore just execute the

[DUG] Serial port data capture

2009-07-08 Thread John Bird
Looking for software or source to do with monitoring data coming in from serial (or serial via USB) port, all I want to do is capture it and append it as it arrives to a disk file. This sounds like a common type of tool - Anyone know of something good/free/simple or source tools to do this?

Re: [DUG] Delphi Developers wanted

2009-06-28 Thread John Bird
The irony is I didn't study computer science - it was hardly around at the time. There was a room where graduate students went to put their research into IBM punch cards - but only a few were ever allowed access to that room. The rest of us used the desktop calculators - I used to go to the

Re: [DUG] Delphi Developers wanted

2009-06-27 Thread John Bird
Sorry that post was meant to go to Cameron not to the list. Caught out by the reply button again. (I am looking for extra work however) John Cameron Hart Lead Developer Flow Software Limited PO Box 305-237, Triton Plaza

Re: [DUG] Embarcadero article

2009-06-15 Thread John Bird
Not sure of the pitfalls etc, but the idea is surely worth pursuing, it is after all pretty much the holy grail of software. The ability to at least move a pure VCL over several platfrorms to give native versions on each (or complile all on Windows for instance) would be wonderful. The areas

[DUG] PDF Generation

2009-06-15 Thread John Bird
At present a program produces PDF's via an installed printer that outputs a PDF file - that is it is a manual process where the user has to choose the PDF printer in the Windows Printer dialog, and the output PDF name. There are a number of excellent printer drivers that allow this. Is there

Re: [DUG] Drop table in Interbase

2009-06-15 Thread John Bird
For a good working example see http://xkcd.com/327/ (Standard disclaimer - do not try this at home!) John - Original Message - From: Jeremy Coulter To: NZ Borland Developers Group - Delphi List Sent: Tuesday, June 16, 2009 3:35 PM Subject: Re: [DUG] Drop table in Interbase

[DUG] BDE Installer for Windows Server 2003

2009-06-14 Thread John Bird
Does anyone know where I can get an installer for BDE on Windows Server 2003? the Delphi 5 enterprise version I have does not install, does anyone know of where is a version that does install. I notice the BDE installed as part of the D2007 on my Vista PC is exactly the same version V5.01, so I

[DUG] Detecting screensaver

2009-06-09 Thread John Bird
Does anyone know a reliable way to detect if the screensaver is on? The way I have found references to on the web SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @ATScreenSaverOn, 0); Note this is documented as Windows 95 only, which I am guessing why it doesn't work (XP/Vista) The only

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread John Bird
OK looks like I need to look at the GE Experts - anyone have a web link (I have D2007) Incidentally I remember hearing once the order of adding button events to the source file was related to class completion - if you start a unit with no procedures they get added in I think alphabetic order.

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread John Bird
I know Google - mainly I was wanting to check that people here knew there is a good D2007 version available. Of the ones listed, 1.32 (D2007) 1.33 Beta 1 1.33 beta 2 (for D6-d2009) Which ones would you guys who have used it recommend for D2007? Any gotchas or things to watch out for? John

Re: [DUG] Detecting screensaver

2009-06-09 Thread John Bird
is currently actually running John I'm using SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, 0, @ATScreenSaverOn, 0); It works on Vista here Paul - Original Message - From: John Bird johnkb...@paradise.net.nz To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Sent

Re: [DUG] Detecting screensaver

2009-06-09 Thread John Bird
the screensaver into life by broadcasting the appropriate window message: Perform(WM_SYSCOMMAND, SC_SCREENSAVE, 0 ); HTH, Conor -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 10 June 2009 3:38 p.m

Re: [DUG] BDE on Windows Server 2003

2009-06-08 Thread John Bird
Can the installer be extracted from the D2007 disk? (Unfortunately I don't have mine with me). John Bird JBCL Contact: johnkb...@paradise.net.nz 03-3844527, 027 4844528 http://jbclnz.googlepages.com http://www.jbcl.co.nz - Original Message - From: Richard Vowles To: NZ Borland

[DUG] BDE on Windows Server 2003

2009-06-07 Thread John Bird
Using Delphi 5 enterprise, the installer we had for the BDE will not install on Windows server 2003 - (just quietly aborts). Anyone know a solution - eg is it feasible to use a later version of BDE - (I have D2007 as well but not sure if the installer for that can be separated out) (Server

Re: [DUG] What is the most useful delphi component you are using?

2009-05-14 Thread John Bird
The KBMMemTable is very good, was worth the $5 for the help file just to find out how to get better perfomrance out of large table operations. KBMMenTable is certainly a lot faster than the standard TClientDataSet and as far as I saw was compatible, even a superset of its functions. Many of

Re: [DUG] What is the most useful delphi component you are using?

2009-05-14 Thread John Bird
JEDI/JVCL Thanks for the link. Have heard of JEDI project before, not used it - reason was simple, the sourceforge project obviouslycontains a lot of stuff, but I have found nowhere a detailed list of whats there and what it does, eg the TJVDBUltimGrid Would like any of: Broad descritption?

Re: [DUG] [Off topic] Senior developer

2009-05-12 Thread John Bird
From what I have seen its when programmers decide to become politicans in their own realm and promote or market themselves. You can be any of Programmer Programmer/Analyst Busines software solutions System programmer Senior programmer Senior Developer Senior Systems Developer Systems Architect

Re: [DUG] D2006 actiing up - unable to find ypelink: or unable to fine ilelink...

2009-05-10 Thread John Bird
As I recall its a restart of the IDE needed for such weird problems... John ___ 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] Software Recommendation

2009-04-30 Thread John Bird
I have a simple and fast one too http://jbclnz.googlepages.com/jbclgeneralsoftware (Look for the Dfind link) John ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

Re: [DUG] Software Recommendation

2009-04-30 Thread John Bird
btw what is the puppy? John ___ 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 delphi-requ...@delphi.org.nz with Subject: unsubscribe

[DUG] D2009 Unicode Strings

2009-04-22 Thread John Bird
(sent again as Vista Mail messed up the formatting after I sent it - hope this is better and sorry for the duplicate) Unless I missed it I still didn't hear if anyone recorded the David I Codegear seminar in Ak in March on D2009. Any recordings out there anywhere? Failing that, a couple of

[DUG] D2009 Unicode String

2009-04-22 Thread John Bird
Unless I missed it I still didn't hear if anyone recorded the David I Codegear seminar in Ak on D2009. Any recordings out there anywhere? Failing that, a couple of questions that I am wondering about in terms of converting string code for D2009: I understand that code such as q1 - if

Re: [DUG] BDS.exe memory issues

2009-04-15 Thread John Bird
Same experience. In past years BDS 2006 (Delphi IDE) and Firefox v2 were slogging system performance witn slow memory leaks over several hours. D2007 and Firefox 3 are big improvements there. Plus on Vista with 4GB memory I never seem to get above 2.6GB memory in use anyway, so it no longer

Re: [DUG] BDS.exe memory issues

2009-04-15 Thread John Bird
What counts as a large pas file? John ___ 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 delphi-requ...@delphi.org.nz with Subject:

Re: [DUG] BDS.exe memory issues

2009-04-15 Thread John Bird
Right on. Real programmers write programs to alter source code or generate source code. (*) Right up there with those who write web pages with Notepad. (* should you incur a surcharge from Codegear/Embarcadero for making the compiler work so hard?)

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

2009-04-09 Thread John Bird
From what I understand the reason the compiler is so good is two-fold: 1 - The original design of Pascal by Wirth was to make a language that could be structured formally and be easily compiled - all the features of pascal are intended to make it a one-pass compiler with no preprocessing

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

2009-04-08 Thread John Bird
/ Iphones/Android/iPod Touch etc are about to do the same thing again to the desktop PC. In such a case the question is bigger than which language is the best - its more which OS will be predominant or exist in a few years. John Bird JBCL Contact: johnkb...@paradise.net.nz 03-3844527, 027

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

2009-04-08 Thread John Bird
Any more comments from those who have used C# for serious work how they rate its strengths and weaknesses against Delphi? Delphi IDE vs VS? C# vs Java? (just small questions eh..) After they both have the same author (Anders Hejlsberg). Is C# Delphi done right? or is it Delphi done big

Re: [DUG] [OFF TOPIC] Internet connection is not stable

2009-04-06 Thread John Bird
xtra fine here - had slingshot for a couple of years, on a slow adsl with a high cap (25GB) which was fine - switched to telecom, std package is quite fast broadband (around 2mbs), have been able to live within a 3GB cap, but its not enough any more...no problems with reliability with either

Re: [DUG] Website presentation

2009-04-05 Thread John Bird
Gary some years pointed me to NVU web editor, has good reviews for being close to W3 standards and open-sourced, I am using its successor KompoZer (NVU ceased development some years back, KompoZer is same with bug fixes and active). WISIWG editor with css/edit HTML options built in. Very good

Re: [DUG] Website presentation

2009-04-05 Thread John Bird
True - that table part of the formatting is not done either by Google or KompoZer - it was done by a utility dating from 2003 which converted text based help files into HTML. At that stage tables was the most common way to do it. I have often copied the base layout and just altered the text

Re: [DUG] Internationalization/Delphi 2009

2009-04-02 Thread John Bird
Well it sounds like D2009 is the one to look at. Was anyone on the list at the David I presentation on D2009 earlier in the week - I was in Chch so was unable to be there? Apparently he spent quite some time talking about the issues around converting to Unicode. I would be interested in

Re: [DUG] Borland Pascal, Turbo Pascal for Dos free

2009-03-30 Thread John Bird
The times they have a-changed indeed. My first computer experience was on a VAX 780. 2 MB Ram, 550 MB hard disk. It ran most of the Lincoln University campus - some 60 screens, probably 200-300 user accounts, each with what seemed an enormous disk quota. Phd students had huge data files

[DUG] Multi monitor question

2009-03-30 Thread John Bird
a question about multi monitors - as the help is a bit vague about the form property Position. In D7, D2007 there are these 2 options: poDesktopCenter poScreenCenter from the help: poScreenCenter The form remains the size you left it at design time, but is positioned in the center of the

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

2009-03-30 Thread John Bird
I also early on used PDPs for nearly 10 years.tall rack mounted one. I still remember how I cursed when it had to be moved from one building to next door, when I found out the rack was 1/4 taller than the lift doors. That meant the whole thing had to be dissasembled to move it. The PDP

Re: [DUG] Borland Pascal, Turbo Pascal for Dos free

2009-03-29 Thread John Bird
I had seen it there some time ago. Turbo Pascal V5.5 http://cc.embarcadero.com/Free.aspx?id=26015 John___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe:

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

2009-03-29 Thread John Bird
What sort of extra Vista stuff did you turn off? I think the extra crap in Vista comes from its origins in the Windows Server 2003 code base, there are parts of Vista that look very much like server admin tools - such as the Reliability Monitor under Control Panel/Admin tools. Vista works

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

2009-03-29 Thread John Bird
I tried a USB read-boost (Toshiba 2GB one which said it was ready-boost ready.) As far as I could tell it made no difference at all. However upping memory to 4GB certainly did. Process Explorer said I was often using more than 2GB Ram, I think Vista 32 bit can use a bit over 3GB, and the

Re: [DUG] Program Exe information

2009-03-28 Thread John Bird
I was more thinking of general programs - as in when I often have the thought - Thats an interesting program/interesting UI/Component - I wonder what its written in The is an application with source code in the CodeCentral database that does this for Delphi and C++ applications. John

[DUG] Program Exe information

2009-03-27 Thread John Bird
I am often curious to know what a particular program was written using, for instance was just checking out the latest Skype V4 to see if it is still Delphi In the exe file I found these strings FastMM Borland Edition © 2004, 2005 Pierre le Rich C:\Program Files\CodeGear\RAD

Re: [DUG] Program Exe information

2009-03-27 Thread John Bird
PEExplorer may be overkill as well as expensive for mere curiosity. there are basic utilities (ported from Unix/Linux such as strings (shows strings in a binary file) and file (An excellent port of file is at http://gnuwin32.sourceforge.net/packages/file.htm) Background - unix/linux do not

Re: [DUG] Weather Stations

2009-03-25 Thread John Bird
everybody talks about the weather but noone does anything about it -Mark Twain John ___ 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] AlphaBlend Panel?

2009-03-20 Thread John Bird
Not sure if this applies for your case, but when I wrote the ATClock (transparent analogue clock) I used a form with no borders, the form colour set to be white, white set to be transparent (Alphablend about 80-120) and put some shapes of a different colour where I wanted partial transparency.

Re: [DUG] AlphaBlend Panel?

2009-03-20 Thread John Bird
Now are you after a fully transparent panel or a partially transparent panel? These are different properties on a form - Fully transparent uses the TransparentColorValue properties, and a partially transparent form uses the Alphablend properties. D2007 - I tested a form with transparent

Re: [DUG] Windows System Colour

2009-03-20 Thread John Bird
I have a sort of similar problem..when I installed D2007 on Vista I altered (in Windows somewhere) the Vista default text colour from black to Navy. This affects the default text colour on many but not all Delphi controls (affects label and grid text colors, but not checkboxes or button

Re: [DUG] i should clarify

2009-03-10 Thread John Bird
I have D2007, not D2009. However a firm I do work for has D5 enterprise and is planning to migrate to later version some stage, probably this year, so would be interested to hear what you have in mind John Bird JBCL Contact: johnkb...@paradise.net.nz 027 4844528 - Original Message

Re: [DUG] Delphi 7 to Delphi 2009

2009-02-19 Thread John Bird
So what sorts of things were no problem, and what sorts of things were a problem? If I think of what sorts of things are in my code, there is quite a lot to do with getting the character code of string[i], lots of use of length(string), relying on alphabetic sorting of stringlists, calling

[DUG] DBCombo/DBLookup Combo

2009-02-19 Thread John Bird
Of all the VCL controls I have dealt with in Delphi (Mainly D5 Enterprise), none has given me so many headaches or puzzles as DBCombo and DBLookupCombo in which there seem to be so many idiosynchrasies Some of the main ones: -what they display when not initialised (eg null in the dataset

Re: [DUG] Delphi 7 to Delphi 2009

2009-02-19 Thread John Bird
Here are my notes, I found some great instructions on Steve Trefethens blog about installing components in D2005/D2006/D2007. (He is ex CodeGear) I have added notes/examples from my own situation, I make a folder under my source tree called components, and install my component library from

[DUG] D2007/D2009/Win64

2009-02-18 Thread John Bird
I would second the D2007 comments - its my preferred version having used D5, D7, BDS2006, D2007. Any comments on merits of D2007 vs D2009 (which I haven't tried yet)? Will the 64 bit Delphi be likely to introduce a int128? Will integers be 64bit (ie int64)? John

[DUG] Getting command lines of all open programs

2009-02-11 Thread John Bird
Is there a way to make a list of command lines of all open program windows? I have a utility that already captures the title bar of all open program windows - I use it when I suspend my laptop in case Windows won't resume (which it often doesn't) so I can know what windows were open. The next

[DUG] Animated progress Throbber

2009-02-10 Thread John Bird
Is there any Delphi equivalent of a throbber? This is used when showing progress when the total length if a task in progress is not known so its useful to show something is happening. and is usually a small animated icon. Would be nice to have such a component to place on a foirm. Used a lot

[DUG] Progress bar XP/Vista with gradient

2009-02-03 Thread John Bird
I am looking for something a bit nicer than the standard Delphi TProgressBar. I have noted on Vista it does instead render as a Vista type bar, complete with the light swishing along it, which is nice, but on XP it is still the plain blue blocks one. My main need is to have two or more

Re: [DUG] Progress bar XP/Vista with gradient

2009-02-03 Thread John Bird
I routinely use the standard XP Manifest in D2007 - does this add only partial themes support? Any references to read more? If themes doesn't give me ability to set different colours for the progress bar its still academic- thats the main thing I need! John The reason the progress bar is

[DUG] Saving source bookmarks

2009-02-03 Thread John Bird
This has bothered me for ages - I will usually set up a lot of source bookarks (using CTRL+SHIFT+1 etc) and if the project is closed and reopened, I lose these and have to set them up again. Can source bookmarks be saved anyhow? D5 and D2007. John

Re: [DUG] How to get user name in the windows task manager processes list tab

2009-01-27 Thread John Bird
You can also do temp:string; setlength(temp,100); //has to be big enough first setlength(temp,getEnvironmentVariable(PChar('USERNAME'),PChar(temp),length(temp))); since the user name is also an environment variable at least since Windows 2000. John

[DUG] Sending a file and verifying the data

2009-01-27 Thread John Bird
I wish to send a data file either as an email attachment or via FTP and wish to be able to ensure: 1 - it is not altered in transport. 2 - It came from where it is supposed to have come from. Its a new area for me - what I have figured out so far is to say generate a hash for the file -

Re: [DUG] How to get user name in the windows task manager processes list tab

2009-01-27 Thread John Bird
Of course that example I sent gives only the current logged in username, not the owner of the process. I do recall that in the demos with Delphi there is a sample Task Manager program. I can't spot it on my installation (D2007 on Vista where I have no idea where the demo projects are hidden!)

Re: [DUG] Sending a file and verifying the data

2009-01-27 Thread John Bird
Looks like MD5 hashes are deprecated nowthere has been security papers about possible generation of any MD5 hashed data using large computation.(they used 200 networked PS3's if I recall) sometime around Xmas. It caused a bit of a scare in the browser communities (IE/Firefox etc) as

Re: [DUG] Aeron Chair

2008-12-22 Thread John Bird
Does a Aeron Chair prevent a stack overflow? Sounds like middle aged spread to me... John Bird I've been listing to the stack overflow podcast (I'm about 1/2 way caught up) and they keep raving about the Aeron chair. I've seen a used one on TradeMe for $1100 and a new one from Matisse

Re: [DUG] Shellexecute issues in Delphi - call hangs until the program it starts finishes.

2008-12-11 Thread John Bird
There are a number of possibilities - for instance on Vista the Program1 could be triggering UAC. Or there could be an error in invoking Shellexecute you are not seeing - try some code like: if ShellExecute(Application.Mainform.Handle, 'open', Pchar(aProgName), PChar(aparaml), PChar(aDir),

Re: [DUG] Shellexecute issues in Delphi - call hangs until the program it starts finishes.

2008-12-11 Thread John Bird
There is an old saying I remember seeing on the door of a university lecturer's door is a good motto for these kinds of problems that fool one: This problem once solved will be simple John Thanks guys but simply a matter of leaping to conclusions - I didnt see results of next code line so

Re: [DUG] Lost media - what are the options?

2008-12-09 Thread John Bird
I think Richard should be able to help there - I got copies of installation DVD's from him. I also ended up copying it onto the hard disk, as that was the best way to both keep a permanent copy and also make sure there were no unreadable files on the disk. I had a problem with either D2006 or

[DUG] D2009 or later version suggestion....

2008-12-09 Thread John Bird
Incidentally the one enhancement to Delphi I keep finding I would love is a very simple one, and everyone I mention it to also thinks its a great idea: If the status bar etc showed the name of the procedure or function the cursor was currently in this would be hugely useful. I am often

Re: [DUG] SMS Providers in NZ?

2008-12-07 Thread John Bird
I heard recently - I think it was here but don't remember the details - of someone sending SMS messages via a gmail interface. Anyone know more about that? John ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] SMS Providers in NZ?

2008-12-07 Thread John Bird
I think this is the Google/gmail option: http://www.google.com/talk/ http://googlewatch.eweek.com/content/gmail/google_now_lets_you_text_message_from_gmail.html ie it looks like an email interface. John Bird JBCL Contact: [EMAIL PROTECTED] 027 4844528 - Original Message - From: John

Re: [DUG] Database sequence sort

2008-12-05 Thread John Bird
If its a DBGrid then you need to either -Change the order of the dataset records - which means defining an index, -Or use a grid like the CSDBGrid (freeware been around forever) that allows you to click on the column headers to sort, like Windows Explorer. If its a stringgrid then You can

Re: [DUG] Filtering Dataset

2008-12-04 Thread John Bird
Yes - I just manually typed some code into the email as its on a separate PC and made a typo.thats not the problem as the original code does have as you suggest. John Erm, should that not be cdsFind.Filtered := False; ? ___ NZ Borland

Re: [DUG] Filtering Dataset

2008-12-04 Thread John Bird
I solved the filtering problem - well had to work around it. The dataset concerned hads stacks of events on scroll etc, and I found if I opened a fresh copy of the dataset with clean data and no events it worked fine. So I have a nice tool - can search anywhere in a dataset for any string (ie

[DUG] Filtering Dataset

2008-12-03 Thread John Bird
I have an odd problem filtering a clientdataset - I apply a filter and check the record count like if cdsFind.RecordCount 0 then begin do stuff - that works OK end else begin cdsFiltered:=false;//= crashes here cdsFind.Filter:=''; end If there are no

Re: [DUG] MSSQL Question

2008-11-30 Thread John Bird
Whats others opinion on the merits of trggers etc as discussed here vs the Firebird/Interbase method of using generators? I have often wondered if this is an area where Firebird/Interbase has a less convenient but more transparent mechanism - where you have to fire a generator to get a new key

Re: [DUG] Rave Reports

2008-11-27 Thread John Bird
I have used both Report Builder (for a large app in Delphi 5) and Rave for D2006/2007. Both very good. Haven't used the Rave report designer - its easy enough to write Rave pure code based reports that do all I need. Doesn''t need anything outside the exe file - links in about another 600K.

Re: [DUG] Error message starting Delphi program on Vista

2008-11-25 Thread John Bird
The info on the web inplies driver issues - mainly for USB? I went to the Sony web site and loaded any relevant updates for the PC and for now the problem has gone away. So my inference is still its a Vista issue. John ___ NZ Borland Developers

[DUG] Error message starting Delphi program on Vista

2008-11-20 Thread John Bird
Can anyone shed light on this? I have one program that is prone to getting an exception dialog when it starts on Vista. The dialog is Windows - No Disk Exception processing Message 0xc013 Parameters 0x764292A0 0x0004 0x764292A0 0x764292A0 I think its a Vista problem because the

[DUG] Dataset Filter and current record...

2008-11-19 Thread John Bird
An oddity that is puzzling me - I have a dataset which I filtered (in order to find a record). Then I clear the filter to show the original complete set, expecting to be on the just found record still. But it isn't - it goes back to the beginning. How can I retain the current record as being

[DUG] Searching ClientDataSet using locate

2008-11-05 Thread John Bird
I am trying to make a generalised routine for searching a client dataset (it searches alpha fields matching a user supplied string and positions on the next matching record). So far I am doing this using the locate command like: if

Re: [DUG] Searching ClientDataSet using locate

2008-11-05 Thread John Bird
Yes that would work for searching two fields, but do I do n fields - ie what I am trying to do is generalise and build a list of fields to search for at runtime where the number of fields to search changes (ie all where Datatype = ftString) - I can build a string listing the wanted string fields,

Re: [DUG] Delphi programs and Vista

2008-09-19 Thread John Bird
Same for me- there is just one program that gets UAC. It does not write to registry or program files. It does have Start in the name, but thats not it - because if renamed it still gets UAC prompt. It does however copy programs from a download folder into a working folder, so I agree with

[DUG] Delphi programs and Vista

2008-09-17 Thread John Bird
A few observations running (D2007) delphi programs under Vista - anyone shed any light? 1 - When the mouse is on the task bar icon, Sometimes Vista will show a thumbnail of the form, sometimes just a blank thumbnail with the program icon in it. This relates to Delphi programs having an

Re: [DUG] D2007 under Vista - Debugger

2008-08-27 Thread John Bird
I solved the debugger problem. There was an invalid path setting in the .dproj file, but not one I could see with any of the project options. I had to edit it manually to see it. My version of D2007 installed is V 11.0.2804.9245 It was a copy of the installation DVD I had with files dated

Re: [DUG] D2007 under VIsta

2008-08-26 Thread John Bird
John, right click, properties - run as admin or some such thing, it was a while ago that I fixed that on someones pc. John Bird wrote: -also my main menu program, which I have a shortcut to on the desktop, always gets a UAC prompt when I run it. How do I set this program to be acceptable short

Re: [DUG] D2007 under VIsta

2008-08-26 Thread John Bird
] [mailto:[EMAIL PROTECTED] On Behalf Of John Bird Sent: Wednesday, 27 August 2008 10:45 a.m. To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List Subject: Re: [DUG] D2007 under VIsta No that doesn't work either - it just opens the same UAC dialog asking if I want to run

Re: [DUG] D2007 under VIsta

2008-08-26 Thread John Bird
(although I doubt you would have done this :) ) Rob John Bird wrote: No there is no blanks in the execute path, and the 3 programs I talked about all run from the same folder. Thats why I am so puzzled why they behave so differently. - Original Message - *From:* Myles Penlington

<    1   2   3   4   >