Re: [DUG] Web development

2011-06-05 Thread Neven MacEwan
My 2 cents worth for someone looking at Web Dev now Options 1. Go with the mindless horde (M$, C# .NET) 2. Go with the alternative mindless horde (ROR) 3. Go for the Money (Java) 4. Go alternative (PHP) I never used Delphi for PHP but highly recommend Nusphere PHPed as a Delphi like IDE and

Re: [DUG] Web development - PHP or not PHP?

2011-06-05 Thread Neven MacEwan
John Debugging PHP poor? Breakpoints, hover-over variable values, step into what more do you need? I agree with the speed thing though, No need for compiled code until you get to facebook size. I always thought the concept of a PHP VCL a little strange, The statelessness of webservers and

Re: [DUG] Web development

2011-06-05 Thread Neven MacEwan
Paul Yes, read a lovely phrase on the ROR site, Rails is opinionated software. It makes the assumption that there is a “best” way to do things, and it’s designed to encourage that way – and in some cases to discourage alternative This I think is a huge problem in handling the

Re: [DUG] Web development - PHP or not PHP?

2011-06-05 Thread Neven MacEwan
, are you implying that facebook uses some sort of compiled language. As far as I know it uses php. Its slowness stems from them using rubbish programmers. Every time they make a change - their choices/decisions makes things even slower. On 5/06/2011 10:37 p.m., Neven MacEwan wrote: John

Re: [DUG] Delphi 4 PHP - stored proc

2011-03-01 Thread Neven MacEwan
parameters right what is the stuff after the semi-colon ? *'mysql error: [-: Input array does not match ?: call authenticate_user('r.gu...@xtra.co.nz', 'password');'r.gu...@xtra.co.nz''password'] in Execute(, ) * On 26/02/2011 11:37 p.m., Neven MacEwan wrote: Rohit Which DB? which library

Re: [DUG] Delphi 4 PHP - stored proc

2011-02-26 Thread Neven MacEwan
Rohit Which DB? which library? Does anyone know hot get a value/result back from a php function in delphi 4 php using storedproc ? I have tried many variations from other languages - but no go. There is no help and the examples dont provide much insight.

Re: [DUG] Delphi

2010-09-07 Thread Neven MacEwan
There are times (like running out of a shaking building for example) that doing software dev on a laptop would be advantageous :-) Good Luck and Best wishes Neven - Original Message - *From:* Eion McIntosh mailto:eion.mcint...@silverfernfarms.co.nz Hi Hope this is

Re: [DUG] Problem with IDENT_CURRENT and adoquery delphi 6

2010-08-23 Thread Neven MacEwan
Vik just a thought but try giving the column a name as both '*SELECT IDENT_CURRENT(‘Client_Accountdetail’)*' and *select max(column name) from table *would return un-named columns HTH Neven Hello everyone, Good morning, I am facing a small problem while using ident_current feature using

Re: [DUG] MSSQL ID field binary(8)

