[DUG] D2007 Record iterators

2007-06-10 Thread John Bird
I saw in the D2007 update 1 help errata mentioned that there is a way to iterate over a record not mentioned in the help. Does anyone have more information on this? I am interested if this means there is a way to iterate over the fields in a record, similar to iterating over the components on a f

Re: [DUG] Simple VCL for web aplication

2007-06-10 Thread Robert martin
Hi Admittedly I don't know much about web apps but I am struggling to get my head around the client and server separation in relation to PHP. All the pages I have looked at focus only on web pages. Does anybody have a link to developing a non visual server application in PHP. Tia Rob Marti

Re: [DUG] Simple VCL for web aplication

2007-06-10 Thread Nick
Rob, That is basically what you are after... Then you just use indy or one of the other components to grab that page and process the results. For example you could have a php page like this Then in your Delphi app do this showmessage(idhttp1.get('http://www.somesite.com/mypage.php?ping=t')

Re: [DUG] Simple VCL for web aplication

2007-06-10 Thread Neven MacEwan
Robert try this one http://www.maxpc.co.uk/tutorials/default.asp?siteid=7§iontypeid=7&subsectionid=706&subsubsectionid=530&pagetypeid=2&articleid=36731&page=1 it doesn't use ajaxlib but you could see how it fits in, the result sending code is as simple as BathAvon ; ?> I don't write my ow

Re: [DUG] Simple VCL for web aplication

2007-06-10 Thread Robert martin
Thats just what I needed (I think). I will have a play later and test it out. Thanks very much. Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377 0496 web www.chreos.com Wild Software Ltd Nick wrote: Rob, That is basically what you are after... Then you just use indy

Re: [DUG] Simple VCL for web aplication

2007-06-10 Thread Robert martin
Will have a look :) I am glad to provide some humor on a Monday morning ! Rob Martin Software Engineer phone +64 03 377 0495 fax +64 03 377 0496 web www.chreos.com Wild Software Ltd Neven MacEwan wrote: Robert try this one http://www.maxpc.co.uk/tutorials/default.asp?siteid=7§iontypei

[DUG] Required DLL issue

2007-06-10 Thread Robert martin
Hi all On a non PHP note. We have installed tms components for our main application. Some of their components require GDIplus.dll . Its a pain but we will install it on users machines where it is not present using our service pack software. However I have just tested our SP on a machine

Re: [DUG] Required DLL issue

2007-06-10 Thread Jeremy Coulter
Hi Robert. Yes if you have an include in the uses clause that has includes to the TMS stuff, then you will prob. find that THAT include will inlcude some common TMS stuff that will have a ref. to GDIPLUS.DLL. One other problem too, you need to make sure that you distribute the version of GDIPLUS

Re: [DUG] Required DLL issue

2007-06-10 Thread Robert martin
Hi I was just about to repost. I have tripped all reference to the offending pas and still have the problem. However a number of other pas files referenced, reference the suspect pas anyway. I think I will just need to ship the dll separately for those who need it (yuk). Re the file versio

Re: [DUG] Simple VCL for web application

2007-06-10 Thread Richard Vowles
Sean Cross wrote: I like intraweb. I use RemObjects to communicate with the db server over the internet and also have a soap server that connects to the db server. I like Intraweb as well. Much better than ASP.NET IMHO - at least for what most small/med sized shops would use it for. --

[DUG] encoding special characters in XML

2007-06-10 Thread Steven Knight
Hi all, I am wanting to write out text into an xml file. The text may contain special characters like & / < etc and I need to protect them. Can anyone tell me the name of a function that will do this easily. Ta Steven

Re: [DUG] encoding special characters in XML

2007-06-10 Thread Nick
Url encode? Steven Knight wrote: Hi all, I am wanting to write out text into an xml file. The text may contain special characters like & / < etc and I need to protect them. Can anyone tell me the name of a function that will do this easily. Ta Steven **

RE: [DUG] encoding special characters in XML

2007-06-10 Thread Conor Boyd
I use the StrHtmlEncode and StrHtmlDecode functions in the IdStrings unit in the Indy library. I'm sure there are other similar functions around. HTH, C. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Knight I am wanting to write out