PC Review


Reply
Thread Tools Rate Thread

any trick to move a window in a tight loop

 
 
pamela fluente
Guest
Posts: n/a
 
      30th Jan 2011
Hi guys,

i just wanted to check out if there is some know trick to be able to
move a form (waiting for outcome)
after i have launched a tight loop (release more) without the
application.doevents in it.

Since i am running some very lengthy simulations (factoring numbers
with some hundred digits) i did not bother to place the doevents or
similar stuff
but now i feel that these frozen windows are sometimes
bothering :-)))

Any known trick to be able to move it ? Any suggestion for future
runs, something without giving up in speed ??

Pam
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      30th Jan 2011
On 30-01-2011 18:30, pamela fluente wrote:
> i just wanted to check out if there is some know trick to be able to
> move a form (waiting for outcome)
> after i have launched a tight loop (release more) without the
> application.doevents in it.
>
> Since i am running some very lengthy simulations (factoring numbers
> with some hundred digits) i did not bother to place the doevents or
> similar stuff
> but now i feel that these frozen windows are sometimes
> bothering :-)))
>
> Any known trick to be able to move it ? Any suggestion for future
> runs, something without giving up in speed ??


Do the long running stuff in a separate thread.

Arne
 
Reply With Quote
 
pamela fluente
Guest
Posts: n/a
 
      30th Jan 2011
On 31 Gen, 00:52, Arne Vajhøj <a...@vajhoej.dk> wrote:
> On 30-01-2011 18:30, pamela fluente wrote:
>
> > i just wanted to check out if there is some know trick to be able to
> > move a form (waiting for outcome)
> > after i have launched a tight loop (release more) without the
> > application.doevents in it.

>
> > Since i am running some very lengthy simulations (factoring numbers
> > with some hundred digits) i did not bother to place the doevents or
> > similar stuff
> > but now i feel that these frozen windows are sometimes
> > bothering *:-)))

>
> > Any known trick to be able to move it ? Any suggestion for future
> > runs, something without giving up in speed ??

>
> Do the long running stuff in a separate thread.
>
> Arne


Thanks a lot for this idea. I just placed at work a BackgroundWorker
and seems to do well. Window is functional.

Any hope to move the ones already frozen with some trick ?


Pam
 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      31st Jan 2011
On 30-01-2011 18:59, pamela fluente wrote:
> On 31 Gen, 00:52, Arne Vajhøj<a...@vajhoej.dk> wrote:
>> On 30-01-2011 18:30, pamela fluente wrote:
>>
>>> i just wanted to check out if there is some know trick to be able to
>>> move a form (waiting for outcome)
>>> after i have launched a tight loop (release more) without the
>>> application.doevents in it.

>>
>>> Since i am running some very lengthy simulations (factoring numbers
>>> with some hundred digits) i did not bother to place the doevents or
>>> similar stuff
>>> but now i feel that these frozen windows are sometimes
>>> bothering :-)))

>>
>>> Any known trick to be able to move it ? Any suggestion for future
>>> runs, something without giving up in speed ??

>>
>> Do the long running stuff in a separate thread.

>
> Thanks a lot for this idea. I just placed at work a BackgroundWorker
> and seems to do well. Window is functional.
>
> Any hope to move the ones already frozen with some trick ?


An app you have already started?

I don't think so.

Arne
 
Reply With Quote
 
pamela fluente
Guest
Posts: n/a
 
      31st Jan 2011
On 31 Gen, 01:23, Arne Vajhøj <a...@vajhoej.dk> wrote:
> On 30-01-2011 18:59, pamela fluente wrote:
>
>
>
>
>
>
>
>
>
> > On 31 Gen, 00:52, Arne Vajh j<a...@vajhoej.dk> *wrote:
> >> On 30-01-2011 18:30, pamela fluente wrote:

>
> >>> i just wanted to check out if there is some know trick to be able to
> >>> move a form (waiting for outcome)
> >>> after i have launched a tight loop (release more) without the
> >>> application.doevents in it.

>
> >>> Since i am running some very lengthy simulations (factoring numbers
> >>> with some hundred digits) i did not bother to place the doevents or
> >>> similar stuff
> >>> but now i feel that these frozen windows are sometimes
> >>> bothering *:-)))

>
> >>> Any known trick to be able to move it ? Any suggestion for future
> >>> runs, something without giving up in speed ??

>
> >> Do the long running stuff in a separate thread.

>
> > Thanks a lot for this idea. I just placed at work a BackgroundWorker
> > and seems to do well. Window is *functional.

>
> > Any hope to move the ones already frozen with some trick ?

>
> An app you have already started?
>
> I don't think so.
>
> Arne


well i tried :-)) hmm i think i'll restart ...

Pam
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there some trick to getting spreadsheets to move to extendeddesktop? Joe Windows Vista General Discussion 3 5th Mar 2008 03:16 PM
Oracle behaving strangely with multiple commands executing in a tight loop Steven Eichert Microsoft ADO .NET 7 20th Jul 2006 06:37 PM
Un-tighten tight loop Nick Microsoft C# .NET 4 12th Jan 2005 04:34 PM
Another avoid the loop trick request - on fast fill (Maybe an Alan trick) marston.gould@alaskaair.com Microsoft Excel Programming 2 6th Oct 2004 07:13 PM
Re: How do I avoid this tight loop? Jon Skeet Microsoft C# .NET 3 19th Aug 2003 04:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:55 AM.