2010-08-16 Thread Neven MacEwan
John I work on systems where some idiot used a decimal(9,0) as a PK and mixed it with other tables with integers, I think with any PK the main thing is use the same otherwise you force the server to use hash joins (v slow) and secondly use the smallest key you can (I'm currently using a

Re: [DUG] MSSQL and Schemas

2010-07-13 Thread Neven MacEwan
does this help http://weblogs.asp.net/steveschofield/archive/2005/12/31/change-schema-name-on-tables-and-stored-procedures-in-sql-server-2005.aspx I have had enough with schema thing, I would like to drop this schema and transfer objects for this schema to the default schema. Could anyone

Re: [DUG] MSSQL and Schemas

2010-07-10 Thread Neven MacEwan
Sandeep It sounds the default schema is not correct for the login you are using Sandeep Chandra wrote: Hi I have got a MSSQL(2005) database that has objects in a schema. Things work fine on development machine but when I try to put the database on another machine I am not able to run

Re: [DUG] IntToBin

2010-06-22 Thread Neven MacEwan
Wallace Rather than being IntToBin it converts the n digit least significant bits to a string representation of 'binary' so IntToBin(1,4) would return '0001' IntToBin(3,4) returns '0011' IntToBin(15,5) = '0' Cant really see the use of it and the code isn't that flash Neven Hi Chaps

Re: [DUG] Delphi failed login to MSSQL

2010-03-25 Thread Neven MacEwan
John any reason you are using integrated securtiy? I notice in your connection string you have User ID=sa, so why not use SQL server security? I have a connection to a MSSQL database that fails if the logged in user is a non-administrative user on Windows XP This is the connection string:

Re: [DUG] Delphi failed login to MSSQL

2010-03-25 Thread Neven MacEwan
John Which version of mssql, I've never useed integrated security but a quick look at my 2005 shows a BUILTIN\Users login which is what it might use if you are not an admin HTH N I have a connection to a MSSQL database that fails if the logged in user is a non-administrative user on

[DUG] Skite time

2010-03-08 Thread Neven MacEwan
Hi All I'm after some anecdotal numbers, 1. What is the greatestest number of trans that you have processed daily into an SQL database 2. What database was it 3. How many rows did the biggest table have TIA Neven ___ NZ Borland Developers Group -

Re: [DUG] Skite time

2010-03-08 Thread Neven MacEwan
with row with exceeds page size and has a lot of indexes Edward Koryagin --- On Tue, 9/3/10, Neven MacEwan ne...@mwk.co.nz wrote: From: Neven MacEwan ne...@mwk.co.nz Subject: [DUG] Skite time To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Received: Tuesday, 9

Re: [DUG] Run Function called from a database field's data.

2010-03-04 Thread Neven MacEwan
Wallace What database are you using?, Do you need to call this function at a db level or are you iterating thru the dataset? In the simplist method just wrap a Case statement arrount the function name if you want to get more complex you should do some research on RTTI (Refelection for Delphi)

Re: [DUG] another set of eyes

2010-01-30 Thread Neven MacEwan
Jeremy I might be missing something but an in range query woult be ItemStart = RangeStart AND ItemEnd = RangeEnd just as a range overlap would be ItemStart = RangeEnd AND ItemEnd = RangeStart HTH Neven Hi All. I am the stage with problem that SOMEONE who’s a bit more lateral thinking

Re: [DUG] MSSQL with D2007

2010-01-19 Thread Neven MacEwan
John If ADO is slow check the type of dataset that it is opening, it may be a dynamic cursor where as for TCLientDataSet you onlu need a quick pass thru, remember ADO has its own client data management built in HTH Neven Been trying to connect to MSSQL 2005 with DB Express (TSQLConnection

Re: [DUG] What is the future for Delphi programmer? - summary

2010-01-19 Thread Neven MacEwan
John You can add Yes, No, PHP, C# to this list, it would appear I'm boring Neven Hi folks I had a spare 10 minutes and summarised the 23 replies from everybody: 1.Still maintaining Delphi code? No 0x Yes 23x 2.Started a new Delphi project in the last year?

Re: [DUG] MSSQL with D2007

2010-01-19 Thread Neven MacEwan
Gary/John Firstly, Have you compared the 'load time' for the query from ADO versus Query Analyser? If they are the same (QA is odbc based) then the perf issue is Server/Query, if not then its the ADO, check the ADODataSet (or equiv IIRC these are all wrappers around tha ADO Command object) ,

Re: [DUG] Google Phone

2010-01-17 Thread Neven MacEwan
Unless someone has a gun to your head and forces you to purchase one they are not a Rip off It irritates me when seemiingly intelligent people are too lazy to shop around (and don't get the best price) or they make a bad decision, It is never their fault, They were ripped off, maybe its a gen x/y

Re: [DUG] A change in upgrade policy coming from Embarcadero

2009-09-19 Thread Neven MacEwan
Kyley A PLC is a Programmable Logic Controller a piece of hardware that has an embedded language to control industrial machinery Over the years there has been a merging of PLC's and Process Computers (PLC's evolved from the original relay logic, in fact early ones you programmed in ladder

Re: [DUG] QuickReport Delphi 5 Enterprise MSSQL 2005 Storedprocedure

2009-08-03 Thread Neven MacEwan
J Yes ADO is the issue, IIRC it checks the count on updates, ie number of rows affected versus expected I had this problem with some triggers N yeah sometimes I have to put SET NOCOUNT ON in some stored procs too. I find some stored procs throw a wobbly in ASP as well as Dephi, but I

Re: [DUG] How to create a highlighted presentation

2009-07-15 Thread Neven MacEwan
John Javascript Lightbox (or its many variants) but thats dated now, look at the jquery based nyromodal which is way cool http://nyromodal.nyrodev.com/ Once you start with jquery you'll never stop HTH Neven Hi all TradeMe has a nice presentation in case you enlarge a photo; background

Re: [DUG] delphi is fast-very fast

2009-07-01 Thread Neven MacEwan
Gary Careful they didn't do C or C++ HI all, Not yet Friday, but here's an interesting post re the relative speeds of Delphi to other languages such as C#, C++, Java, and PHP. http://compaspascal.blogspot.com/2009/06/delphi-is-fast-very-fast.html Here's a taste... Delphi is fast, very

Re: [DUG] delphi is fast-very fast

2009-07-01 Thread Neven MacEwan
Jolyon Raw byte code still needs to be interpreted - albeit translated to machine ops (rather than interpreted in the sense that a scripted language is). Only a compiled exe is. well. a compiled exe. You are on very shakey ground here, A compiler can optimise code based on the symbols

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
Jeremy I think it will get better, its just a matter of habit, doe you use ctrl-shft up arrow/dn arrow to jump from declaration and back, also there is a setting on ctrl-g to show the proc code so you can use it as window in window HTH Neven Well here is the situation. You add a button, dbl

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
John http://www.gexperts.org/ OK looks like I need to look at the GE Experts - anyone have a web link (I have D2007) Incidentally I remember hearing once the order of adding button events to the source file was related to class completion - if you start a unit with no procedures they

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
Jeremy Don't be sarky after all its GExperts not GE Experts which gives a lot of stuff related to General electric having said that GE Experts delphi would get you there On Wed, Jun 10, 2009 at 11:52 AM, John Birdjohnkb...@paradise.net.nz wrote: OK looks like I need to look at the GE

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
fair nuff :-) Hardly sarky. If I wanted to be sarky I would have said jfgi or http://lmgtfy.com/;. Also it was mentioned as GExperts in the thread so a match would have been found very quickly. On Wed, Jun 10, 2009 at 12:08 PM, Neven MacEwanne...@mwk.co.nz wrote: Jeremy Don't be

[DUG] Software Recommendation

2009-04-29 Thread Neven MacEwan
Hi Can anyone recommend a good free file name/contents search software (I've finally had it with the puppy) TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] [DUG-Offtopic] new PC

2009-03-30 Thread Neven MacEwan
Phil As a Schlumerger Trainee I used a PDP 11/23 but I think you will all have to take a bow to my ex business partner Lawrence Wilkinson as to his story with an IBM 360 see here http://homepages.kcbbs.gen.nz/nbree/saga.html Neven My first computer experience was on a VAX 780. 2 MB Ram, 550

Re: [DUG] CRViewer.dll from delphi

2009-03-06 Thread Neven MacEwan
. Now we have to use an MSI installer to install it on ever workstation (automatically). Its not a goer yet. I think it was easy enough, just use the new vcl and tiny changes in the calling procedure. If you have specific problems, I can ask her. Neven MacEwan wrote: Hi I'm playing

Re: [DUG] CRViewer.dll from delphi

2009-03-06 Thread Neven MacEwan
in the calling procedure. If you have specific problems, I can ask her. Neven MacEwan wrote: Hi I'm playing with the CRViewer.dll for Crystal 11 has anyone used this?, Unlike any other OCX ive used this seems to be full of IUnknowns! TIA Neven

Re: [DUG] CRViewer.dll from delphi

2009-03-06 Thread Neven MacEwan
it on ever workstation (automatically). Its not a goer yet. I think it was easy enough, just use the new vcl and tiny changes in the calling procedure. If you have specific problems, I can ask her. Neven MacEwan wrote: Hi I'm playing with the CRViewer.dll for Crystal 11

Re: [DUG] CRViewer.dll from delphi

2009-03-06 Thread Neven MacEwan
. Now we have to use an MSI installer to install it on ever workstation (automatically). Its not a goer yet. I think it was easy enough, just use the new vcl and tiny changes in the calling procedure. If you have specific problems, I can ask her. Neven MacEwan wrote: Hi I'm playing

[DUG] CRViewer.dll from delphi

2009-03-05 Thread Neven MacEwan
Hi I'm playing with the CRViewer.dll for Crystal 11 has anyone used this?, Unlike any other OCX ive used this seems to be full of IUnknowns! TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] CRViewer.dll from delphi

2009-03-05 Thread Neven MacEwan
Edward Cheers, do you have any code snippets I could look at, the stuff i've found on the web relates to 8.5 and it totally different to the classes in the 11 dll N I used to work with version 9. Everything was Ok Edward Koryagin --- On Fri, 6/3/09, Neven MacEwan ne...@mwk.co.nz wrote

[DUG] D6 and Newer Crystal Reports

2009-03-01 Thread Neven MacEwan
Hi Is anyone out there integrating a newer (crystal 9+, Unicode) crystal with and older (D6 in my case) Delphi? If so how? Thanks Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] D6 and Newer Crystal Reports

2009-03-01 Thread Neven MacEwan
Edward Yes but which one? Import ActiveX control? Edward Koryagin --- On Mon, 2/3/09, Neven MacEwan ne...@mwk.co.nz wrote: From: Neven MacEwan ne...@mwk.co.nz Subject: [DUG] D6 and Newer Crystal Reports To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Received

[DUG] Older Delphi, Newer Crystal Reports

2009-02-19 Thread Neven MacEwan
Hi Has anyone integrated a recent version of Crystal (11/2008) with a pre unicode Delphi (D6 in my case) I assume there is no VCL so can it be done via ActiveX? Cheers Neven ___ NZ Borland Developers Group - Delphi mailing list Post:

Re: [DUG] Create new table from existing one.

2009-02-17 Thread Neven MacEwan
Wallace Is their any overriding reason you are using dBase tables? Its a bit dated? If I was doing a single user app, that didn't interact with an external report writer etc, I'd use kbmMemtable otherwise its difficult to go past MS SQL free versions (or Firebird) which being SQL servers give

Re: [DUG] To post or not to post.

2009-02-14 Thread Neven MacEwan
Marshland Engineering wrote: I'm having problems with editing and posting records. Sometimes when I edit a field, I get 'Not in edit mode' Is this logic correct ? I have two files. Senario 1 I remain on a single record for this operation Is this correct when I call a new form ?

Re: [DUG] Delphi on Linux question

2009-02-09 Thread Neven MacEwan
Robert Refactor in PHP? http://devzone.zend.com/node/view/id/689#Heading6 Hi We foolishly created a Windows / Delphi 2007 SOAP service to a MYSQL DB. We tested it (using Windows and Apache2) and everything worked well. However the clients ISP does not support SOAP on Windows, they do

[DUG] Crystal 8.5 Pro CD

2009-02-03 Thread Neven MacEwan
Hi all I'm repeating my request for anyone who has a copy of Crystal 8.5 Pro CD (I think the volume label would be SCR85PRO) I have an 8.5 PRO upgrade S/n but am not sure if the upgrade CD is different from the full version TIA Neven ___ NZ Borland

Re: [DUG] Crystal 8.5 Pro CD

2009-02-03 Thread Neven MacEwan
- 6 for us). I thought John was sending you the CD. If not I will check with the Boss and see what we can do :) Thanks Rob Neven MacEwan wrote: Hi all I'm repeating my request for anyone who has a copy of Crystal 8.5 Pro CD (I think the volume label would be SCR85PRO) I have

