Re: [DUG] HEX to decimal

2011-08-04 Thread Steven Knight
You might need to use the ORD function byte by byte Steven From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Marshland Engineering Sent: Thursday, 4 August 2011 7:47 p.m. To: delphi@delphi.org.nz Subject: Re: [DUG] HEX to decimal Been there done that edit2.

Re: [DUG] HEX to decimal

2011-08-07 Thread Steven Knight
When I was doing something similar I had think I used a PACKED RECORD As a buffer to access the individual bytes Delphi adds padding bytes to word align the data and these may be tripping you up. Steven -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delph

[DUG]: Can anyone recomend a more capable DBCtrlGrid control?

2003-08-14 Thread Steven Knight
looking at? Thank you Steven Knight Analyst / Programmer Environment Canterbury P.O. Box 345, Christchurch phone: (03) 365-3828 email: [EMAIL PROTECTED] Visit us online at http://www.ecan.govt.nz ** This email and any files

RE: [DUG]: [DUG-OFF-TOPIC]: octane

2003-10-12 Thread Steven Knight
d to the way it used to work) Steven Knight > -Original Message- > From: Leigh Wanstead [mailto:[EMAIL PROTECTED] > Sent: 13 October 2003 9:13 am > To: Multiple recipients of list delphi > Subject: RE: [DUG]: [DUG-OFF-TOPIC]: octane > > > Hi Corey, >

RE: [DUG]: [DUG-OFF-TOPIC]: octane

2003-10-13 Thread Steven Knight
> -Original Message- > From: Kurt at DBC [mailto:[EMAIL PROTECTED] > Sent: 13 October 2003 4:50 pm > To: Multiple recipients of list delphi > Subject: Re: [DUG]: [DUG-OFF-TOPIC]: octane > > > Steven Knight wrote: > > > Assuming everyone h

RE: [DUG]: [DUG-OFF-TOPIC]: Any Kylix programmer?

2003-11-02 Thread Steven Knight
I use Kylix at home (Delphi at work). Purchased V3 some months ago to build a automated house controller. Have written some of it but as we havn't got the house finished yet have not finished the controller. Steven Knight > -Original Message- > From: James Sugrue [mailto:[EMAI

RE: [DUG]: [DUG-OFF-TOPIC]: Any Kylix programmer?

2003-11-02 Thread Steven Knight
anyone who is interested. Steven Knight > -Original Message- > From: Ross Levis [mailto:[EMAIL PROTECTED] > Sent: 03 November 2003 11:45 am > To: Multiple recipients of list delphi > Subject: RE: [DUG]: [DUG-OFF-TOPIC]: Any Kylix programmer? > > > Steven Knight w

RE: [DUG]: [DUG-OFF-TOPIC]: Any Kylix programmer?

2003-11-06 Thread Steven Knight
gt; -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Steven Knight > Sent: Monday, November 03, 2003 12:23 PM > To: Multiple recipients of list delphi > Subject: RE: [DUG]: [DUG-OFF-TOPIC]: Any Kylix programmer? > > > The house goe

[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] Midas.dll

2007-10-01 Thread Steven Knight
A recently created application of mine failed to work on 2 XP machines due to midas.dll not being present on the users machine. I put a copy in the same directory as the application to get over the problem but havn't figured out why it happened yet. Steven -Original Message- From: [EMA

[DUG] POST from a Delphi win32 app

2007-10-03 Thread Steven Knight
page to receive some information in some hidden fields. Like I pressed a button on a form that caused a POST action. What should I be looking for to make this happen? Thanks Steven Knight ** This email and any files transmitted

[DUG]: Delphi closes when I open a form!

2002-10-13 Thread Steven Knight
Hi. Steven Knight here. I'm new to Delphi development. I am using MSSQL server, ADO and Delphi 6. After changing database table definitions I can no longer open the form I was working on in Delphi. Each time I try to open the form in Delphi, Delphi goes away. i.e. closes with no mes

[DUG]: Name of the calling control

2002-11-13 Thread Steven Knight
originated from? Steven Knight Help with home heating? Find out more: http://www.ecan.govt.nz/Air/clean-air-now/chp-update.html ** This email and any files transmitted with it are confidential and intended solely for the use of the

RE: [DUG]: Name of the calling control

2002-11-13 Thread Steven Knight
a contact first'); FormEditContact.Show; end; Steven Knight Environment Canterbury -Original Message- From: Paul Mckenzie [mailto:paul@;smss.org.nz] Sent: 14 November 2002 10:20 am To: Multiple recipients of list delphi Subject: Re: [DUG]: Name of the calling control TWinControl(S

[DUG]: Installing Rave Reports on Kylix

2002-11-19 Thread Steven Knight
ort for info on installing manually and got no response. Has anyone seen any notes on installing Rave on Kylix? Ta Steven Knight Analyst / Programmer Environment Canterbury P.O. Box 345, Christchurch phone: (03) 365-3828 email: [EMAIL PROTECTED] Help with home heating? Find out more: http://www.e

RE: [DUG]: Conditional statement

2002-12-19 Thread Steven Knight
do you want a case statement? somthing like case MessageDlg('ZIPfile exists. What do you want to do', mtConfirmation, [mbYes, mbOK, mbCancel], 0) of mrYes: bla bla bla; mrOk: bla bla bla; mrCancel: bla bla bla; end; You use 'in' when you want to see if a single inst

[DUG]: Dollar amounts in int fields

2003-01-26 Thread Steven Knight
Hi all, Don't know if I'm being thick or if this is actually difficult. My database stores $ amounts in Int fields as cents. I want to edit and display them to the user as a 999.99 format. What facilities should I use in Delphi to achieve this? Steven Knight Analyst /

RE: [DUG]: Dollar amounts in int fields

2003-01-27 Thread Steven Knight
nd when you store data to DB you multiply your dollar values > by 100 to get > cents. > If you use SQL queries to retrive and store data then you can > just add *100 and > /100 to your queries. > > Alex > > - Original Message - > From: "Steven Knight&