Re: [DUG] Delphi for PHP again

2011-03-13 Thread Rohit Gupta
Cameron,

if someone else was asking the question I am,  I might well give him 
your reply too.  Having invested the time in it, I haven't reached the 
point where I can chuck it out and relearn something else.

Bit by bit, I have already replaced most of D4P with straight php, html 
or javascript - mostly for efficiency.  The only thing left now is the 
query and grid.  And the panel does make it a lot easier than using 
html-table manually.

Finally the debugger started working (its just temperamental), but I 
don't need it now.


Rohit


On 11/03/2011 11:21 p.m., Cameron Hart wrote:
 This is the first time I haven't deleted any post that says Delphi for
 PHP without reading it.

 Don't you think it's time to stop complicating your PHP development?

 -Original Message-
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
 On Behalf Of Rohit Gupta
 Sent: Friday, 11 March 2011 10:57 p.m.
 To: NZ Borland Developers Group - Delphi List
 Subject: [DUG] Delphi for PHP again

 On my pc, the stuff runs fine.  I upload it to the webserver and one of
 the pages fires its OnCreate event about 50 times.

 Any ideas anyone ?

 Rohit



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5948 (20110312) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


Re: [DUG] Delphi for PHP

2011-03-13 Thread Rohit Gupta

Graham,

I have simply not believed the deploy tool and uploaded the complete vcl 
to the web.  This way, I know its not an issue.


I had wondered about the php version, but not blaming that yet.

Really the major issue is php itself - based on basic (arguably the 
first kiddy language invented over 30 years ago).  I cant believe we are 
using it now !!  Slight misspelling of an identifier and one is history 
with errors that have nothing to do with reality.  I have had ajax stop 
working.  Then query-open would not work but query-active = true 
would  etc


The issue of the oncreate firing multiple times turned out to be caching 
(probably by the php engine itself - nothing else makes sense) as I had 
cleared the browser cache.  Once I fixed that with some html tags, the 
refresh from ajax has stopped working.  It no longer refreshes the 
control as it used to - until the form is submitted.


I am going to have one more go at ajax based data control refresh on 
another form.  If that doesnt work, then I will convert all of the 
delphi stuff to php.  The ide is still useful as a project manager.


I finally discovered the _problem with constants_ in another file.  if 
there is no vcl in the page (form) then the constants work.  As soon as 
vcl is involved, they are no longer visible...


I discovered the _problem with functions_ in another file.  There must 
be no spaces between the identifier and the bracket.  Then they work.


Rohit


On 13/03/2011 5:25 p.m., Graham Marsden wrote:

Hi Rohit

When I had a play with D4PHP I fould the same
frustrations you have reported recently and had
the same problem with stuff working locally but
failing when deployed to the net. If you follow
the delpoy instructions (such as they are) then
that may be one problem in not installing the
deploy files (only a few of which surely are used
for a simple app) in the correct ind searchable
folders. Another and maybe more significant source
of errors is the fact that D4PHP assumes you are
going to have PHP 5 on the host, which may or may
not be the case - check with phpinfo() This last
one plus the poor documentation has put my D4PHP
life on hold until the situation clears - aside to
Embarcadero !! - can we have some better
documentation and examples ? - please

Best of luck

Graham Marsden






__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5949 (20110313) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

[DUG] Access to street maps

2011-03-13 Thread mark
I have a D2009 application which holds the addresses of employees and the 
customers they service.

Is there a way that I can display a map with a selected address?

Ideally, I would also like to be able to get the distance between two addresses.

I assume that this information is available from Google or Wises, but have no 
idea how to go about accessing it. I’m guessing it will be a Web Service, with 
which I have limited experience (I have an interface to one).

Any pointers in the right direction would be appreciated.

Mark 



___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Steve Peacocke
Hi Mark,

You will need to change the address to the XY coordinates in order to
display the map. Yes, all is possible using JavaScript and the Google Maps
API.

http://code.google.com/apis/maps/index.html

http://code.google.com/apis/maps/index.htmland

http://code.google.com/apis/maps/documentation/javascript/

Steve Peacocke
Mobile: 0220 612-611
Linkedin Professional
Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

   I have a D2009 application which holds the addresses of employees and
 the customers they service.

 Is there a way that I can display a map with a selected address?

 Ideally, I would also like to be able to get the distance between two
 addresses.

 I assume that this information is available from Google or Wises, but have
 no idea how to go about accessing it. I’m guessing it will be a Web Service,
 with which I have limited experience (I have an interface to one).

 Any pointers in the right direction would be appreciated.

 Mark





 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Jeremy Coulter
The other thing to note too if you want to use Google Maps to display
locations you need to signup and get a key that you need to pass through
each time you make a call which is fine if you will only be calling it from
the same location as it is tied to a Domain name.

We do exactly what you are doing to show surgery locations and various other
things at work. Took a bit of time to figure it out, but it works well.

 

Also something interesting I noticed the other day. My wife was using Wises
online the other day, I noticed they use Google now too...any why not ;-)

 

Jeremy

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Steve Peacocke
Sent: Monday, 14 March 2011 07:28
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Access to street maps

 

Hi Mark,

 

You will need to change the address to the XY coordinates in order to
display the map. Yes, all is possible using JavaScript and the Google Maps
API.

 

http://code.google.com/apis/maps/index.html

 

and

 

http://code.google.com/apis/maps/documentation/javascript/

Steve Peacocke
Mobile: 0220 612-611

Linkedin Professional Profile
http://nz.linkedin.com/pub/steve-peacocke/1/a06/489 





On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

I have a D2009 application which holds the addresses of employees and the
customers they service.

 

Is there a way that I can display a map with a selected address?

 

Ideally, I would also like to be able to get the distance between two
addresses.

 

I assume that this information is available from Google or Wises, but have
no idea how to go about accessing it. I'm guessing it will be a Web Service,
with which I have limited experience (I have an interface to one).

 

Any pointers in the right direction would be appreciated.

 

Mark 

 

 

 

 


___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Leigh Wanstead
Hi Jeremy,

May I ask to use google maps service is free?

TIA

Regards
Leigh

