Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 6 of 6 total |
EDBScript OnProgress / OnStatusMessage (Not Responding) |
Wed, Jun 8 2011 11:20 PM | Permanent Link |
IQA | Hi,
I'm sure there's an easy way to get around this and that its more a Windows thing that an Elevate thing...I have a program where an EDBScript loads an SQL script produced by the Reverse-Engineer option in EDManager with the Include Progress checked. The script works fine and creates the tables / data. The PercentDone and StatusMessage also work well. The problem is if I lclick on the forms title bar it stops refreshing and the application shows the windows message '(Not Responding)'. This still completes perfectly and then I gain control back to the form after, but is there a way to stop windows thinking the application is (Not Responding) when I click on the form. It might make clients think the program has crashed when it's really working perfectly? Thanks, Phil. |
Wed, Jun 8 2011 11:24 PM | Permanent Link |
IQA | I guess I should probably run the process in another thread, that should fix it, but I thought there might be an easier way.
|
Thu, Jun 9 2011 1:06 AM | Permanent Link |
IQA | Yep, wacking it in a thread works perfecty All good!
|
Thu, Jun 9 2011 1:50 AM | Permanent Link |
Uli Becker | Philip,
have you tried application.processmessages within the progress event handler? Uli |
Thu, Jun 9 2011 4:01 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Philip,
<< The PercentDone and StatusMessage also work well. The problem is if I lclick on the forms title bar it stops refreshing and the application shows the windows message '(Not Responding)'. >> My suggestion would be the same as Uli's - use Application.ProcessMessages to pump the message queue and allow the click to be processed. -- Tim Young Elevate Software www.elevatesoft.com |
Fri, Jun 10 2011 1:00 AM | Permanent Link |
IQA | Thanks Uli & Tim.... Yes that works just as well and so have scrapped the Thread, keeps life simple!
|
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |