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.Threadin g.Thread.Sleep
(tempconfigfile .GetAppSetting( "spinrateke y") * 100)
Application.DoE vents()
If tempconfigfile. GetAppSetting
("animateiconke y") = "true" Then
Me.AnimateIcon( )
Else
Me.DoNotAnimate Icon()
End If
temppathstring = Nothing
tempconfigfile = Nothing
Loop