Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of YanboL
Sent: Friday, 19 March 1999 14:44
To: Multiple recipients of list delphi
Subject: [DUG]: TreView
ne in explorer where the
image changes to an open folder.
So then what is the StateImages property used for? The help files are
useless.
========
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-BEGIN PGP SI
a separate imageindex
OK, I got it all figured out now. Ta :)
What is the stateimages property used for (still confused)
========
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.d
Sure. But do YOU or anyone know how to draw the shortcut overlay onto an
icon?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Struan Judd
Sent: Thursday, 26 November 1998 15:40
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Loading
cities.com/CapitolHill/Senate/9789/fnz/
=====
Patrick Dunford, ChristChurch, NZ
http://www.geocities.com/Heartland/Village/3405/
---
New Zealand Delphi Users group - Delphi Lis
Use
the properties and methods of the Session variable. (Look up TSession in the
help).
example:
var AliasParms:TStringList;
begin
AliasParms:=TStringList.Create;
AliasParms.Add('PATH=C:\Windows');
Session.ModifyAlias('MYALIAS',AliasParms);
AliasParms.Free
end;
-Original
with.
--
Patrick Dunford, ChristChurch, NZ
http://www.geocities.com/CapeCanaveral/Cockpit/5705/
http://www.geocities.com/Heartland/Village/3405/
http://homepages.ihug.co.nz/~pdunford
You
mean a .LNK or .URL, the first is the start menu type shortcut to a program or
file and the second is a shortcut to a URL.
There
are a pair of useful components TIShrtCut and TPBShellLink for this at a French
site, CycoCrew, at
http://www.worldnet.net/~cycocrew/delphi/index.html
I use a small freeware component called mdTray which is on the DSP. There
are a number of such components there.
To minimise: just hide the application's main form.
To restore:
MainForm.Show;
Application.Restore;
Application.BringToFront;
-Original Message-
From: [EMAIL PROTECTED]
Delphi 3 possibilities which may give you a clue are:
HKEY_CURRENT_USER\Software\Borland\Delphi\3.0\Closed Projects, File_0 value
HKEY_CURRENT_USER\Software\Borland\Delphi\3.0\Session, Project value
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of
and uses the default handling for long file names.
If it uses the 16 bit BDE can it read the 32 bit alias file, or is it not
handling aliases?
snip
Patrick Dunford, ChristChurch, NZ
http://patrick.dunford.com
a
locked record. Which leads me to think you are not supposed to catch this
exception...it is meant to put up a message to warn the user.
Patrick Dunford, ChristChurch, NZ
http://patrick.dunford.com
If it's a dBase or Paradox table, you can use a DBI call like
DBIDoRestructure
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, 24 February 1999 16:53
To: Multiple recipients of list delphi
Subject: RE: [DUG]:
the same job can be done with TUtility (or TTUtility) and
"repairing" from a template
========
Patrick Dunford, ChristChurch, NZ
http://patrick.dunford.com/
---
New Zealand De
of public key encryption on.
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Peter Hyde
Sent: Wednesday, 31 March
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Not to me :)
A detail band will be generated for every single record in your datasource
(this is normal), quickreport probably does this even if the band height is
set to 0. I don't know how it saves the QRP file, but presumably it must
have
an
.
Temporary site: http://www.geocities.com/CapitolHill/Senate/9789/fnz/
=
Patrick Dunford, ChristChurch, NZ
http://www.geocities.com/Heartland/Village/3405/
---
New Zealand Delphi
to my original question is 'No', it can't be done.
What's the point of having edit masks if they can't cope with a simple
currency value?
IMO the edit mask component is a crock, roll your own.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
. IRD is currently copping a lot of heat in the media because
they insist that employers file their PAYE returns via a web page containing
ActiveX controls, which of course are MS Windows proprietary :)
Patrick Dunford, Christchurch, NZ
PRO VSM - Human
There is the Win32Platform variable in SysUtils, now can you conditionally
define a symbol based on that?
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-Original Message-
From: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
You may find the freeware toolbar97 components more useful.
http://www.connect.net/jordanr/
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-Original Message
Oh I see what you mean.
Isn't there an API function for that? :)
There is an API function called "GetFullPathName" which appears to
correspond to Delphi's ExpandFileName.
What I was meaning to explain back there is that short names are not
generated automatically from long names and neither
Which company is certifying y2k compliance for Installshield custom editions
for Delphi?
There is no mention on either Inprise or Installshield's web sites.
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
with it.
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
important if you interface to them in any way or other.
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
http://patrick.dunford.com
te I
can't find this DPR file either, only the DCL files. My installation of
C++Builder 1.0 only has a CCL files (it uses the same component library as
Delphi2)
========
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation Fo
time. This which did not happen in Delphi 1 has put me off MDI forms
permanently and I now prefer to use pagecontrols instead. I guess they don't
work quite the same though.
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal
and had no problems
(the maximised MDI child forms didn't restore themselves when the
non-MDI form was created and shown). What versions of Delphi and
Windows are you using?
No I am referring to switching from one MDI form to another. D2, Win95
Patrick
you
are loading and saving is the image of a report that has been generated. You
could then write a very simple program to load the reports again for
viewing.
Patrick Dunford, Christchurch, NZ
Voluntary Student Membership: Equal Representation For All
http
in then even if the rest is commented out, the
errors produced vary from Invalid pointer operation to Stack overflow,
Access violation and Invalid page fault.
D3.02, Win95OSR2, IE5
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
Yes but it does not work as he requested, tabbing in a HTML form. The normal
IE browser does but the component working in an application does not.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, 29 April 1999 15:49
and might have all changed the same record since they last
downloaded?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi
, if it
is a Delphi
app that you are monitoring, you can try to find the class of the window -
it would be the same as the form name.
Yes I found this message too, umm isn't WM_SETTEXT an internal message of
the application?
snip
Patrick Dunford, Christchurch
Is it an ActiveX or a VCL?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rohit Gupta
Sent: Thursday, 13 May 1999 17:09
To: Multiple recipients of list delphi
Subject: [DUG]: Crystal Report Bug
For developers that are using it, it might pay
If you
mean convert an IP address to a name, the freeware winsock component from
overbyte will do this, one of its methods will give you the name from the IP
address.
http://www.rtfm.be/fpiette/
There is a small
program that uses it on my website at
Here is the procedure that does the lookup. If you look at the help for the
component you can work out which function to use for your application.
Note when getting an IP address it is returned as a single number which then
has to be translated into the four numbers.
procedure
Anyone look at the conversion of QR1 reports to QR2? The standard converter
is pretty useless for big reports.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
Borland do sell the Turbo C++ package with TC++/dos, TC++/win311 C++Bldr
1.0 for a small sum ($99 educational). Sealcorp will have it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nigel Tavendale
Sent: Tuesday, 18 May 1999 18:50
To: Multiple
possible
**
To find the virtual key codes, load WINDOWS.PAS and search for VK_
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL
This is only Windows 98. 95 also will keep a System.DA0/User.DA0 typically,
NT I'm not sure of. If you have a backup system then getting it to backup
the registry is also a good idea :)
If you are restoring a registry you don't want to restore the whole
registry, only the section you actually
This wouldn't be a Windows95 system by any chance would it?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Myles Penlington
Sent: Friday, 28 May 1999 08:48
To: '[EMAIL PROTECTED]'
Subject: RE: [DUG]: Storing long memo fields
There is
There are different ways of doing it, and there may be a better way...this
is the code I use for a ListView in my common code library
function AddIcon(FileName:string; FileIndex:word):integer;
begin
try
actually deployed yet? Resources on Sun's site seem to be limited to
a specification paper
Resources?
Commercial implementations / development products?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Howard
Sent: Tuesday, 1 June 1999 21:00
To: Multiple recipients of list delphi
Subject: Re: [DUG]: QR Printer Control
Chris
Is this a known bug with QR and 95 and not NT? Does this mean
that
You might find what you are looking for in the
FindFirstPrinterChangeNotification and related functions. They can tell you
when a job is added or deleted and there is a field for the number of pages
printed.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
A useful resource is the Borland Developer Support site when dealing with
these issues
http://www.borland.com/devsupport/bde/ti_list/TI2993.html
Technical Information Document (TI2993)
Removing "Lock file has grown too large" Error
Product: BDE
Version: All
Platform: Windows 3.1, Windows 95,
aramater in incorrect
and why?
snip
============
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Sure. Just note please I have not been able to confirm that this registry
location is always valid for finding the name of the default printer. MS
might have some documentation for this.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL
ShellExecute is easy. Am I to take it you might be referring to internet
shortcuts? I use a component for these that I got from the DSP.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rohit Gupta
Sent: Thursday, 3 June 1999 15:55
To: Multiple
When I did this experimentally I used the DirectAccess code unit from Opus,
which is true Delphi source code, rather than OLE. I think they now call it
DirectDAO. They used a Fields property of their Database object, something
like
DbEngine:= CreateEngine(); // create our root
You can also use the Windows Unit record type TSystemTime which is
referenced in the function call:
function SetSystemTime(const lpSystemTime: TSystemTime): BOOL; stdcall;
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Crowe
Sent: Friday, 4
Yes, the problem with the files that come with Delphi is that they refer to
more than one version of NT, but I did get the impression at one point that
they were not the most up to date files available.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rohit Gupta
Sent: Friday, 11 June 1999 16:49
To: Multiple recipients of list delphi
Subject: Re: [DUG]: File copying
Peter,
can you confirm that it works on NT 4 ? I was looking up the
Use
one of numerous tray icon components
The
one I use is mdTray which is available free from
http://www.djernaes.dk/martin/
Patrick Dunford,
Christchurch, NZhttp://patrick.dunford.com/
-Original Message-From: [EMAIL PROTECTED
Once
you call the Hide method of the main form then it disappears
completely.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
CombSent: Monday, 14 June 1999 14:58To: Multiple
recipients of list delphiSubject: Re: [DUG]: System
?
ShBrowseForFolder is almost certainly supported by NT4
Check at MSDN
snip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
---
New Zealand
?) and
use a TDatabase instead of an alias, you could do this. But I don't see an
option in ISX for this.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail
= and = instead ?
========
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
-Original Message-
From: Patrick Dunford [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, July 01, 1999 11:23 AM
To: Multiple recipients of list delphi
S
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Sunday, 4 July 1999 22:32
To: Multiple recipients of list delphi
Subject: [DUG]: Terminating RAS Connection
Hi all. Does anyone know how to progmatically terminate an active
the HREF search site.
These will give you a much wider resource of information than this one list
with its relatively small base of experience.
Cheers
snip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
http://www.trainweb.org/enzedrail/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http
ÿþ<
be changed.
The only fix appears to be to remove and reinstall the BDE. Anyone have
knowledge of this?
========
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zeal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of P Sheehan
Sent: Friday, 16 July 1999 12:05
To: Multiple recipients of list delphi
Subject: Re: Autofrwd[DUG]: Read Only Aliases
Have the settings been merged ?
The BDE3.5 install was done by Wise
There is a freeware mailslot component available from
http://www.djernaes.dk/martin/
Mailslots are a one way communication system. Windows 95 uses them to run
the Winpopup service.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent:
Correction: this message gets sent to appbars when an application goes
full-screen, but the mechanism of how an application tells Windows that it
is going full screen is unknown to me, it is probably in the Windows
function group in the API.
-Original Message-
From: [EMAIL PROTECTED]
.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
through the group of buttons setting their Down properties to false
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List
you just use an ordinary button or alternatively a 3rd party
component.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alistair George
Sent
If my application creates a process using CreateProcess and gets back the
process handle hProcess, how do I later get the main window of the
application to show?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
). Not having access to the
source code, I suppose it is possible that Delphi ignores the message if the
child control is not a TWinControl, since the form's OnHelp event isn't
fired for TGraphicsControls.
Patrick Dunford, Christchurch, NZ
http
at a form, because the class browser
lets you get to your forms and components without viewing the form. The
browser-thingy in Delphi 4 is a step in that direction, I'm not entirely
convinced that it goes far enough along that track.
Patrick Dunford
to my declared constructor and
destructor causes an error message about overriding a static method. So I
leave out the override keyword and it compiles.
But what is the difference?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
constructor and
destructor causes an error message about overriding a static
method. So I
leave out the override keyword and it compiles.
But what is the difference?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
automatically whereas any object declared
under public, private or whatever has to be explicitly created by the
programmer in code. Is that the case?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
That possibly makes Peter's problem the bug in the 401COMUPD installer (it
removes the DLL rather than replacing it)
http://support.microsoft.com/support/kb/articles/Q221/8/36.ASP
PRB: 401Comupd.exe Makes System Unbootable
.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group
the
AfterConstruction / BeforeDestruction procedures.
There are no such procedures for a TObject or anything in Delphi 3. The best
I can come up with is NewInstance / FreeInstance, both of which are declared
virtual. What would my code look like?
snip
Patrick
talked about for many years for the same reason.
snip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
.
Patrick
Dunford, Christchurch, NZhttp://patrick.dunford.com/
values in the grid, I want to
display the text value, and my picklist lets someone pick the text value
when they are entering or changing the field, and they never actually see
the number. Is it possible? How do I implement it?
Patrick Dunford, Christchurch
would like to retain the link if
at all possible.
Using d3 Standard, BDE 4.01
========
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group -
, but not when the field is being edited.
How do I get the field contents to show in hour:minutes format (no seconds)
when editing? Is this anything to do with the GetText or SetText event
handlers for the TTimeField?
Patrick Dunford, Christchurch, NZ
http
that the TDBEDIt is bound
to.
Try HH:MM.
No, the displayFormat only changes what is displayed. As soon as you put the
cursor in that field to edit it the format changes to hh:mm:ss
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Patrick Dunford
Sent
that they do exist.
I wonder if D5 supports HTMLHelp.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chris Reynolds
Sent: Tuesday, 14 September 1999 12:08
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Formatting time for TDBEdit control
Sorry Patrick, try 2.
Something like
version?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http
likely 3. You should be able to cross grade if
_nothing_ else.
I'll ask Claire tommorow and post something.
N
Patrick Dunford wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Nic Wise
Sent: Wednesday, 15 September 1999 11:52
printer list - the PrinterIndex is no longer valid).
EDSPrint provides to simple routines, SaveToIniFile and ReadFromIniFile,
which allow you to save and restore the current printer and its settings.
http://www.onedomain.com/
Patrick Dunford, Christchurch
is waiting for the process state to become signalled it will
be unresponsive. A better way of implementing this is
repeat
Application.ProcessMessages;
until WaitForSingleObject(ProcessInfo.hProcess,0)=WAIT_OBJECT_0;
Patrick Dunford
?
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Make your username Admin and password blank. These are the defaults for
Access but most users have it turned off.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Tony Sinclair
Sent: Thursday, 30 September 1999 20:43
To: Multiple recipients of list
I feel a critical letter to NZPCW coming on :)
Runtime packages make pretty small EXEs, don't they? Seems to me Mr Palmer
is uninformed.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
-Original Message-
From: [EMAIL
I am having unexpected loss of data in Paradox tables. Are there any issues
associated with the table not having a primary key? What is the call again
that flushes the buffers from the BDE? This is a standalone machine, not
network.
Patrick Dunford
Odd, I've never seen problems with data not being flushed before - in this
case the table records are quite small (16 bytes each) and losing 2 or 6 is
significant.
-Original Message-
From: Steve Cooney [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 2 October 1999 17:53
To: [EMAIL
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Richard Vowles
Sent: Monday, 4 October 1999 10:03
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Losing data in Paradox tables
I thort that dbiUseIdleTime told it to sync everything -
from http://www.geocities.com/SiliconValley/9486/appbar14.zip
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com/
---
New Zealand Delphi Users group - Delphi List
procedure passing the DBI method name and
parameters, check will raise the exception if an error result is returned
IIRC.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
.
If no other BDE calls have been made since then it looks like
DBIGetErrorEntry would return the error stack but the stack is cleared the
next time that a BDE function is called.
Patrick Dunford, Christchurch, NZ
http://patrick.dunford.com
1 - 100 of 459 matches
Mail list logo