2011/3/14 Jeremy Coulter jscoul...@gmail.com

  The other thing to note too if you want to use Google Maps to display
 locations you need to signup and get a key that you need to pass through
 each time you make a call which is fine if you will only be calling it from
 the same location as it is tied to a Domain name.

 We do exactly what you are doing to show surgery locations and various
 other things at work. Took a bit of time to figure it out, but it works
 well.



 Also something interesting I noticed the other day. My wife was using Wises
 online the other day, I noticed they use Google now too...any why not ;-)



 Jeremy



 *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
 *On Behalf Of *Steve Peacocke
 *Sent:* Monday, 14 March 2011 07:28
 *To:* NZ Borland Developers Group - Delphi List
 *Subject:* Re: [DUG] Access to street maps



 Hi Mark,



 You will need to change the address to the XY coordinates in order to
 display the map. Yes, all is possible using JavaScript and the Google Maps
 API.



 http://code.google.com/apis/maps/index.html



 and



 http://code.google.com/apis/maps/documentation/javascript/

 Steve Peacocke
 Mobile: 0220 612-611

 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



  On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

 I have a D2009 application which holds the addresses of employees and the
 customers they service.



 Is there a way that I can display a map with a selected address?



 Ideally, I would also like to be able to get the distance between two
 addresses.



 I assume that this information is available from Google or Wises, but have
 no idea how to go about accessing it. I’m guessing it will be a Web Service,
 with which I have limited experience (I have an interface to one).



 Any pointers in the right direction would be appreciated.



 Mark










 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Jeremy Coulter
yip its free. You just have to register with them to access the Google API
docs etc. I dont know why. Maybe they just want to add your details to their
database :-)

Jeremy

On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead leigh.wanst...@gmail.comwrote:

 Hi Jeremy,

 May I ask to use google maps service is free?

 TIA

 Regards
 Leigh


 2011/3/14 Jeremy Coulter jscoul...@gmail.com

  The other thing to note too if you want to use Google Maps to display
 locations you need to signup and get a key that you need to pass through
 each time you make a call which is fine if you will only be calling it from
 the same location as it is tied to a Domain name.

 We do exactly what you are doing to show surgery locations and various
 other things at work. Took a bit of time to figure it out, but it works
 well.



 Also something interesting I noticed the other day. My wife was using
 Wises online the other day, I noticed they use Google now too...any why not
 ;-)



 Jeremy



 *From:* delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
 *On Behalf Of *Steve Peacocke
 *Sent:* Monday, 14 March 2011 07:28
 *To:* NZ Borland Developers Group - Delphi List
 *Subject:* Re: [DUG] Access to street maps



 Hi Mark,



 You will need to change the address to the XY coordinates in order to
 display the map. Yes, all is possible using JavaScript and the Google Maps
 API.



 http://code.google.com/apis/maps/index.html



 and



 http://code.google.com/apis/maps/documentation/javascript/

 Steve Peacocke
 Mobile: 0220 612-611

 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



  On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

 I have a D2009 application which holds the addresses of employees and the
 customers they service.



 Is there a way that I can display a map with a selected address?



 Ideally, I would also like to be able to get the distance between two
 addresses.



 I assume that this information is available from Google or Wises, but have
 no idea how to go about accessing it. I’m guessing it will be a Web Service,
 with which I have limited experience (I have an interface to one).



 Any pointers in the right direction would be appreciated.



 Mark










 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Steve Peacocke
Caution - Please review the terms of service for yourself. It's only free in
certain circumstances.

Steve Peacocke
Mobile: 0220 612-611
Linkedin Professional
Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



On Mon, Mar 14, 2011 at 9:06 AM, Jeremy Coulter jscoul...@gmail.com wrote:

 yip its free. You just have to register with them to access the Google API
 docs etc. I dont know why. Maybe they just want to add your details to their
 database :-)

 Jeremy


 On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead 
 leigh.wanst...@gmail.comwrote:

 Hi Jeremy,

 May I ask to use google maps service is free?

 TIA

 Regards
 Leigh


 2011/3/14 Jeremy Coulter jscoul...@gmail.com

  The other thing to note too if you want to use Google Maps to display
 locations you need to signup and get a key that you need to pass through
 each time you make a call which is fine if you will only be calling it from
 the same location as it is tied to a Domain name.

 We do exactly what you are doing to show surgery locations and various
 other things at work. Took a bit of time to figure it out, but it works
 well.



 Also something interesting I noticed the other day. My wife was using
 Wises online the other day, I noticed they use Google now too...any why not
 ;-)



 Jeremy



 *From:* delphi-boun...@delphi.org.nz [mailto:
 delphi-boun...@delphi.org.nz] *On Behalf Of *Steve Peacocke
 *Sent:* Monday, 14 March 2011 07:28
 *To:* NZ Borland Developers Group - Delphi List
 *Subject:* Re: [DUG] Access to street maps



 Hi Mark,



 You will need to change the address to the XY coordinates in order to
 display the map. Yes, all is possible using JavaScript and the Google Maps
 API.



 http://code.google.com/apis/maps/index.html



 and



 http://code.google.com/apis/maps/documentation/javascript/

 Steve Peacocke
 Mobile: 0220 612-611

 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



  On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

 I have a D2009 application which holds the addresses of employees and the
 customers they service.



 Is there a way that I can display a map with a selected address?



 Ideally, I would also like to be able to get the distance between two
 addresses.



 I assume that this information is available from Google or Wises, but
 have no idea how to go about accessing it. I’m guessing it will be a Web
 Service, with which I have limited experience (I have an interface to one).



 Any pointers in the right direction would be appreciated.



 Mark










 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Delphi Starter Edition

2011-03-13 Thread Jolyon Smith
I don't think you can rely on your charitable status to avoid the ridiculous
$1000 license condition as that is $1000 *revenue*, not profit.

Quite how revenue is defined and how Embarcadero would identify and
apportion income as deriving from Starter built apps or services is not
specified.  If you create some code that is used in an area of a web site
that also has a donate facility, for example...  does the income from
those donations count?

There is no special allowance made for non-profit organizations and
charitable donations are not specifically identified separately from
income, so it seems impossible to say for sure that your use of Delphi
Starter would be certain to fall under the  US$1000 revenue threshold
(unless your use of Delphi is entirely and utterly not connected with any
income/donation generating activity in your organisation).


You could just hope that they never come knocking on your door as ask to see
your accounts and set about trying to prove that your license is invalid
(tho actually the boot would be on the other foot - it would no doubt be up
to you to prove that your license *is* valid, not the other way around), but
one would have to think that if they didn't intend ever following through
and applying this revenue limit then they wouldn't have bothered adding it
to the license conditions in the first place.

Speaking for myself, I think the revenue limit on the license is a mistake
(almost as ridiculous as the imposition of Interbase and the removal of
DBExpress) but sadly not one that I expect Embarcadero to correct any time
soon, if ever.



-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Paul A Norman
Sent: Sunday, 13 March 2011 15:37
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Delphi Starter Edition

Thanks Joylon and Todd, that has sorted that out,

... I had been wondering the way things were worded whether you could
use 3rd party things like Zeos, or if databasing capabilities were
limited strictly to only what was described in the feature matrix.
(Remembering  the Turbo thingies they put out that didn't even let you
add components.)

We are charitable non-commercial (take no payments) so I take it we
would fit under the $USD1000 at all times?

Paul

On 9 March 2011 17:11, Todd todd.martin...@gmail.com wrote:
 Hi Paul

 ZEOS certainly connects to MySql.

 Todd.

 Looking through the feature matrix, I was not sure, can Delphi Starter
 connect to an MySql database on local or other server please?

 Paul

 On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com
