hello
I have this code in my MainForm:
CheckForIllegalCrossThreadCalls = False
Dim CountTrafficThread As New Threading.Timer(New Threading.TimerCallback( AddressOf CountTraffic), Nothing, 0, 500)
it works good but, when I call a dialog box from this form, the timer is stopped and counter can not count. If i use a Timer Object from toolbox it work good even after calling
dialog box.
please help me.
thank you
CheckForIllegalCrossThreadCalls = False
Don't use that - ever. It's a leftover that honestly should be removed.
Are you sure you need a Threading timer rather than a standard timer?
"A problem well stated is a problem half solved.” - Charles F. Kettering