is no - to checking program contents.
However if you are not running as administrator and attempt to copy a
file into program files then that triggers a UAC prompt.
Myles.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of John Bird
Sent: Wednesday, 27 August
I have one program under D2007 Vista that the debugger will not stop on any
breakpoints. All other projects do seem to stop as expected but not this one.
I have checked project options, nothing is different. The unit output folder
is correct. There are no special compilation flags in the
So far the entry onto Vista has been quite painless.
I installed D2007 from a copy of the update from July/Aug last year I still
had on the PC. My notes so far:
-is there are later D2007 update that the July/Aug 2007 one that I need to
track down? I don't recall
-Setting up D2007 was the
The best tool for measuring CPU load is the sysinternals Process explorer.
Google that to find th free download from technet microsoft.
John
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin:
Maybe you need to work with BMP - there seem to be behind the scenes
limitations with what works with JPGs
I wrote a program to resize JPEGS, I found there were some tricks about what
you could do, it seems in general its less puzzling in Delphi to work with
BMP but you can easily convert back
in a separate root level
folder, not under Documents and Settings on XP)
John Bird
email
[EMAIL PROTECTED]
Expert in Beyond Software
Ph land (03)384-4527 mobile (027)484-4528
92 Soleares Ave, Mt Pleasant
Christchurch
Web http://jbclnz.googlepages.com http://jbclnz.googlepages.com
Thanks.
As an aside if I do get onto Vista I will be fairly determined to NOT turn
off the UAC, as it is one of the features of Vista I really applaudfrom
all those years of living on Unix servers where you had no choice -
certainly you never did routine user work logged in as root
There were many comments some time back from D7 users reluctant to upgrade -
here's my experience.
Having used both side by side for a while now - (I have used D5, D2006,
D2007, D7 in that order). I can see why people like their D7, it is very
good.
Overall I prefer D2007. Its stable, fast -
I have a floating point figure in a table/ClientDataSet that shows in a
DBEdit. Sometimes when it is small it reverts to scientific notation, eg
1.7E-6 which means nothing to the users. I made a long edit box to show the
0.017 etc - now if only I can make Delphi show it that way. Is there
Well I have heard comments from 2 commercial sites recently from those
maintaining the code that the object structure used was over-engineered for
what the application needed.
John
___
NZ Borland Developers Group - Delphi mailing list
Post:
D2007 the help is actually quite good and comprehensive, still prefer the
speed and layout of the earlier help, eg D5. The MS Document Explorer (used
for the D2006/D2007 help) is glacially slow to load and search - it means in
practice you don't dare press F1 on a component to bring up the help
I am dealing with a D5 enterprise where at some time ago some of the data
modules have got jumbled - that is when viewing as icons, the original
placement has been lost and all the icons are jumbled on top of each other,
mainly at random.
Is this a known problem?
And does anyone know of a tool
It was worse in D2006 but still happens some in D2007. Mainly the error
insight is pretty good though - instant highlighting of spelling mistakes,
undeclared variables etc. It does look a bit lame on the odd occasion that
things like Tform are highlighted as unknown (!). The standard compiler
I have come across similar problems on Windows Servers over the years in a
couple of cases:
1 - Data Files (non-database in this case) that have been updated and
finished with and closed may remain open or in use as far as the Server
goes. Sometimes this times out after a few minutes and the
standard file calls...FileExists however does work...
A similar grey area exists with empty directories.
John Bird
we got a little foxed as their system did not recover empty files, or at
least their system did not copy them off - presumably they assumed that
empty files were of little
Re transferring of licences:
I am assuming that whatever is written in licence agreements - and from
people's comments that seems also open to interpretation - that in practice
Borland/Codegear Embarcadero would take a pragmatic viewpoint.
The comment that was made before seems to me to be
I have D5 professional still installed. I can tell you that Professional
has some but not all of the database components, for instance it does not
have TClientDataSet. If I recall correctly that was in Enterprise in those
daysIt does have a number of data-aware/IB/Internet components -
I did such an upgrade D5 to D2007, to get Rave Reports which is superior to
Quick Reports. Had no issues (was not using database stuff and hardly any
3rd party components). I wouldn't go back!
I noticed that the current D2007 upgrade offers a free version of Quick
Reports.
John Bird
Re pain of upgrading:
I upgraded from D5 to D2006 and then D2007 with no issues at all - most
pleasantly surprised. I think I was shrewd to use only a small handful of
simple third party components.
John
___
NZ Borland Developers Group - Delphi
Developers not upgrading...
I suppose that is one of the core Codegear problems.I have been working
at a firm with production software in Delphi 5 Enterprise - there has been
no real need to upgrade, as it does most of what they need. The main
reluctance about upgrading are simply the
Remember that one very simple way is the original:
I haven't tried it from inside Delphi (using Shellexec) but for years I have
done FTP via the standard original command line interface that is built into
windows. In fact the only time I don't use it is when I am sending a large
number of
Hey I solved it!
Was a combination of slightly different paths:
Eg
129.168.1.xx:d:\folder\database.FDB
And making sure the V2 FBClient.DLL was in the local pc's \windows\system32
folder. Despite being told not to it must have been picking up an older
version that was there.
I have to say
Hi guys - hope someone can shed some light, as my head is hurting after a
daying trying lots of permutations!
I am investigating upgrading from Firebird 1.5 to V2.0, so running tests on
a clean server with no other Firebird stuff installed.
Installing Firebird Classic V2.0 on a vanilla Windows
The test example I was testing on has 2 grids showing the same data - one a
standard DBGrid, the other a CDSDBGrid (an extension of the same grid from
BDN which adds sorting by the column buttons similar to Windows Explorer),
and several single field labels DBLabels, all standard VCL components
I thought I had read in the help sometime that file variables could never
be used in an array - but it looks like you are doing just that.
For instance under File Types: Files are not allowed in arrays or
records.
If it is OK I also would like to do that as well - any rulings anyone?
I want to use TClientDataSet for data that is NOT in a database.
Just reading the data from a file, eg for 15000 records, takes much less
than a second, but reading the data and inserting several fields into a
client dataset in a simple loop takes a lot longer, eg 6 seconds or more for
the same
I tried a different loop using code like
tbData.Fields[5].asString:=copy(Buffer,22,30); //name
tbData.Fields[6].asString:=copy(buffer,52,30); //desc
And found it was pretty much the same amount of time - that is eliminating
the FieldByName seems to make no appreciable
Is there any simple way to prevent a form from being minimised other than
setting the border style to bsToolwin etc (which removes the minimise
button, but also removes the ability to resize the window).
This is not the main application window, but a secondary form and I have
found users get
wants it as well.
John
You should be just able to copy and paste the unit - save as
jFormEffects.pas and add to your uses clause.
If it loses its formatting in the email, let me know and I will email it as
ZIP file.
unit JFormEffects;
(*
Form Effects
Freeware from JBCL - John Bird
A function
to
do with the security model. If the settings are in the registry it sort of
hints at something like that.
John Bird
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of staff
Sent: Monday, 5 November 2007 5:00 p.m.
To: NZ Borland Developers Group
That one looks pretty cool.its not really a standalone program is it?
;) I would use it if it were. I remember many years ago that there were
diff tools on unix that I imagine must have been made into graphical tools
by now.there were diff and diff3 tools that could generate editor
I have just started using it as a single developer,
I am bemused by a couple of things:
1 - Is there any way to put a folder structure under source control other
than select the folder, Import (into Tortoise repository), rename or delete
the original folder and check out from the repository
Does anyone know where to find any of the Delphi 5 Enterprise updates? The
link on the Codegear website is broken. The file is called D5EntUpdate.exe.
I think there is just one update, but kindly tell me if there is more than
one.
John
___
NZ
A quick thought - I presume you have checked that the folder has no
restricted permissions or ownership. I would be inclined to make sure you
have full rights to the folders concerned. If as you say other projects
save OK on the same PC (presumably in different folders), and the same
project
I jumped from D5 to BDS2006 and D2007, I kept my D5 source separate in case
I had to go back because of problems with any program. I can honestly say I
never compiled another program with D5 after I switched. Same with D2006 to
D2007.
IDE is much richer in D2007 - stable enough (overall better
I use standard page controls in D2007, and do hiding etc of the tabs, and
haven't any issues
What I am trying to achieve is a form that changes its appearance according
to what is going on, ie as it changes from one mode to another on part of
the form controls appear and disappear. In this
In D2007 the editor mark points (eg set by CTRL+SHIFT+1 etc, jump to with
CTRL+1 etc) are saved with the projectalso breakpoints. Which
operation saves them? I seem to get old mark points when I reopen a
project.
John Bird
email
[EMAIL PROTECTED]
Expert in Beyond Software
Ph land
I think you just send the .pas .dpr .dfm .res files and let Delphi recreate
the .dproj file. Note the bdsproj files are from Delphi 2006. That's what
I did (limited experience, but it worked - well I didn't hear back of any
problems).
John
-Original Message-
From: [EMAIL PROTECTED]
I hit a wrong key and discovered a new function - CTRL+B gives a list of
open buffers (Units). Neat quick way to swap units! Now how long has that
one been hiding there!?
Almost everytime I meet other programmers I pick up a cool trick like this -
so many times I hear long time users say How
Sometimes I wish to copy a file that may be open for reading or updating a
record (not a database file). The application doing the reading/updating is
using proper block locking and retrying if busy, so it should not be tripped
up by anything outside.
I am doing the copy so far using CopyFile
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 [EMAIL PROTECTED] with Subject: unsubscribe
That sort of surprises me - surely counting down instead of up would spoil
the expected logic of a loop in some cases
Eg a trivial example, getting the first word from a string...
Function getfirstword(aline:string):integer;
Var
i:integer;
For i:=1 to length(aline) do
Begin
if(aline[i]='
That would make perfect sense...if there is no reference to the loop
variable in the loop, then the order in which it is done is not going to
matter
John
-Original Message-
From: Neven MacEwan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 7 August 2007 10:03 p.m.
To: [EMAIL PROTECTED];
Hey that seems to work, thanks.
From what I have found there is not a matching function to detect if one is
at the welcome/login screen, which often follows the screen saverbut
however - by good luck so far - it looks like I don't need to be able to
detect a locked screen.
(This was to
For anyone interested I have a new version of my cool little transparent
analogue clock widget...it has a few extra refinements now like:
-It now becomes less transparent when the mouse moves over it - useful when
date hard to read.
-Also the day/date section has been refined to make it easier
Watched one of Alistair Christie's online videos on form resizing. Great,
and Thanks - I learnt a new IDE trick: you can change properties on more
than one control at once by selecting several (and I thought that was only
to move them as a group - doh!)
Question - there are several ways to
Looks the same as you said to me - the Dinkumware link brings up a not found
error. I wonder what is supposed to be there :) ?
Using the left hand window to Search for READLN brought up only topics from
the Indy Help, but searching from the right hand window brought up
RAD Studio VCL Win32
Oooh thanks. That's up there with some of the other obscure goodies like
CTRL+/ (comment/uncomment a line)
CTRL+ALT+UpArrow or CTRL+ALT+DownArrow (up and down a function/procedure)
Anyone who hasn't seen
http://www.stevetrefethen.com/files/codecompletion.html a very short video
with lots of
The conclusion was I understand that dates in form
15-Nov-2006
were unambiguous, also by checking/altering the shortdate format if
required.
(Although personally I have always preferred to explicitly format my own
dates using FormatDateTime to avoid funnies on any PC I didn't forsee).
Out of
Question: Do any of these databases embedded in products have any issues if
there is already the same database installed in another product?
For instance the coming Firefox Version 3 comes with a SQLite back end (to
manage bookmarks etc). If someone also wants to use say SQLite on the same
PC
set visible:=false until needed -
simplifies the screen.
*and* sit quietly and watch users using it - that is always a lesson on
what you thought was obvious that confuses them!
John Bird
Hey guys,
Just about to update one of our main apps and thinking about just
rebuilding it from the ground
I use Sysinternals Process explorer to monitor the memory that the IDE and
my programs are using (eg looking for memory leaks etc). (Incidentally the
D2007 IDE seems much improved in not using memory up over time)
Sysinternals give several different measure of memory use: Working set, Peak
http://memyselfanddelphi.blogspot.com/2007/04/delphi-2007-putting-fat-cow-on
-diet_16.html
Folders that can be deletedincluding help. I haven't been game to try it
yet though! Reducing Delphi 2007 from 3.6 GB to around 1.06 GB
John
-Original Message-
From: [EMAIL PROTECTED]
I realise its only a rough or approximate tool, but all the same which of
the memory measures is the most real one? Working Set/Peak Working
set/Virtual memory/Page faults? Because I have some of my programs running
all the time along with Sysinternals too, it's an extra free lazy check ie I
Vista:
I have not actually worked day to day yet in Vista, but two things I see
about it I am all in favour of.
1 - UAC - as a long time Unix user used to running as a non admin (root)
user I just got used to setting up data folders and ownerships and
permissions. It's a necessary evil that is
Here is some information I found while looking for something else...
Relevant to getting OEM Windows - these paragraphs in particular may be
relevant if you want to install it on a PC other than the original OEM
manufacturer. I am not expert in this however - I also saw references to
shops
I have a program for doing automated backups that I want to have running
automatically when a workstation or server starts.
At present it does the actual backups using a ShellExecute command (calls
PKZIP), now of some pcs and servers this causes a dialog from Windows to
come up Do you want to run
I saw in the D2007 update 1 help errata mentioned that there is a way to
iterate over a record not mentioned in the help.
Does anyone have more information on this?
I am interested if this means there is a way to iterate over the fields in a
record, similar to iterating over the components on a
I have a free giveaway search too
See
http://jbclnz.googlepages.com/delphistuff
It doesn't do regular searches, but it can search folders recursively and
open an editor (at the actual text location if its command line options can
do that - eg I have that set up for EditPlus). Default start
I have solved the D2007 Help problems, and can verify that the D2007 help is
a lot better than the D2006 help.
It still tends to bring up piles of .net only stuff if one is not careful
(eg the language filter does not even mention Delphi). Sometime I will get
around to figuring out how to
I thought using with with a single argument, not nested, would be a clean
and elegant practice, like:
with stringgrid1 do
begin
cells[5,tcgmax]:=uline;
cells[6,tcgmax]:=uline;
nextstrgrdMaTC;
cells[3,tcgmax]:='Totals';
cells[5,tcgmax]:=inttostr(trntotu);
I like this a lot !!!:
TGalleryStatusDescriptions: array
[Low(TGalleryStatus)..High(TGalleryStatus)] of String =
I have been trying to find out where I can use other variables in array
declarations. I hoped I could use previously declared constants, I did not
know I could use a function that
I have always liked the combination of a scollable list of items or a
treeview or buttons on the left vertically, and each one selected brings up
a different page on the right. First saw it in the Eudora Mail Options, its
also there in the Delphi IDE Options and Project Options. In lots of
I found the problem with my D2007 Help install - the DVD I was installing
from failed to read one large help file - I watched it retry for about 5
minutes and then give up and continue with no error message. I was a little
bemused the installer could miss some files without giving any warning.
Anyone in Christchurch with a D2007 install DVD and willing to be visited
and bothered for about 10-15 minutes while I install the Help section?
Mine had bad data in one spot so I missed the help files.
John
___
NZ Borland Developers Group -
This one puzzled me - when I migrated to D2007 I copied all my source to a
new folder (effectively leaving the D2006 stuff as is in its folder).
So first thing I did on opening a project in D2007 was to go into options
(CTRL+SHIFT+F11) Directories/Conditionals and change the Unit output folder
-Original Message-
From: Richard Vowles [mailto:[EMAIL PROTECTED]
Sent: Saturday, 5 May 2007 5:48 p.m.
To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Moved to D2007 OK - Help system busted
John Bird wrote:
Still no Help at all. Where can I go
-migrating from D2006
-All pretty smooth so far - IDE looks more refined and slick and faster
-Installing my extra components took 11 minutes (the joys of using most only
standard VCL)
-Built a couple of test programs then a good size one. All worked fine.
-Entire tests and setting IDE options
Still no Help at all. Where can I go to resolve this, or anyone got any
suggestions where to troubleshoot - eg what are the help files called and
where are they located so I can check they are there, and where are the
settings where the IDE goes to look for them??
(The only non-standard thing I
I have seen an exact similar case in one of the few external components I
use - TFindFile
which has code like:
s:TStringlist is a private variable in the FindFiles unit,
function TFindFile.SearchForFiles: TStringList;
begin
s.Clear;
try
FileSearch(Path);
finally
Result := s;
About to install D2007 Win32 - I noticed the installer says I have to
install .Net v2 first.
q1 - do I have to do that for just the Win32 D2007?
q2 - Will this break anything in the BDS 2006 if I still want to play with
.net stuff there still or anything else in there?
John
A friend of mine said this about Vista
I understand, without confirmation yet, that Vista is intercepting calls to
the Windows API for INI files. I would like to do INI (config) files as I
want to not as Vista is doing. So I am looking for a self made INI file
replacement that does not use
Surely a Microsoft mail program wouldn't do that to a competitor's email?
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Myles Penlington
Sent: Monday, 16 April 2007 11:22 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG]
This interests me too - there are a number of components where there are no
properties to control the background colour etc. The XP manifest turns page
controls to a white background. Personally I fiddled then just gave in and
used it as is - so now my page controls are white.
There is a lot
Re Software Assurance and roadmap
From presentations the roadmap is for Highlander around September and a
further version in maybe March next year - does anyone have an educated
guess if the second release is likely to fall within the 12 months software
assurance period starting now?
John
I have seen this with other icons also disappearing from the task bar. A
rare occurrence but I am sure!. I am fairly sure this is a bug in XP, as it
is not to do with certain programs - eg sometimes Outlook disappears,
sometimes Firefox, sometimes something else. The Alt/Tab list does still
in England where a developers of a high end financial package
added
a test client called Rich Bastard to the client list, and a
very unfortunate error in coding actually sent
letters to the most important clients each
headed up Dear Rich Bastard.(The developer got
fired).
John Bird
Beyond Data
(precision) qualifier, but doesn't give an
example of how to use it
John Bird
Beyond Data Systems
[EMAIL PROTECTED]
Ph 64-3-3654656 or 027 436-7702
Fax 03-3793340
---
New Zealand Delphi Users group - Delphi List - [EMAIL
format('%.3d',[TNMBR])
ATNMBR = FormatFloat(000, TNMBR);
John Bird
Beyond Data Systems
[EMAIL PROTECTED]
Ph 64-3-3654656 or 027 436-7702
Fax 03-3793340
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
try
format('%.3d',[TNMBR])
ATNMBR = FormatFloat(000, TNMBR);
John Bird
Beyond Data Systems
[EMAIL PROTECTED]
Ph 64-3-3654656 or 027 436-7702
Fax 03-3793340
---
New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED
-shooting etc gets confusing if they are not unique.
John Bird
Beyond Data Systems
[EMAIL PROTECTED]
Ph 64-3-3654656 or 027 436-7702
Fax 03-3793340
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
301 - 381 of 381 matches
Mail list logo