wrote:
 http://www.embarcadero.com/products/delphi/starter

 Cheers
 Malcolm

 Malcolm Groves
 Senior Director, Asia Pacific and Japan
 Embarcadero Technologies
 http://www.embarcadero.com

 Phone: +61 416 264 204
 Skype: malcolmgroves


 CONFIDENTIALITY NOTICE: This email message is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message.

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe


 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe


___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


Re: [DUG] Access to street maps

2011-03-13 Thread Jeremy Coulter
bah.just tick I agree dont read itthen you can plead
ignorance...hehehe

Yeah its only free if you are not going to make $$ from it and not going to
have 50,000 hits a day.pretty muchbut do read the terms just incase
;-)

Jeremy

On Mon, Mar 14, 2011 at 9:08 AM, Steve Peacocke st...@peacocke.net wrote:

 Caution - Please review the terms of service for yourself. It's only free
 in certain circumstances.


 Steve Peacocke
 Mobile: 0220 612-611
 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



 On Mon, Mar 14, 2011 at 9:06 AM, Jeremy Coulter jscoul...@gmail.comwrote:

 yip its free. You just have to register with them to access the Google API
 docs etc. I dont know why. Maybe they just want to add your details to their
 database :-)

 Jeremy


 On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead leigh.wanst...@gmail.com
  wrote:

 Hi Jeremy,

 May I ask to use google maps service is free?

 TIA

 Regards
 Leigh


 2011/3/14 Jeremy Coulter jscoul...@gmail.com

  The other thing to note too if you want to use Google Maps to display
 locations you need to signup and get a key that you need to pass through
 each time you make a call which is fine if you will only be calling it from
 the same location as it is tied to a Domain name.

 We do exactly what you are doing to show surgery locations and various
 other things at work. Took a bit of time to figure it out, but it works
 well.



 Also something interesting I noticed the other day. My wife was using
 Wises online the other day, I noticed they use Google now too...any why not
 ;-)



 Jeremy



 *From:* delphi-boun...@delphi.org.nz [mailto:
 delphi-boun...@delphi.org.nz] *On Behalf Of *Steve Peacocke
 *Sent:* Monday, 14 March 2011 07:28
 *To:* NZ Borland Developers Group - Delphi List
 *Subject:* Re: [DUG] Access to street maps



 Hi Mark,



 You will need to change the address to the XY coordinates in order to
 display the map. Yes, all is possible using JavaScript and the Google Maps
 API.



 http://code.google.com/apis/maps/index.html



 and



 http://code.google.com/apis/maps/documentation/javascript/

 Steve Peacocke
 Mobile: 0220 612-611

 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



  On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

 I have a D2009 application which holds the addresses of employees and
 the customers they service.



 Is there a way that I can display a map with a selected address?



 Ideally, I would also like to be able to get the distance between two
 addresses.



 I assume that this information is available from Google or Wises, but
 have no idea how to go about accessing it. I’m guessing it will be a Web
 Service, with which I have limited experience (I have an interface to one).



 Any pointers in the right direction would be appreciated.



 Mark










 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with
 Subject: unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with
 Subject: unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Access to street maps

2011-03-13 Thread Steve Peacocke
I was the Product Marketing Manager for the company that, up to a few months
ago, used to supply the data to Google Maps.

Yes, essentially you are right and Google have not really worked very hard
at gaining revenue from that source, however that time will come and it is
important to know where you stand. Essentially, once you have turnover, then
you will need to purchase commercial licences but hopefully that will mean
that you are making lots of money. - Google will want some that money.

Actually, I think that its a great commercial licence. I only wish Delphi
and some toolmakers used the same licence. I'd love to develop stuff using,
for example the latest Delphi and Woll2Woll's InfoPower tools but I just
can't justify the licence cost until I get over a certain turnover, THEN I
could buy them.

Steve Peacocke
Mobile: 0220 612-611
Linkedin Professional
Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



On Mon, Mar 14, 2011 at 9:33 AM, Jeremy Coulter jscoul...@gmail.com wrote:

 bah.just tick I agree dont read itthen you can plead
 ignorance...hehehe

 Yeah its only free if you are not going to make $$ from it and not going to
 have 50,000 hits a day.pretty muchbut do read the terms just incase
 ;-)

 Jeremy


 On Mon, Mar 14, 2011 at 9:08 AM, Steve Peacocke st...@peacocke.netwrote:

 Caution - Please review the terms of service for yourself. It's only free
 in certain circumstances.


 Steve Peacocke
 Mobile: 0220 612-611
 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



 On Mon, Mar 14, 2011 at 9:06 AM, Jeremy Coulter jscoul...@gmail.comwrote:

 yip its free. You just have to register with them to access the Google
 API docs etc. I dont know why. Maybe they just want to add your details to
 their database :-)

 Jeremy


 On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead 
 leigh.wanst...@gmail.com wrote:

 Hi Jeremy,

 May I ask to use google maps service is free?

 TIA

 Regards
 Leigh


 2011/3/14 Jeremy Coulter jscoul...@gmail.com

  The other thing to note too if you want to use Google Maps to display
 locations you need to signup and get a key that you need to pass through
 each time you make a call which is fine if you will only be calling it 
 from
 the same location as it is tied to a Domain name.

 We do exactly what you are doing to show surgery locations and various
 other things at work. Took a bit of time to figure it out, but it works
 well.



 Also something interesting I noticed the other day. My wife was using
 Wises online the other day, I noticed they use Google now too...any why 
 not
 ;-)



 Jeremy



 *From:* delphi-boun...@delphi.org.nz [mailto:
 delphi-boun...@delphi.org.nz] *On Behalf Of *Steve Peacocke
 *Sent:* Monday, 14 March 2011 07:28
 *To:* NZ Borland Developers Group - Delphi List
 *Subject:* Re: [DUG] Access to street maps



 Hi Mark,



 You will need to change the address to the XY coordinates in order to
 display the map. Yes, all is possible using JavaScript and the Google Maps
 API.



 http://code.google.com/apis/maps/index.html



 and



 http://code.google.com/apis/maps/documentation/javascript/

 Steve Peacocke
 Mobile: 0220 612-611

 Linkedin Professional 
 Profilehttp://nz.linkedin.com/pub/steve-peacocke/1/a06/489



  On Mon, Mar 14, 2011 at 7:22 AM, mark w...@kol.co.nz wrote:

 I have a D2009 application which holds the addresses of employees and
 the customers they service.



 Is there a way that I can display a map with a selected address?



 Ideally, I would also like to be able to get the distance between two
 addresses.



 I assume that this information is available from Google or Wises, but
 have no idea how to go about accessing it. I’m guessing it will be a Web
 Service, with which I have limited experience (I have an interface to 
 one).



 Any pointers in the right direction would be appreciated.



 Mark










 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with
 Subject: unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with
 Subject: unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with
 Subject: unsubscribe



 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe



