quote:
Originally posted by segosa
Not trying to catch you out or anything CookieRevised, but you said using the 'End' statement which ends your application can cause memory leaks. I thought memory leaks are things which occurr only while your program is running?
Indeed, but in some cases VB doesn't clean up everything correctly when you force quit the app, usually it results in a crash though.
quote:
Originally posted by DragonX
quote:
Originally posted by CookieRevised
Golden rule: avoid DoEvents
Do u mean like
code:
Do
i += 1
Loop While (i < 10)
No, DoEvents is a special function/stamement in VB to prospone the execution and to let other processes in the same thread perform its events. Again this is VB, dunno if this also exists in VB.NET, but I do think so (maybe under a different name though)...