Re: [DUG] Validate data entry

2011-06-02 Thread Marshland Engineering
Form inheritance or Frames to cut down on the number of different entry points. The program is set of sequences for machining. A DBGrid displays the operations. On double clicking the DBGrid operation, opens a form with the relevant data and the graphics is displayed. The data entry points

[DUG] COM issue

2011-06-02 Thread Robert Martin
Hi I have app A that runs (using create process) app B. App B at one point tries to use COM to access app A. This freezes. When app B is run manually it works fine. I assume this has something to do with B running in the same 'space' as A. I have tried CreateProcess(Nil, pChar(appName +

[DUG] Stack Overflow in WndProc

2011-06-02 Thread ja...@software-solutions.co.nz
Hi there, I have been experiencing a Stack Overflow error in my WndProc override and not sure why this is Basic form below.. TMyForm = class(TForm) ... Protected procedure WndProc(var Message: TMessage); override; ... End; procedure TMyForm.WndProc(var Message: TMessage); var

Re: [DUG] COM issue

2011-06-02 Thread Jolyon Smith
First up, if both are running as separate processes then nothing is in the same space as such. It's been a long time since I did any detailed COM work so I'm a bit rusty, but I think the key to this will be the threading and instancing model your COM server is employing in the A process and

Re: [DUG] Stack Overflow in WndProc

2011-06-02 Thread Karl Reynolds
GetActiveWindow re-enters the message queue so I'm guessing that has something to do with it. Cheers, Karl On Fri, Jun 3, 2011 at 11:35 AM, ja...@software-solutions.co.nz ja...@software-solutions.co.nz wrote: Hi there, I have been experiencing a Stack Overflow error in my WndProc override

Re: [DUG] Stack Overflow in WndProc

2011-06-02 Thread ja...@software-solutions.co.nz
I have just removed the code in Dostuff, all it was doing however was painting a border around the form. I shall try this although I am sure I tried this before. The overflow only happens after a while running, thanks I shall report back. Regards from New Zealand (GMT+12) Jason Coley Software

Re: [DUG] Stack Overflow in WndProc

2011-06-02 Thread Kyley Harris
Put a break point in and when you hit about 10 deep stack trace the repeating call. On Friday, June 3, 2011, ja...@software-solutions.co.nz ja...@software-solutions.co.nz wrote: Hi there, I have been experiencing a Stack Overflow error in my WndProc override and not sure why this is…. Basic

Re: [DUG] Validate data entry

2011-06-02 Thread Colin Johnsun
Hi Wallace, Don't know if you missed my post or not but if you do your validation on the OnDataChange event on the TDataSource component, it gets triggered everytime you modifiy a field value. So if you are in a DBGrid and you change a value in a column and then move to the next column, the event

[DUG] Web development

2011-06-02 Thread Steve Peacocke
Friday question (or Can of Worms) Hey guys, I'm looking at getting into serious web development. I used to do this a number of years ago with standard Delphi 6 at that time. I have Delphi 7 I've been looking seriously at Ruby on Rails but that would mean learning a whole new language and

Re: [DUG] Web development

2011-06-02 Thread Steve Peacocke
Thanks Berend, I'm not doing this for a job but working on my on applications at home in my spare time. I've been programming for many years but not as a job since about 2005. My next project will be totally web based and I've been thinking that I'd need to make the move to RubyonRails at that

Re: [DUG] Web development

2011-06-02 Thread Jolyon Smith
I have been thinking about this myself. I started trying to get to grips with PHP, but in the end got fed up with wrestling with HTML and CSS - working with those technologies is like stepping back in time in terms to tools and debugging etc, and I found it frustrating and tiresome. So at that

Re: [DUG] Web development

2011-06-02 Thread Ross Levis
On a similar subject (off-topic), I write my own scripts for my own website using standard ASP basically with Notepad or the old MS-Frontpage. I don't use databases, just text files for data storage. I chose ASP some time ago as it is similar to the BASIC language which I can understand. I'm

Re: [DUG] Web development

2011-06-02 Thread Alister Christie
I think RoR is a fairly good choice and I've played with it a bit and am impressed - bit of a learning curve from Delphi. Whatever technology you choose, you'll likely need a good understanding of HTML, CSS and JavaScript. I don't think Intraweb is suitable for doing any serious web stuff -

Re: [DUG] Web development

2011-06-02 Thread Steve Peacocke
Yes I've discounted PHP too. Basically I'm hoping I can do everything in Delphi. However HTML, CSS JavaScript are required and thankfully I'm ok with all except CSS so only a bit of learning. I also want to host on Azure or Amazon or whatever so we're heading in the same direction there.