Re: [DUG] Delphi 7 on a Netbook

2011-03-13 Thread Rodney Chan
 I fould the same
frustrations you have reported recently and had
the same problem with stuff working locally but
failing when deployed to the net. If you follow
the delpoy instructions (such as they are) then
that may be one problem in not installing the
deploy files (only a few of which surely are used
for a simple app) in the correct ind searchable
folders. Another and maybe more significant source
of errors is the fact that D4PHP assumes you are
going to have PHP 5 on the host, which may or may
not be the case - check with phpinfo() This last
one plus the poor documentation has put my D4PHP
life on hold until the situation clears - aside to
Embarcadero !! - can we have some better
documentation and examples ? - please

Best of luck

Graham Marsden

-- next part --
An HTML attachment was scrubbed...
URL:
http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/
attachment-0001.html

--

Message: 4
Date: Mon, 14 Mar 2011 01:07:35 +1300
From: Rohit Gupta r.gu...@xtra.co.nz
Subject: Re: [DUG] Delphi for PHP again
To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
Message-ID: 4d7cb387.9060...@xtra.co.nz
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Cameron,

if someone else was asking the question I am,  I might well give him
your reply too.  Having invested the time in it, I haven't reached the
point where I can chuck it out and relearn something else.

Bit by bit, I have already replaced most of D4P with straight php, html
or javascript - mostly for efficiency.  The only thing left now is the
query and grid.  And the panel does make it a lot easier than using
html-table manually.

Finally the debugger started working (its just temperamental), but I
don't need it now.


Rohit


On 11/03/2011 11:21 p.m., Cameron Hart wrote:
 This is the first time I haven't deleted any post that says Delphi for
 PHP without reading it.

 Don't you think it's time to stop complicating your PHP development?

 -Original Message-
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
 On Behalf Of Rohit Gupta
 Sent: Friday, 11 March 2011 10:57 p.m.
 To: NZ Borland Developers Group - Delphi List
 Subject: [DUG] Delphi for PHP again

 On my pc, the stuff runs fine.  I upload it to the webserver and one of
 the pages fires its OnCreate event about 50 times.

 Any ideas anyone ?

 Rohit



__ Information from ESET NOD32 Antivirus, version of virus signature
database 5948 (20110312) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





--

Message: 5
Date: Mon, 14 Mar 2011 01:26:19 +1300
From: Rohit Gupta r.gu...@xtra.co.nz
Subject: Re: [DUG] Delphi for PHP
To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
Message-ID: 4d7cb7eb.5070...@xtra.co.nz
Content-Type: text/plain; charset=iso-8859-1

Graham,

I have simply not believed the deploy tool and uploaded the complete vcl
to the web.  This way, I know its not an issue.

I had wondered about the php version, but not blaming that yet.

Really the major issue is php itself - based on basic (arguably the
first kiddy language invented over 30 years ago).  I cant believe we are
using it now !!  Slight misspelling of an identifier and one is history
with errors that have nothing to do with reality.  I have had ajax stop
working.  Then query-open would not work but query-active = true
would  etc

The issue of the oncreate firing multiple times turned out to be caching
(probably by the php engine itself - nothing else makes sense) as I had
cleared the browser cache.  Once I fixed that with some html tags, the
refresh from ajax has stopped working.  It no longer refreshes the
control as it used to - until the form is submitted.

I am going to have one more go at ajax based data control refresh on
another form.  If that doesnt work, then I will convert all of the
delphi stuff to php.  The ide is still useful as a project manager.

I finally discovered the _problem with constants_ in another file.  if
there is no vcl in the page (form) then the constants work.  As soon as
vcl is involved, they are no longer visible...

I discovered the _problem with functions_ in another file.  There must
be no spaces between the identifier and the bracket.  Then they work.

Rohit


On 13/03/2011 5:25 p.m., Graham Marsden wrote:
 Hi Rohit

 When I had a play with D4PHP I fould the same
 frustrations you have reported recently and had
 the same problem with stuff working locally but
 failing when deployed to the net. If you follow
 the delpoy instructions (such as they are) then
 that may be one problem in not installing the
 deploy files (only a few of which surely are used
 for a simple app) in the correct ind searchable
 folders. Another and maybe more significant source
 of errors is the fact that D4PHP assumes you are
 going to have PHP 5 on the host, which may or may
 not be the case - check

Re: [DUG] Delphi 7 on a Netbook

2011-03-13 Thread Steve Peacocke
: send an email to delphi-requ...@delphi.org.nz with
 Subject:
 unsubscribe
 
  ___
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi@delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe
 



 --

 Message: 3
 Date: Sun, 13 Mar 2011 17:25:56 +1300
 From: Graham Marsden gra...@wk.planet.gen.nz
 Subject: [DUG] Delphi for PHP
 To: delphi@delphi.org.nz
 Message-ID: 4d7c4754.3437.34109...@graham.wk.planet.gen.nz
 Content-Type: text/plain; charset=us-ascii

 Hi Rohit

 When I had a play with D4PHP I fould the same
 frustrations you have reported recently and had
 the same problem with stuff working locally but
 failing when deployed to the net. If you follow
 the delpoy instructions (such as they are) then
 that may be one problem in not installing the
 deploy files (only a few of which surely are used
 for a simple app) in the correct ind searchable
 folders. Another and maybe more significant source
 of errors is the fact that D4PHP assumes you are
 going to have PHP 5 on the host, which may or may
 not be the case - check with phpinfo() This last
 one plus the poor documentation has put my D4PHP
 life on hold until the situation clears - aside to
 Embarcadero !! - can we have some better
 documentation and examples ? - please

 Best of luck

 Graham Marsden

 -- next part --
 An HTML attachment was scrubbed...
 URL:

 http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/
 attachment-0001.html

 --

 Message: 4
 Date: Mon, 14 Mar 2011 01:07:35 +1300
 From: Rohit Gupta r.gu...@xtra.co.nz
 Subject: Re: [DUG] Delphi for PHP again
 To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
 Message-ID: 4d7cb387.9060...@xtra.co.nz
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Cameron,

 if someone else was asking the question I am,  I might well give him
 your reply too.  Having invested the time in it, I haven't reached the
 point where I can chuck it out and relearn something else.

 Bit by bit, I have already replaced most of D4P with straight php, html
 or javascript - mostly for efficiency.  The only thing left now is the
 query and grid.  And the panel does make it a lot easier than using
 html-table manually.

 Finally the debugger started working (its just temperamental), but I
 don't need it now.


 Rohit


 On 11/03/2011 11:21 p.m., Cameron Hart wrote:
  This is the first time I haven't deleted any post that says Delphi for
  PHP without reading it.
 
  Don't you think it's time to stop complicating your PHP development?
 
  -Original Message-
  From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
  On Behalf Of Rohit Gupta
  Sent: Friday, 11 March 2011 10:57 p.m.
  To: NZ Borland Developers Group - Delphi List
  Subject: [DUG] Delphi for PHP again
 
  On my pc, the stuff runs fine.  I upload it to the webserver and one of
  the pages fires its OnCreate event about 50 times.
 
  Any ideas anyone ?
 
  Rohit



 __ Information from ESET NOD32 Antivirus, version of virus
 signature
 database 5948 (20110312) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com





 --

 Message: 5
 Date: Mon, 14 Mar 2011 01:26:19 +1300
 From: Rohit Gupta r.gu...@xtra.co.nz
 Subject: Re: [DUG] Delphi for PHP
 To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
 Message-ID: 4d7cb7eb.5070...@xtra.co.nz
 Content-Type: text/plain; charset=iso-8859-1

 Graham,

 I have simply not believed the deploy tool and uploaded the complete vcl
 to the web.  This way, I know its not an issue.

 I had wondered about the php version, but not blaming that yet.

 Really the major issue is php itself - based on basic (arguably the
 first kiddy language invented over 30 years ago).  I cant believe we are
 using it now !!  Slight misspelling of an identifier and one is history
 with errors that have nothing to do with reality.  I have had ajax stop
 working.  Then query-open would not work but query-active = true
 would  etc

 The issue of the oncreate firing multiple times turned out to be caching
 (probably by the php engine itself - nothing else makes sense) as I had
 cleared the browser cache.  Once I fixed that with some html tags, the
 refresh from ajax has stopped working.  It no longer refreshes the
 control as it used to - until the form is submitted.

 I am going to have one more go at ajax based data control refresh on
 another form.  If that doesnt work, then I will convert all of the
 delphi stuff to php.  The ide is still useful as a project manager.

 I finally discovered the _problem with constants_ in another file.  if
 there is no vcl in the page (form) then the constants work.  As soon as
 vcl is involved, they are no longer visible

