Re: [DUG]: Copyfile

2003-03-27 Thread Nicholas Sherlock
Copyfile, movefile, renamefile *should* do the job. Cheers, Nicholas Sherlock - Original Message - From: Alistair George [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:00 PM Subject: [DUG]: Copyfile Hi all. What routine can I

[DUG]: XML / HTML scripting to create output on canvas?

2003-03-27 Thread Jason Coley
Hi there, does anyone know how I could use a script, could be xml / html / vbascript or even a pascal type script and then use this info to print onto a printer canvas? Im not sure which script would be the best to use or how to do it. The whole section below would be in a script

[DUG]: Registry entries under NT,XP

2003-03-27 Thread Paul Lowman
Can anyone enlighten me as to the best approach to the following problem: An application is used be several users on an XP machine and needs to keep both user specific options in the registry as well as global settings that affect all users. Currently the entries are stored in the

[DUG]: DBE Error

2003-03-27 Thread Robert Martin
I have finally traced a randomly occurring error in an app. The error occurs when inserting a record in a table (Dbase), the message reported in the exception is 'Data Structure Corruption'. I have searched the web but can only find listings including this error and one that classes this as a

[DUG]: test

2003-03-27 Thread Robert Martin
Rob Software engineer Wild Software Ltd Ph 03 377-0495 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED]

Re: RE: [DUG]: More problems with onIdle

2003-03-27 Thread Paul Mckenzie
NZ post will deliver the next day :-o Regards Paul McKenzie Analyst Programmer SMSS ltd. - Original Message - From: Kyley Harris [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:12 PM Subject: RE: RE: [DUG]: More problems

RE: [DUG]: Registry entries under NT,XP

2003-03-27 Thread Kyley Harris
use HKEY_LOCAL_MACHINE for the globals, or any global defaults where you can then put the same key structure under HKEY_CURRENT_USER as an override -Original Message- From: Paul Lowman [mailto:[EMAIL PROTECTED] Sent: Friday, 28 March 2003 8:46 a.m. To: Multiple recipients of list delphi

[DUG]: FYI

2003-03-27 Thread Neven MacEwan
Hi all Recently there was on this list posted some questions about Simple Isams (Flashfiler) I came across this option on the memtable list http://www.sigmap.com/txquery.htm Which SQL' ises TTable Derivaitves Regards Neven N.K. MacEwan B.E. EE Ph 649 621 0001 Fax 649 621 0400 [EMAIL

Re: RE: [DUG]: More problems with onIdle

2003-03-27 Thread Robert Martin
Im still wondering what happened to the emails I sent this morning :) Rob Software engineer Wild Software Ltd Ph 03 377-0495 - Original Message - From: Kyley Harris [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Friday, March 28, 2003 1:12 PM Subject:

[DUG]: Offtopic

2003-03-27 Thread Alistair George
Hello Kyley, Xtra problems I am sure. Email delivery here is very poor at the moment too. Xtra increased their prices with auspices of providing better network bandwidth, but don't do anything. Eventually the bandwidth gets clogged up, going, going, gone and THEN they do something. At least they

Re: [DUG]: Registry entries under NT,XP

2003-03-27 Thread Robert Martin
On Win NT machines you have to have admin rights for the app to work using HKEY_LOCAL_MACHINE. This is a real pain. Rob Software engineer Wild Software Ltd Ph 03 377-0495 - Original Message - From: Kyley Harris [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED]

RE: Re: [DUG]: Registry entries under NT,XP

2003-03-27 Thread Kyley Harris
http://www.delphi32.com/info_facts/faq/faq_349.asp When using the TRegistry component under NT, a user with less than administrator rights is unable to access information stored in the HKEY_LOCAL_MACHINE. How can I work around this? The problem is caused by the fact that TRegistry (and the

RE: Re: [DUG]: Registry entries under NT,XP

2003-03-27 Thread Jeremy North
To get around this just use OpenKeyReadOnly or set the Access property to KEY_READ once you have created the TRegistry instance. These are available in Delphi 6 and above. Don't know about Delphi 5. Jed The problem is caused by the fact that TRegistry (and the derived TRegInifile)

Re: [DUG]: Registry entries under NT,XP

2003-03-27 Thread Corey Murtagh
- Original Message - From: Corey Murtagh [EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:12 PM Subject: Re: [DUG]: Registry entries under NT,XP snip Store user-specific settings ing HKEY_CURRENT_USER and globals in HKEY_LOCAL_MACHINE. That's pretty much the whole reason the registry

RE: RE: RE: [DUG]: More problems with onIdle

2003-03-27 Thread Marshall, Paul
John, I once wrote a wee program much as you describe. It simply looked every minute, and logged the window title. So I can answer your first question anyway: var s:String; P:array[0..256] of Char; h:THandle; i:Integer; begin

[DUG]: Windows quirks and inexperienced users

2003-03-27 Thread Dave . Jollie
Hi all I have a mail merge app which has a button for sending off a letter as a fax to the client. It has a dialog which comes back at the end of the process, saying "Fax sent to fax queue". In some instances, inexperienced users (not familiar with Windows) have sidetracked off to

Re: [DUG]: Windows quirks and inexperienced users

2003-03-27 Thread Nello Sestini
if i'm following this correctly, i think the problem is that the "fax sent... " dialog is modal - so it blocks allkeystroke/mouse input sent to the main window of the app. one way to get around this (if it's your app) is to make that dialog modeless - and then enforce the "modal" features

[DUG]: MousePos

2003-03-27 Thread Ross Levis
I'm using a free component called FileDrop which allows dragging of files from windows explorer onto a TWinControl at runtime. I'm attempting to use this with a ListView to insert files. Unfortunately FileDrop doesn't provide the X,Y coordinates of the drop position. Is there a simple way to

Re: [DUG]: MousePos

2003-03-27 Thread Matt Dee
I found the global Mouse.CursorPos property. Do I have to use that and subtract the mainform position and the listview position or is there something I've missed? TControl.ScreenToClient(const Point: TPoint): TPoint; Takes a screen cordinate, and translates it into local control cordinates.

Re: [DUG]: MousePos

2003-03-27 Thread Ross Levis
That did the trick, thanks. Ross. Matt Dee wrote: I found the global Mouse.CursorPos property. Do I have to use that and subtract the mainform position and the listview position or is there something I've missed? TControl.ScreenToClient(const Point: TPoint): TPoint; Takes a screen