[DUG] Crystal Reports

2009-01-29 Thread Neven MacEwan
Hi Does anyone have a Crystal Reports 8.5 Pro CD I can copy I have a client that has misplaced theirs (have rego no CD!) TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] MSSQL Question

2008-12-01 Thread Neven MacEwan
the same sequence accross more than one table, and you can also have more than one per table. I find the identity is only useful if it is to be a primary key, not useful as a data element. On Mon, Dec 1, 2008 at 5:12 PM, Neven MacEwan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: John

Re: [DUG] MSSQL Question

2008-12-01 Thread Neven MacEwan
begin SELECT @AVALUE=ID from @Res end END COMMIT TRAN RETURN @AVALUE On Mon, Dec 1, 2008 at 9:40 PM, Neven MacEwan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Kyley my experience is with postgreqsl, it has sequences (I assume from its oracleness), which get

Re: [DUG] MSSQL Question

2008-12-01 Thread Neven MacEwan
On Tue, Dec 2, 2008 at 8:08 AM, Neven MacEwan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Kyley Looks pretty robust (explicit locks), I've never used the output pseudotable structure (interesting, learn something new), If you set the TRANSACTION

Re: [DUG] MSSQL Question

2008-11-30 Thread Neven MacEwan
Kyley Why not just use a stored proc as a 'generator' or a high/low sequence, I take it that you want to know the surrogate PK Value? Must they be sequential? Neven pretend IDENTITY columns dont exist, because they don't do what I want, which is to create non-rollback numbers like IB

