If you went to Accessdatabases andVB or
VC++ you'd probably use ADO - and in my opinion Delphi handles ADO more
elegantly than VB does (don't know about VC) so
youhave another alternative
BobOsborn
Hi all.
What is the difference of doing Application.createform as apposed
to frm:=TForm.create ?
I cant see any real advanatage in doing one over the other, but I could
be wrong.
Can anyone shed some light on this?
Thanks, Jeremy Coulter
- Original Message -
From:
Bob Osborn
To: Multiple recipients of list delphi
Sent: Monday, October 15, 2001 9:56
AM
Subject: Re: [DUG]: Contracting issues -
Comments please
If you went to Accessdatabases andVB
or VC++ you'd probably use ADO - and in my
Patrick
This raises a lot of issues, One which is signiificant (are you listening
Nick) is how little Borland do for us as developers, Because we are their
'clients'
it always seems to me that they are trying to extact revenues from us and
not seeing us a resource thru which their revenues can
Hi Patrick
In regard to obtain the services of a contracting
firm in another part of the country. I support systems remotely for a number of
clients in various parts of the country. I am not an administrator and I
generally recommend that clients contract another local party to perform the
The
term "virtual corporation" springs to mind.
Has
this been tried before? Is itviable for the NZ Delphi
community?
Cheers
Paul
Grimstrup
[EMAIL PROTECTED]
Hi people. I have found something interesting with the modification dates
for files on different operating systems.
On windows 98 if you change time zone or daylight savings the modification
date doesn't change, on windows 2000 if you change those settings, the
modification date DOES change at
Is there a simple function to do this? I can't find anything in either the
D5 or Win32 help.
Dave.
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Its worse than that. IT changes on 2000. However on Nt4, it
changes on some drives for some users 9Seemingly at random).
This was supposed to be fixed in Sp5 or thereaboust but it has
probably come back.
When you think about it, there is no solution. Assuming that 2000
now stores the GMT
Doesn't RenameFile() cover this ?
Stephen
---
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
Don't know, never thought of that, I'll give it a go.
Ta,
Dave.
-Original Message-
From: Stephen Bertram [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 3:09 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming Folders in Windows
Doesn't RenameFile() cover
Doesn't appear to work. Any other suggestions?
Dave.
-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 3:14 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming Folders in Windows
Don't know, never thought of that, I'll
Try the API function MoveFile!
HTH,
John
-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Monday, 15 October 2001 12:27 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming Folders in Windows
Doesn't appear to work. Any other suggestions?
Rohit, thanks for the response,
In sysutils, the fileage method does this :
FileTimeToLocalFileTime(FindData.ftLastWriteTime, LocalFileTime);
if FileTimeToDosDateTime(LocalFileTime, LongRec(Result).Hi,
LongRec(Result).Lo) then Exit;
If you bypass the filetime to
ShFileOperation
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David O'Brien
Sent: Monday, 15 October 2001 14:58
To: Multiple recipients of list delphi
Subject: [DUG]: Renaming Folders in Windows
Is there a simple function to do this? I can't
Application.CreateForm is a method of TApplication that calls the
constructor (TForm.Create) of the form specified. The Application becomes
the form's owner.
Note: By default the form created by the first call to CreateForm in a
project becomes the applications main form.
If you did not call
error 32 is a sharing violation.
the file is being accessed by another process.
-ns
- Original Message -
From: David O'Brien [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Monday, October 15, 2001 9:53 AM
Subject: RE: [DUG]: Renaming Folders in
SHFileoperation returns 31. Is there any example code out there?
var
SHFileStruct: _SHFileOpStructA ;
...
SHFileStruct.Wnd := 0 ;
SHFileStruct.wFunc := FO_Rename ;
SHFileStruct.pFrom := PChar(Folder) ; // = 'c:\dmi\help'
SHFileStruct.pTo := PChar(NewFolder) ; // = 'c:\dmi\help1'
Hi,
RenameFile('c:\\1', 'c:\\2');
Works fine for me.
Sergei
Doesn't appear to work. Any other suggestions?
Dave.
-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 3:14 PM
To: Multiple recipients of list delphi
Subject: RE:
Sorry, I have purposely chosen folders nowhere near my app.
Dave.
-Original Message-
From: David Brennan [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 4:27 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Renaming Folders in Windows
Dave,
Put a breakpoint in
Why the double backslash?
Dave.
-Original Message-
From: Sergei Stenkov [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 4:08 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming Folders in Windows
Hi,
RenameFile('c:\\1', 'c:\\2');
Works fine for me.
Alternatively the folder is being held open in the right-ghand-side of
Explorer
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David Brennan
Sent: Monday, October 15, 2001 4:27 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: Renaming
G'day folks,
I've asked this question before and did get a satisfactory reply at that
time, but after all it doesn't seem to work the way I want it to.
What I want is to change the presentation of a dbGrig's field only when the
field ('Type') = 2.
Pseudo code:
When Type = 2 then
begin
when
Why the double backslash?
Sorry, no comments on silly errors, ouch!
But Delphi was amazingly forgiving in this instance and it works in both
cases wether with single or double slashn (just checked).
-Original Message-
From: Sergei Stenkov [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Thanks for athe. Its one of those things I never had time to examine too
much.
Jeremy Coulter
-Original Message-
From: Patrick Dunford [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Date: Mon, 15 Oct 2001 15:53:00 +1300
Subject: RE: [DUG]:
Dave,
The following works on my PC:
MoveFile('c:\a', 'c:\b')
John
-Original Message-
From: David O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Monday, 15 October 2001 12:54 pm
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming Folders in Windows
MoveFile returns false,
While not solution to your actual problem
Have you considered using a calculated field to display the information?
You could put your tests in their and display that value in the grid. For
example we often display a 'P' column that indicates an item was printed.
The field is Boolean so the
Definately not being used by anything else.
...
Cool Earthquake (Manawatu)
...
RenameFile returns 32.
Dave.
-Original Message-
From: Chris Reynolds [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 4:38 PM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Renaming
Just tried it with an empty project, and it works here too. Bugger. Now to
find out how my app is holding open a folder its got nothing to do with :(
Dave.
-Original Message-
From: Manning, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 5:01 PM
To: Multiple recipients of
OK, got it, sorry guys, thanks for the help.
Missing Findclose after retrieving a list of files in the folder.
(How do you do an embarrassed emoticon?)
Dave.
-Original Message-
From: Robert Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 15, 2001 5:05 PM
To: Multiple
Double backslash is needed in C style strings since the backslash acts as an
escape (for example \n is the carriage return character).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of David O'Brien
Sent: Monday, 15 October 2001 16:46
To: Multiple
31 matches
Mail list logo