﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Wait Window</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 17 Sep 2026 09:48:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12789.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I sorted out the problem using BackGroundWorker component that is avaliable from .NET. I tried to use ThreadManager, but somehow I couldn't simulate the same way like BackgroundWoker component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;It seems we need a separate thread. We cannot display WaitWindow on the same thread. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;Thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Raja:)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;</description><pubDate>Mon, 19 Nov 2007 12:43:51 GMT</pubDate><dc:creator>Alagarsamy Rajamannar</dc:creator></item><item><title>Wait Window</title><link>http://forum.strataframe.net/FindPost2409.aspx</link><description>Trying to get the SF wait window control to behave like my old friend THE wait &amp;#119;indow.&lt;br&gt;
&lt;br&gt;
I looked thruough all the overloads and dont see the ability to pause.&lt;br&gt;
&lt;br&gt;
I am looping through a few dozen files and want to put in enough of a pause so that each wait window displays the filename is briefly visible. Right now it processes so fast all I see is the last one.&lt;br&gt;
&lt;br&gt;
My code:&lt;br&gt;
&lt;br&gt;
While en.MoveNext&lt;br&gt;
     information = My.Computer.FileSystem.GetFileInfo(CStr(en.Current))&lt;br&gt;
     Me.WaitWindow1.ShowWaitWindow("", information.FullName, MicroFour.StrataFrame.Messaging.MessagingCardinalPosition.NorthEast)&lt;br&gt;
     'Me.WaitWindow1.HideWaitWindow()&lt;br&gt;
     filecount += 1&lt;br&gt;