Re: [DUG] MSSQL Question

2008-11-30 Thread Neven MacEwan
and Oracle.. its very easy.. have to pop out for an hour.. Thanks if anyone has any ideas for making sure I don't get lock contention, or reissuing of the same number twice. On Mon, Dec 1, 2008 at 11:41 AM, Neven MacEwan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Kyley Why

Re: [DUG] MSSQL Question

2008-11-30 Thread Neven MacEwan
Kyley Thanks Neven, Cheers I think your idea of keeping the key fetching in a seperate transaction is the most likely to prevent any locks happening. Key fetch speed is not a huge issue. This is very easy to implement in my middle layer. My issue is then that I have a few triggers that

Re: [DUG] MSSQL Question

2008-11-30 Thread Neven MacEwan
Myles I'd only ever have 2 triggers, one for RI (which reads only, hence does not fire other triggers) and the other for Data updates (which only spans the same related tables as the RI trigger), yes I know that other than that you cannot control their execution order. Cheers N Neven,

Re: [DUG] MSSQL Question

2008-11-30 Thread Neven MacEwan
John Really interbase generators are more akin to the mssql identity column type, the problem with mssql identity columns WAS with the @@Identity variable which was per connection (and hence triggers that inserted other identity columns not return the identity you would expect), this has been

