D
dk
Any idea why the response time is slow when running
a system tray app when viewing the properties form?
There is one primary loop and a timer control which
executes every 3minutes. Is having the Primary loop the
problem?
tia,
dk
'Primary loop
Do While Me.mbRunning
With Me.tryIcon
If RTrim(strstatus$) = "" Then strstatus$
= "The first refresh interval is cycling, please stand by"
.Text = strstatus$
.ContextMenu = Me.mnuOptions
End With
Dim temppathstring As String = AppPath()
Dim tempconfigfile As New configfile
(temppathstring + "\triggerwatch.config")
System.Threading.Thread.Sleep
(tempconfigfile.GetAppSetting("spinratekey") * 100)
Application.DoEvents()
If tempconfigfile.GetAppSetting
("animateiconkey") = "true" Then
Me.AnimateIcon()
Else
Me.DoNotAnimateIcon()
End If
temppathstring = Nothing
tempconfigfile = Nothing
Loop
a system tray app when viewing the properties form?
There is one primary loop and a timer control which
executes every 3minutes. Is having the Primary loop the
problem?
tia,
dk
'Primary loop
Do While Me.mbRunning
With Me.tryIcon
If RTrim(strstatus$) = "" Then strstatus$
= "The first refresh interval is cycling, please stand by"
.Text = strstatus$
.ContextMenu = Me.mnuOptions
End With
Dim temppathstring As String = AppPath()
Dim tempconfigfile As New configfile
(temppathstring + "\triggerwatch.config")
System.Threading.Thread.Sleep
(tempconfigfile.GetAppSetting("spinratekey") * 100)
Application.DoEvents()
If tempconfigfile.GetAppSetting
("animateiconkey") = "true" Then
Me.AnimateIcon()
Else
Me.DoNotAnimateIcon()
End If
temppathstring = Nothing
tempconfigfile = Nothing
Loop