Re: [DUG] Access to street maps

2011-03-13 Thread Jolyon Smith
I am guessing that the certain turnover you have in mind is significantly
higher than the US$1000 revenue limit attached to Starter Edition.

 

If you do the math on those license terms, basically Embarcadero want your
first $1000 revenue for themselves - they take a $200 down payment then grab
the next $800 as soon as you earn it, taking you over the $1000 limit
triggering the point at which you then have to pay to upgrade to Pro,
which will cost you 100% of that $800 you just earned.

 

So you better be sure of earning not just that initial $1000, but AT LEAST
$270/annum thereafter if you want to stay current (that's what your Revenue
Assurance, ahem, I mean Software Assurance will cost you).  Oops,
actually, you'll need to earn $1270, since when you upgrade from Starter to
Pro you'll need an additional $270 for your initial Revenue Assurance
payment.

 

 

Imho this renders Starter Edition dead in the water for the open
source/community/hobby developers that Embarcadero claim to be aiming it at,
for whom revenue is a potentially sporadic and uncertain thing someone
could *easily* earn over $1000 in the first year then significantly less
than that thereafter.  You don't get to deduct any costs from these revenue
numbers, so even if everything you earn from Delphi gets sunk into
hosting/traffic costs for providing your work to the community etc,
Embarcadero don't care - it's not profit they are counting, only
income/revenue.

 

If they absolutely had to have a revenue threshold (as some sort of
corporate/enterprise licensing woobie blanket) , it should have been nearer
$5K or even $10K.

 

imho

 

 

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Steve Peacocke
Sent: Monday, 14 March 2011 09:42
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Access to street maps

 

I was the Product Marketing Manager for the company that, up to a few months
ago, used to supply the data to Google Maps.

 

Yes, essentially you are right and Google have not really worked very hard
at gaining revenue from that source, however that time will come and it is
important to know where you stand. Essentially, once you have turnover, then
you will need to purchase commercial licences but hopefully that will mean
that you are making lots of money. - Google will want some that money.

 

Actually, I think that its a great commercial licence. I only wish Delphi
and some toolmakers used the same licence. I'd love to develop stuff using,
for example the latest Delphi and Woll2Woll's InfoPower tools but I just
can't justify the licence cost until I get over a certain turnover, THEN I
could buy them.

Steve Peacocke
Mobile: 0220 612-611

Linkedin Professional Profile
http://nz.linkedin.com/pub/steve-peacocke/1/a06/489 





On Mon, Mar 14, 2011 at 9:33 AM, Jeremy Coulter jscoul...@gmail.com wrote:

bah.just tick I agree dont read itthen you can plead
ignorance...hehehe

Yeah its only free if you are not going to make $$ from it and not going to
have 50,000 hits a day.pretty muchbut do read the terms just incase
;-)

Jeremy

 

On Mon, Mar 14, 2011 at 9:08 AM, Steve Peacocke st...@peacocke.net wrote:

Caution - Please review the terms of service for yourself. It's only free in
certain circumstances.



Steve Peacocke
Mobile: 0220 612-611

Linkedin Professional Profile
http://nz.linkedin.com/pub/steve-peacocke/1/a06/489 





On Mon, Mar 14, 2011 at 9:06 AM, Jeremy Coulter jscoul...@gmail.com wrote:

yip its free. You just have to register with them to access the Google API
docs etc. I dont know why. Maybe they just want to add your details to their
database :-)

Jeremy

 

On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead leigh.wanst...@gmail.com
wrote:

Hi Jeremy,

May I ask to use google maps service is free?

TIA

Regards
Leigh

 

2011/3/14 Jeremy Coulter jscoul...@gmail.com

The other thing to note too if you want to use Google Maps to display
locations you need to signup and get a key that you need to pass through
each time you make a call which is fine if you will only be calling it from
the same location as it is tied to a Domain name.

We do exactly what you are doing to show surgery locations and various other
things at work. Took a bit of time to figure it out, but it works well.

 

Also something interesting I noticed the other day. My wife was using Wises
online the other day, I noticed they use Google now too...any why not ;-)

 

Jeremy

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Steve Peacocke
Sent: Monday, 14 March 2011 07:28
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Access to street maps

 

Hi Mark,

 

You will need to change the address to the XY coordinates in order to
display the map. Yes, all is possible using JavaScript and the Google Maps
API.

 

http://code.google.com/apis/maps/index.html

 

and

 

http://code.google.com/apis/maps/documentation/javascript/


Re: [DUG] Access to street maps

2011-03-13 Thread Steve Peacocke
Good answer but wrong question :-)