Re: [DUG] Searching ClientDataSet using locate

2008-11-06 Thread Neven MacEwan
Stephen I think you'll find the filtering is a a brute force scan of all records in code :-) I'd like to know where the data is soming from because I always think it is better to to the selection in the database rather than loading lots of records and doing this kind of select locally N Hi

Re: [DUG] Searching ClientDataSet using locate

2008-11-06 Thread Neven MacEwan
Stephen I got lost when you used DBISAM and sql in the same sentence :-) This all works well until you put a slow network in the way, but its not really and issue now is it, raw grunt trumps poor design Neven I think you'll find the filtering is a a brute force scan of all records in code

Re: [DUG] Searching ClientDataSet using locate

2008-11-05 Thread Neven MacEwan
John Would you be better using filters and OnFilterRecord? Neven I am trying to make a generalised routine for searching a client dataset (it searches alpha fields matching a user supplied string and positions on the next matching record). So far I am doing this using the locate command

Re: [DUG] Compnent creation question

2008-10-24 Thread Neven MacEwan
Paul Yes and No a/ Yes if you are truncating the list at the same time and b/ Yes if in the destructor for the item you destroy removes itself from the list (via a call to the Owner) c/ No, If it is your list and you clear it at the end HTH Neven I Didn't get through all the posts' texts,

Re: [DUG] Compnent creation question

2008-10-16 Thread Neven MacEwan
Paul I'd venture the more interesting question is more what _kind_ of impression that tends to be :-) Hopefully its changed over the years thou friends tell me I'm appear arrogant..never! Interesting. I wonder if it was Morphic? It may well have been the inspiration. As he told me

