0

So i have this app that i wrote to get the permissions on a directory and it works fine for small directories. however when i use it on a huge server it freezes when it compiles the file. i know the program is running but windows gets pissy because it doesnt communicate with the system or something
does anyone know good tips to avoid this?

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by nschessnerd
0

Hi, Are you using any loop? Then use DoEvents inside the loop. If you call DoEvents in your code, your application can handle the other events.

Ex

For ............
     DoEvents
     ................
Next
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.