You could also look at using a TObjectList instead of an array to hold the
stringlists.
It has the added advantage of freeing the objects when the list item is
deleted.
From D5 help:
TObjectList maintains a list of (owned) objects.
Unit
contnrs
Description
Use a TObjectList to store and
Sam,
if you're just trapping strtoint convert errors then try:
strtointdef(get_markitem(2,msg), 0);
regards,
Steve
-Original Message-
From: Sam Clarke [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 21 June 2001 15:27
To: Multiple recipients of list delphi
Subject: RE: [DUG]:
As a
minimum you should:
make
sure both pc's bde are pointing to the same netfile, and preferably have this in
a separate subdir, e.g.
\appdir\data
\appdir\data\netdir
...
set
localshare true on both pc's
on
your app startup, set the session.netdir, and also set the session.privatedir
Or alternatively:
var
sl : TStringList;
...
sl.CommaText := 'Fred,Jim,Wally,Elephants';
case sl.IndexOf(MyString) of
-1: // not found
0:
...
end;
Steve
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 7 June 2001 20:35
To: Multiple
Dave,
I'm not very experienced with MS SQL Server but I've just been down that
same track a couple of weeks ago.
I tried various solutions including BDE,ODBC,native API, direct ADO without
components, but what worked best for me was actually some freeware ADO
components found at:
Jim,
If you're still having problems, have you looked at the Zeos components?
They include direct API access to popular db's including MS SQL.
I can't get onto their web site (http://www.zeoslib.org/) just now but an
extract from the readme is:
Zeos Database Objects is a Delphi's components
Is this new pricing?
http://shop.borland.com/Product/0,1057,3-15-CQ100479,00.html
Steve
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To
Nic,
do you know if the webbroker components in kylix server are available as
upgrade from desktop?
alternatively has anyone heard of other Apache components available which
could be used from desktop?
I'd even settle for an equivalent to the ECB object in ISAPI.
I just can't justify buying
Hi,
does anyone know how to make a TComboBox do incremental searching?
by default it only seems to search on the first character.
I tried concatenating key values and setting the itemindex to the correct
item, but the default behaviour still takes over.
in the keydown event I have:
procedure
);
Keyascii := chr(0);
end
else
begin
messagebeep(0);
cbo.Text := GS;
end;
finally
freemem(sbuffer, 255);
end;
end;
Mark
- Original Message -
From: Stephen Barker [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED
Jason,
try specifying the dll extension:
CreateMutex(nil, False, 'AladdinsWD.dll');
from memory I had a similar problem a couple of years ago where NT4's
loadlibrary api call is different from other win's and doesn't default the
dll extension.
HTH
Steve
-Original Message-
Mark,
I don't use the webbroker architecture so correct me if I'm wrong but each
thread instantiates a new webmodule so putting it here may be safe but not
what you want if it is data that should be global.
If it is truly global data then make a global object to hold this and put
critical
. If not, it may be simpler (for me)
to install IB6 and use IBX components.
thanks,
Steve
- Original Message -
From: Stephen Barker [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Tuesday, 1 May 2001 18:19
Subject: [DUG]: MS SQL Server
Hi all,
I have
Not that I know of - although Ctrl-Shift-I works and is marginally easier.
Steve
-Original Message-
From: James Low [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 May 2001 13:51
To: Multiple recipients of list delphi
Subject: RE: [DUG]: IDE Shortcut?
While on this IDE thing, is
Hi all,
I have a customer who has SQL Server 6.5 already for an existing MRP app,
and wants to use this as the database for a new project in Delphi. I'm new
to using SQL Server from Delphi, so are there any gotchas I should know
about?
How should I be connecting given d5pro not enterprise.
Any
I would definately be setting the private dir to somewhere where you know
you have the right permissions. I have had similar problems with ISAPI using
BDE as well as non-BDE (DBISAM). Otherwise the first app may be OK, but it
or something else changes the current dir and the second app fails.
Just for fun, try increasing permissions on the c:\winnt\system32 dir - I
seem to recall some BDE issues with Win2k and this.
Gary would remember...
May even be linked with the session.privatedir setting especially if the BDE
is creating temp files during the query.
regards,
Steve
Mark,
1.you can run iis as a process rather than a service and use inetinfo.exe as
the host application for your isapi dll
2. try Intrabob (can't remember the url)
3. OmniHTTPd : I prefer to use this web server for local testing:
http://www.omnicron.ca
regards,
Steve
-Original
Neven,
I didn't get around to persevering with either of these and ended up writing
my own (mainly because I needed to include stored procedures), but they
looked promising at the time last year:
http://www.DuckTech.com
http://www.korzh.com/
regards,
Steve
-Original Message-
From:
Mark,
I have had good success lately using file-based databases as the overhead of
database connections is avoided. I currently favour DBISAM for this. When I
have used Interbase in the past I implemented connection pooling. Each
thread instantiates a new tsession and tquery and sets the
you could also look into the performance monitor api stuff,
but if it's just for your own server and you only want to know if it is
running I would do the quick and dirty:
shellexecute'tlist.exe tlist.txt'
and look for appname in the text file
tlist.exe is part of the NT resource kit.
Hey good timing Neven,
I was just about to start looking for an alternative to
COUNT(DISTINCT(idno)) for a database that doesn't support it. Now I'll try
your sum(1).
thanks,
Steve
-Original Message-
From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 13 March 2001 16:19
I can recommend DBISAM - compiles into exe, supports SQL, convert utility
from Paradox/dBase etc.
www.elevatesoft.com
regards,
Steve
-Original Message-
From: Bird, Geoff GD [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 7 February 2001 09:58
To: Multiple recipients of list delphi
Yes,
regards,
Steve
-Original Message-
From: Gary T. Benner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 31 January 2001 08:41
To: Multiple recipients of list delphi
Subject: [DUG]: UK Borland User Group Developer Information Library CD
HI Guys,
This excellent subscription
Hi all,
I have a job coming up early next year which will require accurate timings
for process control down to 1ms.
The customer already has a dll for VB which covers this, but of course I
will be doing this job in Delphi.
Any pointers to api's, components etc would be appreciated.
thanks,
timing
Import the functions from the DLL into Delphi? This should be
easy enough
looking at the VB source code.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Stephen Barker
Sent: Friday, 15 December 2000 11:01
To: Multiple recipients
Jeremy,
you could use an old 3rd party dos util which can be called from a batch
file, and stuffs the keyboard buffer with values prior to running your prog.
I have a few of these tucked away and can dig them up if you want.
Steve
-Original Message-
From: Jeremy Coulter [mailto:[EMAIL
You could connect to a SMTP server using sockets then talk SMTP with
commands like:
HELO
MAIL FROM: ...
RCPT TO: ...
DATA ...
.
QUIT
You need to find some code for sockets if you don't want to use 3rd party
components.
I recall using some stuff from dWinsock a few years back with Delphi 1, and
well we've done some simple testing and found under heavy load (muliple
threads - ISAPI) IBX works more reliably and slightly faster than either BDE
or IBO. (for our purposes anyway). For our stuff to date it has only been
fairly simple selects, updates and inserts - no stored procedures etc.
as Nic said - I have d1, d2, d3, d4, d5 all running on same machine,
although all my d2 projects were migrated to d3 way back. Others are being
migrated to d5 if and when necessary.
download and install latest BDE last
Steve
-Original Message-
From: Steve Peacocke [mailto:[EMAIL
try
http://www.kylecordes.com/
regards,
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 29 August 2000 01:33
To: Multiple recipients of list delphi
Subject: [DUG]: BDE alternatives
HI all.is there a site I can goto to see a list
Neven,
last Borland conference (Brisbane last Oct) it was announced from memory
that such a component would be released shortly and posted on the web site.
The intention was to get D Pro developers out from Paradox/BDE/cached
updates situation and into a clientdataset type scenario.
I'll look
What we do Tony in our ISAPI stuff is put an ini file in the windows
directory, which although not the best, at least it is always there. Inside
the ini file of course we have paths for database etc.
regards,
Steve
-Original Message-
From: Nic Wise [mailto:[EMAIL PROTECTED]]
Sent:
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Stephen Barker
Sent: Thursday, 4 May 2000 02:30
To: Multiple recipients of list delphi
Subject: [DUG]: decimal-aligned text
Does anyone have any code (pascal, c, whatever) that
right-aligns text or
preferably
decimal
Does anyone have any code (pascal, c, whatever) that right-aligns text or
preferably
decimal-aligns numbers when using proportional fonts?
I can't use Win api for this - I need actual code example as it's for an old
Dos application printing using HPGL.
ta,
Steve.
take a look at dbisam: www.elevatesoft.com
Cons: tables and indexes are stored as separate files.
Pros: no BDE, supports SQL, fast, small...
regards,
Steve
-Original Message-
From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 4 May 2000 17:49
To: Multiple recipients of
-Original Message-
From: Tony Sinclair [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 April 2000 11:44
To: Multiple recipients of list delphi
Subject: [DUG]: EMail
Hi all,
has anyone created an ISAPI dll in Delphi before and sent an
e-mail message
via IIS 4.0? If anyone
.
Any other ideas?
Is the list up? I have had no DUG mail since this morning.
Mark
Stephen Barker wrote:
video driver problems usually,
try changing video settings and/or driver.
if on board video, try changing the amount of system ram it grabs
Steve
-Original
Stephen - what do you mean by wrong??
On my machine, the images are displayed correctly - it's just
that they are the
wrong images. eg on the Data Access pallette, the Database
componemt is
represented by the Button icon and the Session component by
the CheckBox icon.
Is this the sort
Title:
from
DOS:
subst
x: c:\delphi4\install
then
from explorer run setup.exe from the x: drive.
regards,
Steve
-Original Message-From: John Christenhusz
[mailto:[EMAIL PROTECTED]]Sent: Friday, 10 March 2000
08:32To: Multiple recipients of list delphiSubject: RE:
Al,
Win 95 has the key:
HKLM\Software\Microsoft\Windows\CurrentVersion\FirstInstallDateTime
which we use along with other stuff
Can't find an equivalent in NT though.
Steve
-Original Message-
From: Alistair George [mailto:[EMAIL PROTECTED]]
Sent: Friday, 18 February 2000 08:40
-Original Message-
From: gajo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 16 February 2000 23:29
To: Multiple recipients of list delphi
Subject: [DUG]: String - Char
I have a string, for example "test"..
Now I want to take the t letter out and convert it to number..
But to
We use an external data dictionary - actually just an ini file containing
all field and index defs and a flag to signal if something has changed.
Every app has code to check this flag and if set compare tables and
restructure/index/copy data as appropriate.
Updates - easy, just send out a new
Are you trying to go through a proxy like wingate?
We had similar probs with TStarFTP until we got the settings right for
wingate.
Steve
-Original Message-
From: Neil Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, 4 February 2000 08:02
To: Multiple recipients of list delphi
CDS is a terrific solution I think we will see Cached Object
replaced with
a New Component based on CDS technology for the Professional version
sometime in the future.
Tony,
at the Aussie conference last year Inprise announced that a CDS-like
component would be made freely available for
Along the same lines...
we have had similar problems with Win98 and NT4 and vga drivers (locking up
and not displaying component icons correctly etc). Get the latest driver
from the card manufacturer or try a different card.
I observed problems with cards from Legend as well as S3-based cards.
Al, Which version of imagelib gave you grief?
I'm still using a really old one I got for Delphi 1 and 2 (ver 3.1?) and it
still does the job.
Steve
-Original Message-
From: Alistair George [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 18 January 2000 09:52
To: Multiple recipients of
Yes, but only using a 3rd party component library called imagelib.
Steve
-Original Message-
From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
Sent: Monday, 17 January 2000 13:42
To: Multiple recipients of list delphi
Subject: [DUG]: Scanning from Delphi
Hiya All
Has anyone
I've got an expression parser that originally came as sample code with an
early version of turbo pascal or one of the toolbox add-ons. It was a
spreadsheet example called microcalc from memory.
There is also bound to be something on the DSP.
Steve
-Original Message-
From: Donovan J.
Hi all,
who else is going or thinking about it?
I would like to get together a group if possible as we should be able to get
a discount on the reg. fee if 5 of us register together.
Earlybird registration ends on 8th Oct.
regards,
Steve Barker
Rohit,
we have Japanese Win 95 here if you want to borrow it - we use it on
occasion to test software for our Japanese customers.
Steve. Forrest Hill Ph 410 3074
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, 20 August 1999 00:26
To: Multiple
win98: 4.10
winnt4 server sp3: 4.0
winnt4 ws sp3: 4.0
winnt4 sbs sp3: 4.0
regards,
Steve.
-Original Message-
From: Chris Crowe [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Date: Wednesday, 9 June 1999 09:46
Subject: [DUG]: Windows versions
Hi all
Can
I do something like:
in the registry,
save grid width or height (depending on alignment)
save fieldname and column index position pairs.
save fieldwidths
restore settings on form show
save settings on form close
you may also want to save the form top,left,width,height properties as well
as
OK, I couldn't find this on the web site, but I found it on the latest
conference CD:
\BorlandOnline\docs\v0002329.htm
I have uploaded the text content of this page to :
ftp://www.delphi.org.nz/DUG/dBaseExpr.txt
regards,
Steve.
-Original Message-
From: Simon Mahony [EMAIL PROTECTED]
Thanks Steven - I did get this working - I hadn't realised that Delphi
supported a few xbase functions for index expressions.
Is there any documentation on this?
I tried str() and dtos() OK, but others like descend() wouldn't work.
Any code fragments on creating indexes would be good, ta.
101 - 155 of 155 matches
Mail list logo