Re: [DUG] Compnent creation question

2008-10-14 Thread Neven MacEwan
Robert Have/can you updatebegin, updateend around the items property? Randon thought of the top of my head N Hi Just trying to make a TComboBox that automatically frees its items. I have the following code in the destructor if (fAutomaticallyFreeObjects = True) and

Re: [DUG] Compnent creation question

2008-10-14 Thread Neven MacEwan
Paul Thats why I though a Items.BeginUpdate would suppress events on the strings Usually as someon else posted, if this is a problem they may have a preceding event Neven Rob wrote: Sounds likely. I am calling it BEFORE inherited destroy. Off home now. hopefully all will fall into

Re: [DUG] Adding button to form

2008-10-13 Thread Neven MacEwan
Colin/Mina wrote: Designtime or runtime? Hi, I'm modifying an old application that was written in D5. I have a form amongst others on which there is a Panel on which there is a TButton. All works fine. I need to add another button on the same Panel but having done so it doesn't show

Re: [DUG] How to write udf for mssql server 2005 in Delphi?

2008-10-09 Thread Neven MacEwan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Thursday, 9 October 2008 6:55 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] How to write udf for mssql server 2005 in Delphi? Leigh You can either write a function

Re: [DUG] How to write udf for mssql server 2005 in Delphi?

2008-10-08 Thread Neven MacEwan
Leigh You can either write a function in Transact SQL or if you do insist on writing in Delphi do it as a com object HTH Neven Good afternoon, How to write udf for mssql server 2005 in Delphi 7? TIA Regards Leigh ___ NZ Borland Developers

Re: [DUG] HTTP Upload Progress

2008-09-17 Thread Neven MacEwan
Jeremy You could do it in Javascript reltively simply | makes a decent progress bar, I have never got into graphics with JS though its would be relatively simple to resize a div as a progress bar This is the Ajax Tool I use WWW: http://www.AjaxToolbox.com/ HTH Neven yeah there is

Re: [DUG] iPhone

2008-08-31 Thread Neven MacEwan
Robert MS has been successful is its openness. MS were successful for one reason - IBM, what IBM forgot was that an OS can move onto other hardware, I think they always saw themselves (and computers for that matter) as a hardware business. OS/2 Taught everyone a major lesson in that regard

Re: [DUG] iPhone

2008-08-28 Thread Neven MacEwan
Alister What? you think this is new? is it just me - or is apple becoming the new Micro$oft? Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Richard Vowles wrote: You are not allowed to

Re: [DUG] Need help in special charector while inserting in a table

2008-08-25 Thread Neven MacEwan
Rohit I think if you look closely its an apostrophe not a single quote Vikas, What Query Class are you using Neven try INSERT INTO X VALUES('VIKAS''S'); Vikas... wrote: Hi I am using delphi and sql server 2000. I am facing a issue while inserting a value to a database TABLE

Re: [DUG] Need help in special charector while inserting in a table

2008-08-25 Thread Neven MacEwan
Rohit I did Neven, but Vikas is a tad confused himself saying that the accent worked but not the quote. :-) I *think* he said a double apostrophe worked but not a single one, as you say Vikas' question was a bit of an enigma Good to know you are not yet blind :-) Neven Neven MacEwan wrote

Re: [DUG] Delphi ADO Components with MS SQL 2005

2008-08-21 Thread Neven MacEwan
Eric Check how you are connecting espo the idiotically named Surface Area config for your server, by default tcp/ip is not enabled nor remote connections HTH Neven I'd like to use Delphi 7 (Delphi 2007 second choice) with SQL Server 2005. Initially this will be just for development using

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Neven MacEwan
...), but either this doesn't work or my save code doesn't work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, 18 August 2008 4:06 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Images and MS SQL

Re: [DUG] Images and MS SQL Server

2008-08-18 Thread Neven MacEwan
; finally datamod.ADOQ.Close ; end ; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Tuesday, 19 August 2008 10:18 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Images and MS SQL Server Dave Im

Re: [DUG] Images and MS SQL Server