On 14/03/2011, at 10:27 AM, Jolyon Smith jsm...@deltics.co.nz wrote:

 I am guessing that the “certain turnover” you have in mind is significantly 
 higher than the US$1000 revenue limit attached to “Starter” Edition.
 
  
 
 If you do the math on those license terms, basically Embarcadero want your 
 first $1000 revenue for themselves – they take a $200 down payment then grab 
 the next $800 as soon as you earn it, taking you over the $1000 limit 
 triggering the point at which you then have to pay to upgrade to “Pro”, which 
 will cost you 100% of that $800 you just earned.
 
  
 
 So you better be sure of earning not just that initial $1000, but AT LEAST 
 $270/annum thereafter if you want to stay current (that’s what your “Revenue 
 Assurance”, ahem, I mean “Software Assurance” will cost you).  Oops, 
 actually, you’ll need to earn $1270, since when you upgrade from Starter to 
 Pro you’ll need an additional $270 for your initial Revenue Assurance payment.
 
  
 
  
 
 Imho this renders Starter Edition dead in the water for the open 
 source/community/hobby developers that Embarcadero claim to be aiming it at, 
 for whom revenue is a potentially sporadic and uncertain thing someone 
 could *easily* “earn” over $1000 in the first year then significantly less 
 than that thereafter.  You don’t get to deduct any costs from these revenue 
 numbers, so even if everything you “earn” from Delphi gets sunk into 
 hosting/traffic costs for providing your work to the community etc, 
 Embarcadero don’t care – it’s not profit they are counting, only 
 income/revenue.
 
  
 
 If they absolutely had to have a revenue threshold (as some sort of 
 corporate/enterprise licensing woobie blanket) , it should have been nearer 
 $5K or even $10K.
 
  
 
 imho
 
  
 
  
 
  
 
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On 
 Behalf Of Steve Peacocke
 Sent: Monday, 14 March 2011 09:42
 To: NZ Borland Developers Group - Delphi List
 Subject: Re: [DUG] Access to street maps
 
  
 
 I was the Product Marketing Manager for the company that, up to a few months 
 ago, used to supply the data to Google Maps.
 
  
 
 Yes, essentially you are right and Google have not really worked very hard at 
 gaining revenue from that source, however that time will come and it is 
 important to know where you stand. Essentially, once you have turnover, then 
 you will need to purchase commercial licences but hopefully that will mean 
 that you are making lots of money. - Google will want some that money.
 
  
 
 Actually, I think that its a great commercial licence. I only wish Delphi and 
 some toolmakers used the same licence. I'd love to develop stuff using, for 
 example the latest Delphi and Woll2Woll's InfoPower tools but I just can't 
 justify the licence cost until I get over a certain turnover, THEN I could 
 buy them.
 
 Steve Peacocke
 Mobile: 0220 612-611
 
 Linkedin Professional Profile
 
 
 
 
 On Mon, Mar 14, 2011 at 9:33 AM, Jeremy Coulter jscoul...@gmail.com wrote:
 
 bah.just tick I agree dont read itthen you can plead 
 ignorance...hehehe
 
 Yeah its only free if you are not going to make $$ from it and not going to 
 have 50,000 hits a day.pretty muchbut do read the terms just incase 
 ;-)
 
 Jeremy
 
  
 
 On Mon, Mar 14, 2011 at 9:08 AM, Steve Peacocke st...@peacocke.net wrote:
 
 Caution - Please review the terms of service for yourself. It's only free in 
 certain circumstances.
 
 
 
 Steve Peacocke
 Mobile: 0220 612-611
 
 Linkedin Professional Profile
 
 
 
 
 On Mon, Mar 14, 2011 at 9:06 AM, Jeremy Coulter jscoul...@gmail.com wrote:
 
 yip its free. You just have to register with them to access the Google API 
 docs etc. I dont know why. Maybe they just want to add your details to their 
 database :-)
 
 Jeremy
 
  
 
 On Mon, Mar 14, 2011 at 8:45 AM, Leigh Wanstead leigh.wanst...@gmail.com 
 wrote:
 
 Hi Jeremy,
 
 May I ask to use google maps service is free?
 
 TIA
 
 Regards
 Leigh
 
  
 
 2011/3/14 Jeremy Coulter jscoul...@gmail.com
 
 The other thing to note too if you want to use Google Maps to display 
 locations you need to signup and get a key that you need to pass through each 
 time you make a call which is fine if you will only be calling it from the 
 same location as it is tied to a Domain name.
 
 We do exactly what you are doing to show surgery locations and various other 
 things at work. Took a bit of time to figure it out, but it works well.
 
  
 
 Also something interesting I noticed the other day. My wife was using Wises 
 online the other day, I noticed they use Google now too...any why not ;-)
 
  
 
 Jeremy
 
  
 
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On 
 Behalf Of Steve Peacocke
 Sent: Monday, 14 March 2011 07:28
 To: NZ Borland Developers Group - Delphi List
 Subject: Re: [DUG] Access to street maps
 
  
 
 Hi Mark,
 
  
 
 You will need to change the address to the XY 

Re: [DUG] Delphi 7 on a Netbook

2011-03-13 Thread Alister Christie
 was not sure, can Delphi
Starter
 connect to an MySql database on local or other server please?

 Paul

 On 31 January 2011 21:06, Malcolm Groves
malcolm.gro...@embarcadero.com
mailto:malcolm.gro...@embarcadero.com
wrote:
 http://www.embarcadero.com/products/delphi/starter

 Cheers
 Malcolm

 Malcolm Groves
 Senior Director, Asia Pacific and Japan
 Embarcadero Technologies
 http://www.embarcadero.com

 Phone: +61 416 264 204
 Skype: malcolmgroves


 CONFIDENTIALITY NOTICE: This email message is for the sole use
of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is
prohibited. If you are not the intended recipient, please contact
the sender
by reply email and destroy all copies of the original message.

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz mailto:delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz
mailto:delphi-requ...@delphi.org.nz with Subject:
unsubscribe


 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz mailto:delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz
mailto:delphi-requ...@delphi.org.nz with Subject:
unsubscribe

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz mailto:delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz
mailto:delphi-requ...@delphi.org.nz with Subject:
unsubscribe




--

Message: 3
Date: Sun, 13 Mar 2011 17:25:56 +1300
From: Graham Marsden gra...@wk.planet.gen.nz
mailto:gra...@wk.planet.gen.nz
Subject: [DUG] Delphi for PHP
To: delphi@delphi.org.nz mailto:delphi@delphi.org.nz
Message-ID: 4d7c4754.3437.34109...@graham.wk.planet.gen.nz
mailto:4d7c4754.3437.34109...@graham.wk.planet.gen.nz
Content-Type: text/plain; charset=us-ascii

Hi Rohit

When I had a play with D4PHP I fould the same
frustrations you have reported recently and had
the same problem with stuff working locally but
failing when deployed to the net. If you follow
the delpoy instructions (such as they are) then
that may be one problem in not installing the
deploy files (only a few of which surely are used
for a simple app) in the correct ind searchable
folders. Another and maybe more significant source
of errors is the fact that D4PHP assumes you are
going to have PHP 5 on the host, which may or may
not be the case - check with phpinfo() This last
one plus the poor documentation has put my D4PHP
life on hold until the situation clears - aside to
Embarcadero !! - can we have some better
documentation and examples ? - please