End While</description><pubDate>Mon, 19 Nov 2007 12:43:51 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12774.aspx</link><description>[quote]Having said that , Does WaitWindow behave differently when you work in a MDI window?[/quote]&lt;/P&gt;&lt;P&gt;No.&amp;nbsp; The wait window will behave the same in this environment as it does on any other form.&amp;nbsp; When you say that you are not able to show the Wait Window, are you receiving an exception?&amp;nbsp; Try placing a button on a form and calling the ShowWaitWindow to see if it appears.&amp;nbsp; If you are calling the WaitWindow on a separate thread then you will need to either invoke it on the main thread or ensure that it is called within the same thread in which you are working.&amp;nbsp; That would be the only thing I could think of that would cause it not to show.&lt;/P&gt;&lt;P&gt;[codesnippet]MyWait&amp;#119;indow.ShowWaitWindow("Title Text","Body Text",MicroFour.StrataFrame.Messaging.MessagingCardinalPosition.NorthEast)[/codesnippet]</description><pubDate>Mon, 19 Nov 2007 10:02:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12744.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am also doing the same and also tried the example from the help. I am not able to Show the Wait &amp;#119;indow. &lt;/P&gt;&lt;P&gt;&amp;nbsp;Having said that , Does WaitWindow behave differently when you work in a MDI window?&lt;/P&gt;&lt;P&gt;That is the only difference from what I am doing.&lt;/P&gt;&lt;P&gt;Indira</description><pubDate>Sat, 17 Nov 2007 21:22:25 GMT</pubDate><dc:creator>Alagarsamy Rajamannar</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12581.aspx</link><description>Excellent... let me know one way or another.&amp;nbsp; Thanks.</description><pubDate>Thu, 08 Nov 2007 14:27:54 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12577.aspx</link><description>Yeah, they are ThreadAbortExceptions. I'll give the latest release a try and see if it clears up.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Thu, 08 Nov 2007 14:25:40 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12574.aspx</link><description>Are the problems you're having unexpected ThreadAbortExceptions?&amp;nbsp; Likely thrown within the WndProc for WM_PAINT messages?&amp;nbsp; If so, we've made changes to fix that very issue.&amp;nbsp; You should be able to go to the posted updates forum from the board home and find the latest version that will fix that very issue.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Now, if that's not your issue, you might need to expound upon what it is.&amp;nbsp; At the moment, there's no way to prevent the wait window from using the fade effect... it always fades in/out. :ermm:</description><pubDate>Thu, 08 Nov 2007 14:16:13 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost12564.aspx</link><description>I'm trying to troubleshoot some problems we are having with Threads on forms that employ the wait&amp;#119;indow.&amp;nbsp; How might I go about turning off the fade in/out effect.&lt;/P&gt;&lt;P&gt;I couldn't find any property about it, or do I need to override one of the methods ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Thu, 08 Nov 2007 10:56:54 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost4769.aspx</link><description>Most likely, the problem is coming from the way that the wait window is being shown... all showing and unshowing of the WaitWindow must be done on the main thread of the application (the UI thread) through synchronization to avoid cross-thread exceptions.&amp;nbsp; By default, the WaitWindow fades in rather than just poping in, so, if you're doing all of your work on the main thread rather than a side thread, the main thread does not have time to process the fading in/out of the WaitWindow.&amp;nbsp; So, you might try to set the WaitWindow to show immediately, rather than fade in/out, or start up a background thread that shows the wait window, processes the information and then hides the wait window, allowing the main thread time to hide and show the wait &amp;#119;indow.&lt;/P&gt;&lt;P&gt;Hope that helps...</description><pubDate>Mon, 27 Nov 2006 08:32:07 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost4763.aspx</link><description>Hello Keith,&lt;br&gt;
&lt;br&gt;
[quote][b]Keith Chisarik (11/26/2006)[/b][hr]Thanks Ralph, I had given up on Wait Window.... Ill give this a shot. Though I do need it to work with a sleep() of less than 5000 &lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
sorry, maybe I expressed something wrong: I meant _not_ that it is working with a sleep(5000). But one can see that the waitWindow will arise  5 seconds after that sleep, as long as the 'HideWaitWindow()' is commented out or deleted, excluded from executing.&lt;br&gt;
&lt;br&gt;
If a HideWaitWindow() is executed, the waitWindow will never be shown.&lt;br&gt;
&lt;br&gt;
Seems like the sleep(...) will let sleeping the system, preventing the waitWindow from becoming visible, and the HideWaitWindow()-command will hide a waitWindow never seen...&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
&lt;br&gt;
best regards, Ralph&lt;br&gt;</description><pubDate>Mon, 27 Nov 2006 05:09:52 GMT</pubDate><dc:creator>Ralph</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost4762.aspx</link><description>Thanks Ralph, I had given up on Wait Window.... Ill give this a shot. Though I do need it to work with a sleep() of less than 5000 &lt;br&gt;
&lt;br&gt;
:)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description><pubDate>Sun, 26 Nov 2006 16:10:43 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost4761.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
found something out about it:&lt;br&gt;
&lt;br&gt;
--------------------&lt;br&gt;
       private void button2_Click(object sender, EventArgs e)&lt;br&gt;
        {&lt;br&gt;
            //-- Show the wait window&lt;br&gt;
            this.waitWindow1.ShowWaitWindow("TITLE!", "MESSAGE!", MicroFour.StrataFrame.Messaging.MessagingCardinalPosition.Center);&lt;br&gt;
            //-- Pause the thread&lt;br&gt;
            System.Threading.Thread.Sleep(500);&lt;br&gt;
            //-- Hide the wait window&lt;br&gt;
            this.waitWindow1.HideWaitWindow();&lt;br&gt;
        }&lt;br&gt;
-------------------&lt;br&gt;
&lt;br&gt;
sleep(500) will let sleeping the system 500ms and seems to keep the wait window from showing. After that the HideWaitWindow() takes place immediately, so the waitWindow is never shown.&lt;br&gt;
&lt;br&gt;
Comment out the HideWaitWindow and try it with Sleep(5000).&lt;br&gt;
&lt;br&gt;
Bug or feature? ;-)&lt;br&gt;
&lt;br&gt;
As a workaround one can use something from the infoBox class, which will work as expected.&lt;br&gt;
&lt;br&gt;
Friendly greetings,&lt;br&gt;
&lt;br&gt;
Ralph</description><pubDate>Sun, 26 Nov 2006 08:10:49 GMT</pubDate><dc:creator>Ralph</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2454.aspx</link><description>[quote][b]Ben Chase (08/24/2006)[/b][hr]yeah, that's what I did as well... that's strange. If you take out everything except&lt;BR&gt;&lt;BR&gt;Me.WaitWindow1.ShowWaitWindow("hi")&lt;BR&gt;&lt;BR&gt;Does it display when you click the button?[/quote] &lt;BR&gt;&lt;BR&gt;yes sir it does........</description><pubDate>Thu, 24 Aug 2006 14:28:23 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2453.aspx</link><description>If I try and put a WaitWindow with a pause in any looping structure other than a very simple one I get the error below, just a WaitWindow alone causes no error, but does not display until the end one:&lt;br&gt;
&lt;br&gt;
As in doing a read thru an XmlTextReader or looping thru a datatable ....&lt;br&gt;
&lt;br&gt;
************** Exception Text **************&lt;br&gt;
System.Threading.ThreadAbortException: Thread was being aborted.&lt;br&gt;
   at System.Windows.Forms.NativeWindow.DefWndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.DefWndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