2008-08-17 Thread Neven MacEwan
on this. Can anyone show me some code to save and load images from SQL Server using TADOQuery? The methods I've come up with don't appear to work at all... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Friday, 15 August 2008 4

Re: [DUG] Images and MS SQL Server

2008-08-17 Thread Neven MacEwan
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, 18 August 2008 4:06 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Images and MS SQL Server Dave I thought you had code to save it? To tretrieve it (rough I don't have

Re: [DUG] Images and MS SQL Server

2008-08-14 Thread Neven MacEwan
Dave Hasn't Tblobfield got the same streaming functions IIRC I have worked out how to save an image into an Image field, but I’m having brain fade on how to retrieve the image... Using TADOQuery, D2005. Save: ... datamod.ADOU.SQL.Add(':Image)') ; ms := TMemoryStream.Create ; try

Re: [DUG] OO Programming

2008-07-29 Thread Neven MacEwan
Steve So what we need is OO RAD? Where you define classes and they 'instantly' appear on your palette (and are dynamically updated) And a O-R framework is part of the language? The problem has been of course that the Table Row = Business Object is a 95% accurate solution and so the Delphi IDE

Re: [DUG] OO Programming

2008-07-29 Thread Neven MacEwan
is explaining that the main problem with most programming is that last little wee 95%. :o) Steve http://stevepeacocke.blogspot.com/ On Wed, Jul 30, 2008 at 10:08 AM, Neven MacEwan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Steve So what we need is OO RAD? Where you define

Re: [DUG] OO Programming

2008-07-29 Thread Neven MacEwan
prefer the description given earlier that corresponds to the What is an expert description - someone brought in from another city and wearing a suit and carrying a briefcase. Steve http://stevepeacocke.blogspot.com/ On Wed, Jul 30, 2008 at 10:24 AM, Neven MacEwan [EMAIL PROTECTED] mailto

Re: [DUG] [Off topic] How to become an IT Architect?

2008-07-28 Thread Neven MacEwan
Richard I must admit that having started this thread that I actually made a typo...I meant to ask is the Delphi List dead Since it seemed so quiet, but the responses have been worth reading Neven Totally have to agree with that. And Delphi isn't dead by the way, I forgot to add my two

Re: [DUG] OO Programming

2008-07-28 Thread Neven MacEwan
Alister I've written an object-relational (or persistence) framework for PHP, Heres a list of them http://www.ambysoft.com/essays/persistenceLayer.html#ProductsOther Do people on this list put in the effort to write proper object oriented code, or write mostly RAD style code, using

Re: [DUG] Email Files

2008-07-23 Thread Neven MacEwan
J Wouldn't IMAP be better Dont worry about the offtopic thing, other than this Delphi is dead isn't it? N well, on sites I saw, people were taking about Dovecot and another one called Zibra or somethng like that and had elpful looking tutorials, but they seemed pretty complicated I

Re: [DUG] Faking a serial port

2008-07-23 Thread Neven MacEwan
Simon Why not use 3 comm ports? might be simpler than hooking the other comm (esp since you don't know how the other software works) N I have an interesting request ... I write a lot of GPS based apps, and am quite familiar with reading data from via a COM port from the GPS. A client

Re: [DUG] need help in client dataset

2008-06-05 Thread Neven MacEwan
Vikas If you are using a TQuery to fetch you could copy it into a TkbmMemtable http://www.components4programmers.com/products/kbmmemtable/ N Hi I am using delphi 5 with sql server 2000. I need help in using tclientdataset. My actual scenario is i am using tquery to fetch some record.

Re: [DUG] Delphi PHP

2008-05-19 Thread Neven MacEwan
Rob Did you download nusphere, they have a free trial N Hi Seems so :) I must admit I was surprised that Richard didn't come back and tell me the price / web site to buy it from! (I assume Richards company is still the NZ agent for it). Just been and found it on FYI

Re: [DUG] Delphi PHP

2008-05-19 Thread Neven MacEwan
Rob I'm using postgesql in my current project, very nice even under windows, PHP is quite easy to get to get to grip with This is my TDataset class as an example, note the hacky support of ODBC PGSQL class TDataSet { public $Data = null; private $Statement = null; // can be pdo

