[DUG] Importing Data

2007-10-11 Thread Bob Pawley
running doesn't support updating a table with the interface's ID number while using a temporary cursor either in Fetch or Move. If someone could suggest a method of importing these devices, based on Drawings, that allows updating the tables it would be much appreciated. Bob Pawley

[DUG] Importing Data

2007-11-06 Thread Bob Pawley
importing the next row. The full expression follows - Bob Pawley var i : integer begin PSQLQuery1.Close; PSQLQuery1.SQL.Clear; PSQLQuery1.SQL.Add ('Select Count (Loop_ID)'); PSQLQuery1.SQL.Add ('FROM P_ID.Loops, Project.Project'); PSQLQuery1.SQL.Add ('Where

Re: [DUG] Importing Data

2007-11-06 Thread Bob Pawley
unprocessed (greater than zero) before importing the next row. The full expression follows – Bob Pawley var i : integer begin PSQLQuery1.Close; PSQLQuery1.SQL.Clear; PSQLQuery1.SQL.Add ('Select Count (Loop_ID)'); PSQLQuery1.SQL.Add ('FROM P_ID.Loops

[DUG] Delphi Canvas

2008-04-22 Thread Bob Pawley
I want to create an interface using TCanvas (or equivalent) to graphically display information stored in a PostGIS database. Can anyone point me to instructions on how to do this?? Bob Pawley ___ NZ Borland Developers Group - Delphi mailing list

[DUG] Turbo Delphi

2008-07-09 Thread Bob Pawley
Can someone explain the difference between Turbo Delphi and the Delphi that came with Boreland Developer Studio 2006 - other than Turbo Delphi is free? Bob ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

[DUG] Errors

2008-07-13 Thread Bob Pawley
I opened Delphi and compiled an application to ensure it was working. It compiled. I then closed Delphi and a few minutes later reopened it only to find a multitude of errors. Most of the errors are Cannot resolve unit name and TForm* does not contain a member named refresh ... ... ad

Re: [DUG] Errors

2008-07-13 Thread Bob Pawley
? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Pawley Sent: Monday, 14 July 2008 8:33 a.m. To: DUG Subject: [DUG] Errors I opened Delphi and compiled an application to ensure it was working. It compiled. I then closed Delphi and a few minutes later

[DUG] TMap

2008-09-30 Thread Bob Pawley
Hi I am running Borland Studio 2006 on WinXP. I can't find the TMap component. My Delphi 3 version has it installed under ActiveX. There is no reference to TMap in the help file. Can someone point me to instructions on how to install this component? Bob

[DUG] VCL

2008-10-07 Thread Bob Pawley
Hi I am attempting to install a new Delphi component. Apparently it requires 2 files - vcl50.dcp - vclx50.dcp I've made a search of my computer as well as Borland and Microsoft websites with no luck. A google search indicates that these files are related to Delphi runtime. However I haven't

Re: [DUG] VCL

2008-10-07 Thread Bob Pawley
Sorry - I'm using Studio 2006 - Original Message - From: Kyley Harris To: NZ Borland Developers Group - Delphi List Sent: Wednesday, October 08, 2008 4:33 AM Subject: Re: [DUG] VCL are you using delphi 5.0? On Wed, Oct 8, 2008 at 10:20 AM, Bob Pawley [EMAIL PROTECTED

[DUG] Delphi CLX

2008-10-12 Thread Bob Pawley
In a search I saw that Delphi CLX is the predecessor of Delphi.net. Is that true? Can applications designed in Delphi CLX be opened in Borland Studio 2006? Bob ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

[DUG] Importing from Visual C#

2008-10-30 Thread Bob Pawley
Hi I am attempting to import a project developed in Visual C# into Borland Studio 2006. I get the error - Destination Document Error: Invalid at the top level of the document. Line: 1 ?xml version=1.0 encoding=utf-8? Can anyone tell me if there is a way around this?? Bob

[DUG] Conversion Tool

2008-12-22 Thread Bob Pawley
Hi I have a project written in Microsoft's C#. Does a tool exist that can convert my project to Boreland Studio 2006? Bob ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

[DUG] Integrating MS C# and Delphi

2009-01-25 Thread Bob Pawley
Hi I have an application written in MS C# which I need to control from another application written in Delphi (2006). Can anyone suggest a method? I've considered using the .Net structure, but .Net appears to be relegated to web applications. Bob

Re: [DUG] Analogue Clock - update to free giveaway

2009-11-10 Thread Bob Pawley
I'd appreciate a copy. Thanks Bob - Original Message - From: Judd, Struan (eCargo) struan.j...@chh.co.nz To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Sent: Tuesday, November 10, 2009 3:01 PM Subject: Re: [DUG] Analogue Clock - update to free giveaway Sounds

[DUG] TDBCheckbox

2009-11-23 Thread Bob Pawley
Hi I have two tdbcheckboxes. I want one checkbox to be disabled unless the other checkbox is checked. The following does compile but DBCheckbox6 isn't enebled when the sql condition is true. Could someone suggest what it is I am doing wrong?? Bob begin DBCheckbox6.Enabled :=

[DUG] DBEdit

2010-04-24 Thread Bob Pawley
Is it possible to refresh a DBEdit component with Edit2.Refresh; or DBEdit2.Refresh; Neither one is working, even when I put Sleep() in front of them. Bob___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] DBEdit

2010-04-24 Thread Bob Pawley
PM Subject: Re: [DUG] DBEdit No you will need to refresh the dataset itself. Jeremy From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Bob Pawley Sent: Sunday, 25 April 2010 11:22 To: NZ Borland Developers Group - Delphi List Subject

[DUG] Enable CheckBox

2010-04-26 Thread Bob Pawley
Hi I am attempting to enable a checkbox only when a DBEdit has a value. (Disabled when no string in DBEdit.) Following is my code which disables the CheckBox after a delete from the DBEdit. But it is not enabled when I add a string to the DBEdit. -- procedure TForm4.DBEdit2Change(Sender:

Re: [DUG] Enable CheckBox

2010-04-27 Thread Bob Pawley
Hi The following works well and it is simple enough that I can almost understand it. Thanks everyone. Bob if DBEdit2.Text '' then DBCheckBox4.Enabled := true else DBCheckBox4.Enabled := false - Original Message - From: Colin Johnsun To: NZ Borland Developers Group - Delphi

[DUG] Error - Database not set

2010-05-04 Thread Bob Pawley
Hi I'm using Delphi 2006 on Windows and accessing a PostgreSQL database. I am getting an error message 'Database not set' which stops the compile. I've checked all of the datasets and they are connected properly. I have gone through Options to initiate the Map File in an attempt to get to

[DUG] Database not set

2010-05-09 Thread Bob Pawley
Hi I have a 'database not set' error. No further information is given in the error message. From what I can tell, all of the components that require a database to be set are OK. Is there some way of zeroing in on the actual problem? I've tried the debugging and map file provided by Delphi

[DUG] Windows 7

2010-07-01 Thread Bob Pawley
Hi I've just installed my BDS 2006 based project on Windows 7. I have data aware components on a form communicating with datasets and tables on a Data Module Form (DM1). I have no problem when the database is empty. I can compile the project, enter information into the databases and close the

Re: [DUG] Windows 7

2010-07-02 Thread Bob Pawley
) in the auto-create form list. It may make a difference. Cheers, Colin On 3 July 2010 08:39, Bob Pawley rjpaw...@shaw.ca wrote: Hi John I set up the data aware components and datasets in a trial project and everything worked fine. I then created a second datamodule (DM2) within the original project

Re: [DUG] Windows 7

2010-07-03 Thread Bob Pawley
Hi John and Colin You both set me on the right track. The project works with the datamodule listed after the main form, which contains the data aware components, in the Project\Options\Forms list. Thanks for your help. Bob From: John Bird Sent: Saturday, July 03, 2010 4:47 AM To: NZ

[DUG] Icon

2010-07-20 Thread Bob Pawley
Hi Can someone suggest a tool for converting a BMP to Icon? I don't suppose my BDS 2006 this capability?? Bob___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi

[DUG] DLL Win 7

2010-09-27 Thread Bob Pawley
Hi I have a .DLL that likes Win XP but doesn't like Win 7. It came in an executable and I stripped out the DLL which I tried to register in Win 7 - without luck so far. Suggestion would be welcome. Bob___ NZ Borland Developers Group - Delphi

Re: [DUG] DLL Win 7

2010-09-27 Thread Bob Pawley
, author, function etc. Rohit On 28/09/2010 11:30, Bob Pawley wrote: Hi I have a .DLL that likes Win XP but doesn't like Win 7. It came in an executable and I stripped out the DLL which I tried to register in Win 7 - without luck so far. Suggestion would be welcome. Bob

[DUG] Delphi talking to C#

2010-12-13 Thread Bob Pawley
Hi I have two applications. One is written in Delphi. The other in MS C#. I need to communicate between the two. I use text files and filewatcher now, but that seems kind of crude and the information is visible to the user. I know I can use ShellExecute to open one app from the other app,

Re: [DUG] Delphi talking to C#

2010-12-13 Thread Bob Pawley
The firewatcher I am using is on the C# side. It just looks for a change in the file itself. Bob -- From: John Bird johnkb...@paradise.net.nz Sent: Monday, December 13, 2010 2:00 PM To: NZ Borland Developers Group - Delphi List

[DUG] Named Pipes

2011-03-11 Thread Bob Pawley
Hi I am attempting to employ the named pipe application “Using Pipes for Messages” which I found at http://www.delphi3000.com/articles/article_2918.asp?SK= I am running Borland Studio 2006 on Win 7 and need named pipes to communicate to a C# app that I am also building. The example

Re: [DUG] Named Pipes

2011-03-11 Thread Bob Pawley
Pipes Hi, I have compiled and run the sample (with Delphi 2007) successfully on both XP and Windows 7. If you would like to zip up your sample source code and email it to me, I can try it here and see what happens. Cheers, Alistair Ward. On 12 March 2011 02:12, Bob Pawley rjpaw...@shaw.ca

[DUG] DAC Table Dynamic Active := true

2011-04-30 Thread Bob Pawley
Hi I'm using more than 40 DAC Table components. When I change database connections the table components become not active. Is there a method of dynamically making them active?? I've tried things such as PSQLTable* := true, with no success. Bob___ NZ

Re: [DUG] DAC Table Dynamic Active

2011-04-30 Thread Bob Pawley
Hi Graham Thanks for the info. It was what I expected but hoped to avoid as it becomes a minor maintenance. I would really appreciate it if you could also point me to a method for using the DAC Dump component. None of my searches have resulted in an example. Bob -Original Message-

[DUG] ogr2ogr

2011-05-26 Thread Bob Pawley
Hi Can anyone point me to an example for using ogr2ogr in Delphi. A site holding a Delphi compatible OGR .dll would also help, from what I have read. Bob___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

[DUG] Command Line from Delphi

2011-06-08 Thread Bob Pawley
Hi I want to open and execute a command line application from a Delphi interface. (FWTools ogr2ogr to be specific). When I cd the command prompt to FWTools bin and use the following argument it converts a dxf file to a PostgreSQL table perfectly. ogr2ogr -f PostgreSQL PG:host=localhost

[DUG] Extending coding space

2011-06-09 Thread Bob Pawley
Hi I have a project using a Windows form which provides a space for coding. I want to add something to extend this coding space without using another form. Can someone suggest what I should use to do this? Bob___ NZ Borland Developers Group - Delphi

[DUG] File Path

2011-06-20 Thread Bob Pawley
Hi I have an executable which I need to access that is installed in Program Files. With the advent of 64 byte in Windows 7, I need to distinguish which of the two file paths to use depending on the operating system. Win 7 path - C:\Program Files (x86)\... or Win XP path - C:\Program

[DUG] Variable in String

2011-06-22 Thread Bob Pawley
Hi I’m having trouble with using a variable in a string path. When I use the variable FW_Path := ‘C:\Program Files (x86)’ with two single quotes, the following works well and ShowMessage(ProgramName); displayed the full path . When I reference FW_Path to a variable X I get an error returned

Re: [DUG] Variable in String

2011-06-26 Thread Bob Pawley
; ProgramName := ‘”’ + FW_Path + '\FWTools2.4.7\bin\ogr2ogr” -f PostgreSQL PG:host=192 user=postgres dbname=E5R password= '+ DXF +' -nln Import_Process'; ShowMessage(ProgramName); hth From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Bob

Re: [DUG] Variable in String

2011-06-26 Thread Bob Pawley
+ '\FWTools2.4.7\bin\ogr2ogr” -f PostgreSQL PG:host=192 user=postgres dbname=E5R password= '+ DXF +' -nln Import_Process'; ShowMessage(ProgramName); hth From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Bob Pawley Sent: Thursday, 23 June

Re: [DUG] Variable in String

2011-06-27 Thread Bob Pawley
, @dir[0])) then s := PChar(dir); ShowMessageFmt(s + ' (%d chars)', [Length(s)]); // Outcome: s has both the right length *and* is null terminated correctly end; From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Bob Pawley Sent: Monday, 27