Best of luck

Graham Marsden

-- next part --
An HTML attachment was scrubbed...
URL:
http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/
attachment-0001.html

http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/%0Aattachment-0001.html

--

Message: 4
Date: Mon, 14 Mar 2011 01:07:35 +1300
From: Rohit Gupta r.gu...@xtra.co.nz mailto:r.gu...@xtra.co.nz
Subject: Re: [DUG] Delphi for PHP again
To: NZ Borland Developers Group - Delphi List
delphi@delphi.org.nz mailto:delphi@delphi.org.nz
Message-ID: 4d7cb387.9060...@xtra.co.nz
mailto:4d7cb387.9060...@xtra.co.nz
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Cameron,

if someone else was asking the question I am,  I might well give him
your reply too.  Having invested the time in it, I haven't reached the
point where I can chuck it out and relearn something else.

Bit by bit, I have already replaced most of D4P with straight php,
html
or javascript - mostly for efficiency.  The only thing left now is the
query and grid.  And the panel does make it a lot easier than using
html-table manually.

Finally the debugger started working (its just temperamental), but I
don't need it now.


Rohit


On 11/03/2011 11:21 p.m., Cameron Hart wrote:
 This is the first time I haven't deleted any post that says
Delphi for
 PHP without reading it.

 Don't you think it's time to stop complicating your PHP development?

 -Original Message-
 From: delphi-boun

Re: [DUG] Delphi 7 on a Netbook

2011-03-13 Thread Steve Peacocke
: This email message is for the sole use of the
 intended recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or distribution is
 prohibited. If you are not the intended recipient, please contact the sender
 by reply email and destroy all copies of the original message.
 
  ___
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi@delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe
 
 
  ___
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi@delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe
 
  ___
  NZ Borland Developers Group - Delphi mailing list
  Post: delphi@delphi.org.nz
  Admin: http://delphi.org.nz/mailman/listinfo/delphi
  Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
 unsubscribe
 
 
 
 
 --
 
 Message: 3
 Date: Sun, 13 Mar 2011 17:25:56 +1300
 From: Graham Marsden gra...@wk.planet.gen.nz
 Subject: [DUG] Delphi for PHP
 To: delphi@delphi.org.nz
 Message-ID: 4d7c4754.3437.34109...@graham.wk.planet.gen.nz
 Content-Type: text/plain; charset=us-ascii
 
 Hi Rohit
 
 When I had a play with D4PHP I fould the same
 frustrations you have reported recently and had
 the same problem with stuff working locally but
 failing when deployed to the net. If you follow
 the delpoy instructions (such as they are) then
 that may be one problem in not installing the
 deploy files (only a few of which surely are used
 for a simple app) in the correct ind searchable
 folders. Another and maybe more significant source
 of errors is the fact that D4PHP assumes you are
 going to have PHP 5 on the host, which may or may
 not be the case - check with phpinfo() This last
 one plus the poor documentation has put my D4PHP
 life on hold until the situation clears - aside to
 Embarcadero !! - can we have some better
 documentation and examples ? - please
 
 Best of luck
 
 Graham Marsden
 
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/
 attachment-0001.html
 
 --
 
 Message: 4
 Date: Mon, 14 Mar 2011 01:07:35 +1300
 From: Rohit Gupta r.gu...@xtra.co.nz
 Subject: Re: [DUG] Delphi for PHP again
 To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
 Message-ID: 4d7cb387.9060...@xtra.co.nz
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
 Cameron,
 
 if someone else was asking the question I am,  I might well give him
 your reply too.  Having invested the time in it, I haven't reached the
 point where I can chuck it out and relearn something else.
 
 Bit by bit, I have already replaced most of D4P with straight php, html
 or javascript - mostly for efficiency.  The only thing left now is the
 query and grid.  And the panel does make it a lot easier than using
 html-table manually.
 
 Finally the debugger started working (its just temperamental), but I
 don't need it now.
 
 
 Rohit
 
 
 On 11/03/2011 11:21 p.m., Cameron Hart wrote:
  This is the first time I haven't deleted any post that says Delphi for
  PHP without reading it.
 
  Don't you think it's time to stop complicating your PHP development?
 
  -Original Message-
  From: delphi-boun...@delphi.org.nz 
  [mailto:delphi-boun...@delphi.org.nz]
  On Behalf Of Rohit Gupta
  Sent: Friday, 11 March 2011 10:57 p.m.
  To: NZ Borland Developers Group - Delphi List
  Subject: [DUG] Delphi for PHP again
 
  On my pc, the stuff runs fine.  I upload it to the webserver and one of
  the pages fires its OnCreate event about 50 times.
 
  Any ideas anyone ?
 
  Rohit
 
 
 
 __ Information from ESET NOD32 Antivirus, version of virus signature
 database 5948 (20110312) __
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 
 
 
 
 
 --
 
 Message: 5
 Date: Mon, 14 Mar 2011 01:26:19 +1300
 From: Rohit Gupta r.gu...@xtra.co.nz
 Subject: Re: [DUG] Delphi for PHP
 To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
 Message-ID: 4d7cb7eb.5070...@xtra.co.nz
 Content-Type: text/plain; charset=iso-8859-1
 
 Graham,
 
 I have simply not believed the deploy tool and uploaded the complete vcl
 to the web.  This way, I know its not an issue.
 
 I had wondered about the php version, but not blaming that yet.
 
 Really the major issue is php itself - based on basic (arguably the
 first kiddy language invented over 30 years ago).  I cant believe we are
 using it now !!  Slight misspelling of an identifier and one is history
 with errors that have nothing to do with reality

Re: [DUG] Delphi 7 on a Netbook

2011-03-13 Thread Jolyon Smith
 todd.martin...@gmail.com wrote:
 Hi Paul

 ZEOS certainly connects to MySql.

 Todd.

 Looking through the feature matrix, I was not sure, can Delphi Starter
 connect to an MySql database on local or other server please?

 Paul

 On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com
wrote:
 http://www.embarcadero.com/products/delphi/starter

 Cheers
 Malcolm

 Malcolm Groves
 Senior Director, Asia Pacific and Japan
 Embarcadero Technologies
 http://www.embarcadero.com

 Phone: +61 416 264 204
 Skype: malcolmgroves


 CONFIDENTIALITY NOTICE: This email message is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message.

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe


 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe

 ___
 NZ Borland Developers Group - Delphi mailing list
 Post: delphi@delphi.org.nz
 Admin: http://delphi.org.nz/mailman/listinfo/delphi
 Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe




--