Re: [DUG] DBX4 drivers for firebird

2008-05-19 Thread Neven MacEwan
Richard I don't feel we should have to pay for this option Why? FB is an opensource database that in the most perverse manner competes with IB so why should codegear give a [EMAIL PROTECTED], This is always the 2 edged sword of opensource, your warranty is proportional to the price paid for

Re: [DUG] DBX4 drivers for firebird

2008-05-19 Thread Neven MacEwan
David. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Tuesday, 20 May 2008 12:53 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] DBX4 drivers for firebird Richard I don't feel we should have to pay

Re: [DUG] DBX4 drivers for firebird

2008-05-19 Thread Neven MacEwan
From: [EMAIL PROTECTED] on behalf of Neven MacEwan Sent: Tue 20/05/2008 12:53 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] DBX4 drivers for firebird Richard I don't feel we should have to pay for this option Why? FB is an opensource database

Re: [DUG] Delphi PHP

2008-05-13 Thread Neven MacEwan
Robert Also look at nusphere (www.nushere.com) a nice ide/debugger If you are coming from delphi look at php 5's oo, strangely all my classes are prefixed with 'T', TDatabase... etc, has interfaces! Firebird access should not be a problem, though php db access is a dogs breakfast, I

Re: [DUG] sql query issue

2008-05-08 Thread Neven MacEwan
Vikas Can you post the text of the query? Basic Pointers 1/ Add indexes for ther foreign keys (these can allow duplicates) 2/ Restrict the result set (I assume you dont want the query to return 10 million rows) 3/ use ansi join syntax N Hi I have an query related to an sql sever 200o

[DUG] CR 11 and D6

2007-12-11 Thread Neven MacEwan
Hi All (and esp Rohit) Does anyone have an idea how i can run a CR10/11 report without the VCL (ActiveX?) From Delphi 6, The Target system has CR installed TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz

Re: [DUG] CR 11 and D6

2007-12-11 Thread Neven MacEwan
Rohit Bugger Sorry, No, They removed the dll method. Which is why it was a pain to upgrade to it to fix the crashes in CR8.5. It supposedly has a feature of standalone reports, which may do the job for you... I have never played with it though. Neven MacEwan wrote: Hi All (and esp

Re: [DUG] File handling help in Delphi 5

2007-12-05 Thread Neven MacEwan
Vikas These are very old routines that date back to Pascal, look at TStrings (as suggested) and Streams HTH Neven Hi I am back again. Well i need one help in file handling. May be i sound dump here but i struck up badly at one point here. Ok let me first explain my first situation.

[DUG] D6 breaks with CPU Window

2007-12-03 Thread Neven MacEwan
Hi I have a project that stopped when begin debugged and shows the cpu window (no breakpoint shows) I assume its something corrupted in the debug setup does anyone know how to get rid of it Thanks Neven ___ NZ Borland Developers Group - Delphi

Re: [DUG] D6 breaks with CPU Window

2007-12-03 Thread Neven MacEwan
. If I am doing something where it comes up all of the time I turn off debugging. Stacey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Tuesday, 4 December 2007 14:44 To: DUG Subject: [DUG] D6 breaks with CPU Window Hi I have a project

Re: [DUG] SMTP Server Component

2007-11-27 Thread Neven MacEwan
Matt Do you have any example of using SMTPsender with an attachment? Thanks I wouldn't use anything but synapse for socket stuff... so clean and compact. Matt. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neven MacEwan Sent: Monday, 26 November

[DUG] SMTP Server Component

2007-11-25 Thread Neven MacEwan
Hi all I know there are a lot of SMTP Client comonents available but can anyone suggest the best of breed? TIA Neven ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin:

Re: [DUG] debugging store procedure using Delphi 5

2007-11-15 Thread Neven MacEwan
Vikas Short Answer is No, Its only when you have to do this sort of thing you realise how good the Delphi IDE is. Use IsqlW (the command console) to create and debug your SP's here is one of mine which shows how i do it, /* Task can be 'WebOrder' @@OrderID is JI_WebOrder.WebOrderID

  1   2   3   4   5   6   7   8   9   10   >