************** Loaded Assemblies **************&lt;br&gt;
mscorlib&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
Microsoft.VisualStudio.HostingProcess.Utilities&lt;br&gt;
    Assembly Version: 8.0.0.0&lt;br&gt;
    Win32 Version: 8.0.50727.42&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Windows.Forms&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Drawing&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
Microsoft.VisualStudio.HostingProcess.Utilities.Sync&lt;br&gt;
    Assembly Version: 8.0.0.0&lt;br&gt;
    Win32 Version: 8.0.50727.42&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities.Sync/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
vshost&lt;br&gt;
    Assembly Version: 8.0.0.0&lt;br&gt;
    Win32 Version: 8.0.50727.42&lt;br&gt;
    CodeBase: file:///V:/2005%20Projects/lightaction/lascan/bin/Release/lascan.vshost.exe&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame Base&lt;br&gt;
    Assembly Version: 1.4.0.0&lt;br&gt;
    Win32 Version: 1.4.0.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20Base/1.4.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20Base.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame Business&lt;br&gt;
    Assembly Version: 1.4.0.0&lt;br&gt;
    Win32 Version: 1.4.0.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20Business/1.4.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20Business.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame DBEngine&lt;br&gt;
    Assembly Version: 1.4.0.0&lt;br&gt;
    Win32 Version: 1.4.0.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20DBEngine/1.4.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20DBEngine.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
MicroFour StrataFrame UI&lt;br&gt;
    Assembly Version: 1.4.0.0&lt;br&gt;
    Win32 Version: 1.4.0.0&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MicroFour%20StrataFrame%20UI/1.4.0.0__99fe9917f71608a7/MicroFour%20StrataFrame%20UI.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Data&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Deployment&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Xml&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
Microsoft.VisualBasic&lt;br&gt;
    Assembly Version: 8.0.0.0&lt;br&gt;
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
lascan&lt;br&gt;
    Assembly Version: 1.0.0.0&lt;br&gt;
    Win32 Version: 1.0.0.0&lt;br&gt;
    CodeBase: file:///V:/2005%20Projects/lightaction/lascan/bin/Release/lascan.EXE&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Web&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
lascan_BO_lib&lt;br&gt;
    Assembly Version: 1.0.0.0&lt;br&gt;
    Win32 Version: 1.0.0.0&lt;br&gt;
    CodeBase: file:///V:/2005%20Projects/lightaction/lascan/bin/Release/lascan_BO_lib.DLL&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Configuration&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.Transactions&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
System.EnterpriseServices&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
Accessibility&lt;br&gt;
    Assembly Version: 2.0.0.0&lt;br&gt;
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)&lt;br&gt;
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll&lt;br&gt;
----------------------------------------&lt;br&gt;
&lt;br&gt;
************** JIT Debugging **************&lt;br&gt;
To enable just-in-time (JIT) debugging, the .config file for this&lt;br&gt;
application or computer (machine.config) must have the&lt;br&gt;
jitDebugging value set in the system.windows.forms section.&lt;br&gt;
The application must also be compiled with debugging&lt;br&gt;
enabled.&lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
&lt;configuration&gt;&lt;br&gt;
    &lt;system.windows.forms jitDebugging="true" /&gt;&lt;br&gt;