Message: 3
Date: Sun, 13 Mar 2011 17:25:56 +1300
From: Graham Marsden gra...@wk.planet.gen.nz
Subject: [DUG] Delphi for PHP
To: delphi@delphi.org.nz
Message-ID: 4d7c4754.3437.34109...@graham.wk.planet.gen.nz
Content-Type: text/plain; charset=us-ascii

Hi Rohit

When I had a play with D4PHP I fould the same
frustrations you have reported recently and had
the same problem with stuff working locally but
failing when deployed to the net. If you follow
the delpoy instructions (such as they are) then
that may be one problem in not installing the
deploy files (only a few of which surely are used
for a simple app) in the correct ind searchable
folders. Another and maybe more significant source
of errors is the fact that D4PHP assumes you are
going to have PHP 5 on the host, which may or may
not be the case - check with phpinfo() This last
one plus the poor documentation has put my D4PHP
life on hold until the situation clears - aside to
Embarcadero !! - can we have some better
documentation and examples ? - please

Best of luck

Graham Marsden

-- next part --
An HTML attachment was scrubbed...
URL:
http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a/
http://listserver.123.net.nz/pipermail/delphi/attachments/20110313/009a493a
/%0Aattachment-0001.html 
attachment-0001.html

--

Message: 4
Date: Mon, 14 Mar 2011 01:07:35 +1300
From: Rohit Gupta r.gu...@xtra.co.nz
Subject: Re: [DUG] Delphi for PHP again
To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
Message-ID: 4d7cb387.9060...@xtra.co.nz
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Cameron,

if someone else was asking the question I am,  I might well give him
your reply too.  Having invested the time in it, I haven't reached the
point where I can chuck it out and relearn something else.

Bit by bit, I have already replaced most of D4P with straight php, html
or javascript - mostly for efficiency.  The only thing left now is the
query and grid.  And the panel does make it a lot easier than using
html-table manually.

Finally the debugger started working (its just temperamental), but I
don't need it now.


Rohit


On 11/03/2011 11:21 p.m., Cameron Hart wrote:
 This is the first time I haven't deleted any post that says Delphi for
 PHP without reading it.

 Don't you think it's time to stop complicating your PHP development?

 -Original Message-
 From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
 On Behalf Of Rohit Gupta
 Sent: Friday, 11 March 2011 10:57 p.m.
 To: NZ Borland Developers Group - Delphi List
 Subject: [DUG] Delphi for PHP again

 On my pc, the stuff runs fine.  I upload it to the webserver and one of
 the pages fires its OnCreate event about 50 times.

 Any ideas anyone ?

 Rohit



__ Information from ESET NOD32 Antivirus, version of virus signature
database 5948 (20110312) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





--

Message: 5
Date: Mon, 14 Mar 2011 01:26:19 +1300
From: Rohit Gupta r.gu...@xtra.co.nz
Subject: Re: [DUG] Delphi for PHP
To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz
Message-ID: 4d7cb7eb.5070

Re: [DUG] Contents of Delphi digest...

2011-03-13 Thread Marshland Engineering
Just wondering if there is a Tutorial on how to trim replies?

I think highlighting the text and deleting works ?

The last reply I read had 2 lines of new data and about 200 of repeated data.

Cheers Wallace

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Contents of Delphi digest...

2011-03-13 Thread Jolyon Smith
Ø  Just wondering if there is a Tutorial on how to trim replies?

Ø  I think highlighting the text and deleting works ?

 

It’s a tough one for a mail list, as context for a reply isn’t intrinsically
preserved in the medium.

 

If replying in the main to a number of points/questions from a number of
posts, then “top replying” and leaving the email history intact and
“attached” not only can be useful but in some cases critical (for the reply
to make sense).

 

At other times simply obliterating the email history may be appropriate.

 

At yet other times, more careful editing and selective quoting of specific
passages with relevant replies may be better, though this obviously entails
the most effort.

 

It’s one of those things where One Rule to Rule Them All can’t work (unless
that rule is: “Be considerate in your reply-quoting”)

 

J

 

From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Marshland Engineering
Sent: Thursday, 31 March 2011 13:12
To: delphi@delphi.org.nz
Subject: Re: [DUG] Contents of Delphi digest...

 

 

The last reply I read had 2 lines of new data and about 200 of repeated
data.

 

Cheers Wallace

 

 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

[DUG] Firebird INSERT TIBQuery

2011-03-13 Thread johnkbird
I am running some routine database where the program on startup interrogates the
database and updates fields if it as an old version.   Adding Tables and Fields
works fine.

Also in one case I want to do an INSERT statement  and this does now work.

This is using D2007/IB  and TIBQuery component, and all commands are executed
using statements like


 IBQuery1.SQL.text:='INSERT INTO SECTOR (ID, SECTORDESC) VALUES (1001,' 
+Quotedstr(Desc1)+')';
  try
IBTransaction1.StartTransaction;
IBQuery1.SQL.Execute;  
Status:='OK';
  except
Status:='error';
  end;
  if IBTransaction1.InTransaction then IBTransaction1.commit;

The same structure works for adding a table and ALTER TABLE (adding fields), and
does as expected, but not for the INSERT. The Status is set to OK - the except
is not triggered.   But no INSERT is done.   As far as I can see all Commits are
done.

Anyone have an idea why the INSERT statements are not working?



John Bird
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


Re: [DUG] Contents of Delphi digest...

2011-03-13 Thread Alister Christie
A note for Thunderbird users, if you highlight some text from the email 
and click reply, the reply will only contain that text.  I don't know if 
it works for Outlook.


Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington


On 14/03/2011 1:45 p.m., Jolyon Smith wrote:


ØJust wondering if there is a Tutorial on how to trim replies?

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

[DUG] Firebird INSERT TIBQuery

2011-03-13 Thread johnkbird
There was a typo - it should have said

Also in one case I want to do an INSERT statement  and this does not work.

instead of

Also in one case I want to do an INSERT statement  and this does now work.

as it totally changes the sense of what I said.



John Bird
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


Re: [DUG] Contents of Delphi digest...

2011-03-13 Thread johnkbird
This may be a particular issue for gmail users, as any default reply does
include previous messages, hidden under a show quoted text link.   ie gmail
users might not realise a whole lot of stuff is included in the reply which
other mail program users will see (gmail hides it).


Quoting Alister Christie alis...@salespartner.co.nz:

 A note for Thunderbird users, if you highlight some text from the email
 
 and click reply, the reply will only contain that text. I don't know if
 
 it works for Outlook.
 
 Alister Christie
 Computers for People
 Ph: 04 471 1849 Fax: 04 471 1266
 http://www.salespartner.co.nz
 PO Box 13085
 Johnsonville
 Wellington
 
 
 On 14/03/2011 1:45 p.m., Jolyon Smith wrote:
 
  ØJust wondering if there is a Tutorial on how to trim replies?
 
  



John Bird
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe