Hello,
I have a problem for creating in VB.NET or VC#.NET waiting dialog window, the problem is that not well working in retail version then I compiled all project and using waiting window, ho know how to solve this problem?
I using more data and created simple waiting window in .NET for waiting until process terminated automaticly, but automaticly for me not well working, If I create a simple class and it created in begin of function it automaticly destroing only in Debug version.
I using in VB.NET this:
Friend Class clsWait
#Region " Waiting... "
Private fWait As frmWait ' Is Waiting Form
Public Sub New()
fWait = New frmWait
fWait.Show()
Application.DoEvents() ' DoEvents
End Sub
Public Sub Unload()
Finalize()
End Sub
Protected Overrides Sub Finalize()
fWait.Hide()
MyBase.Finalize()
End Sub
#End Region
End Class
In functions or procedures using only beggining of it:
Dim cWait As New clsWait ' Automaticly Finalize it if exit from
' function or procedure, only work in Debug mode?
...<code>...
P.S. Sorry for my English
I have a problem for creating in VB.NET or VC#.NET waiting dialog window, the problem is that not well working in retail version then I compiled all project and using waiting window, ho know how to solve this problem?
I using more data and created simple waiting window in .NET for waiting until process terminated automaticly, but automaticly for me not well working, If I create a simple class and it created in begin of function it automaticly destroing only in Debug version.
I using in VB.NET this:
Friend Class clsWait
#Region " Waiting... "
Private fWait As frmWait ' Is Waiting Form
Public Sub New()
fWait = New frmWait
fWait.Show()
Application.DoEvents() ' DoEvents
End Sub
Public Sub Unload()
Finalize()
End Sub
Protected Overrides Sub Finalize()
fWait.Hide()
MyBase.Finalize()
End Sub
#End Region
End Class
In functions or procedures using only beggining of it:
Dim cWait As New clsWait ' Automaticly Finalize it if exit from
' function or procedure, only work in Debug mode?
...<code>...
P.S. Sorry for my English