&lt;/configuration&gt;&lt;br&gt;
&lt;br&gt;
When JIT debugging is enabled, any unhandled exception&lt;br&gt;
will be sent to the JIT debugger registered on the computer&lt;br&gt;
rather than be handled by this dialog box.&lt;br&gt;</description><pubDate>Thu, 24 Aug 2006 14:26:47 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2452.aspx</link><description>I created a quick test and it seemed to work fine for me.&amp;nbsp; I attached the sample project I created.</description><pubDate>Thu, 24 Aug 2006 14:21:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2451.aspx</link><description>yeah, that's what I did as well... that's strange.&amp;nbsp; If you take out everything except&lt;/P&gt;&lt;P&gt;Me.WaitWindow1.ShowWaitWindow("hi")&lt;/P&gt;&lt;P&gt;Does it display when you click the button?</description><pubDate>Thu, 24 Aug 2006 14:21:42 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2450.aspx</link><description>I just put your code in a button click event, the simplest implementation I could think of just to get it working.</description><pubDate>Thu, 24 Aug 2006 14:20:29 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2448.aspx</link><description>Hrm, it worked for me... when are you showing that wait window? in the Load of a form?&amp;nbsp;or after the form is already up?</description><pubDate>Thu, 24 Aug 2006 14:17:54 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2446.aspx</link><description>That does nothing as well for me Ben :(</description><pubDate>Thu, 24 Aug 2006 14:11:42 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2443.aspx</link><description>Try this:&lt;/P&gt;&lt;P&gt;Me.WaitWindow1.ShowWaitWindow("hi")&lt;/P&gt;&lt;P&gt;System.Threading.Thread.Sleep(5000)&lt;BR&gt;&lt;BR&gt;For x As Integer&amp;nbsp;= 1 To 5&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.WaitWindow1.Message = x.ToString&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Threading.Thread.Sleep(1000)&lt;BR&gt;Next &lt;/P&gt;&lt;P&gt;Me.WaitWindow1.HideWaitWindow()</description><pubDate>Thu, 24 Aug 2006 14:06:54 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2437.aspx</link><description>Please tell me why the below code will not work. I think it should display a wait window that says "hi" for 5 seconds, then count from 1 to 5. It does neither. Please help.&lt;br&gt;
&lt;br&gt;
        Me.WaitWindow1.Message = "hi"&lt;br&gt;
        Me.WaitWindow1.ShowWaitWindow()&lt;br&gt;
&lt;br&gt;
        System.Threading.Thread.Sleep(5000)&lt;br&gt;
&lt;br&gt;
        Dim x As Integer&lt;br&gt;
        For x = 1 To 5&lt;br&gt;
            Me.WaitWindow1.Message = x.ToString&lt;br&gt;
            Me.WaitWindow1.ShowWaitWindow()&lt;br&gt;
            System.Threading.Thread.Sleep(1000)&lt;br&gt;
            'Me.WaitWindow1.HideWaitWindow() (optional)&lt;br&gt;
        Next</description><pubDate>Thu, 24 Aug 2006 13:32:00 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2419.aspx</link><description>Yes I knew it was bad but I only did it once *cough*&lt;br&gt;
&lt;br&gt;
Now I am throughly frustrated and am going home :ermm:&lt;br&gt;
&lt;br&gt;
I added the thread.sleep(1000) line and yes, it pauses the thread (I had tried this before I asked BTW), but it doesnt refresh my wait window values. I tried it with just a label on the form. When I step through it I see the value change, but the screen never refreshes till the end of the loop.&lt;br&gt;
&lt;br&gt;
I'll come at it and the XML import tomorrow with a fresh outlook.&lt;br&gt;
&lt;br&gt;
Thanks for the help guys.</description><pubDate>Wed, 23 Aug 2006 15:47:58 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2416.aspx</link><description>FYI, creating loops as you mentioned can be very costly on the system resources and does not truly pause the application.</description><pubDate>Wed, 23 Aug 2006 15:27:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2413.aspx</link><description>Unlike FoxPro, the Wait Windows does not share the same thread as the UI...which is a very good thing.&amp;nbsp; To add your own pause, just pause the current thread.&lt;/P&gt;&lt;P&gt;System.Threading.Thread.Sleep(1000)&lt;/P&gt;&lt;P&gt;The Wait Window is not an exact feature by feature replica otherwise it wouldn't work when you really need it to :)&amp;nbsp; One major downside of the FoxPro Wait Window was the way it actually waited in certain scenarios.&amp;nbsp; Also, when the UI was taxed, it would not refresh properly.&amp;nbsp; That is why the SF Wait Window is actually on a separate thread than the thread you are working on.</description><pubDate>Wed, 23 Aug 2006 15:16:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Wait Window</title><link>http://forum.strataframe.net/FindPost2411.aspx</link><description>Ill follow up with how do you pause in .NET period?&lt;br&gt;
&lt;br&gt;
I have looked before, found not much I liked and created an empty loop from 1 to x :blush:</description><pubDate>Wed, 23 Aug 2006 14:32:33 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item></channel></rss>