Monday, April 28, 2014

Filestream.Write or Save() shows waitcursor frequently

I posted this in another thread as well - basically a file.save operation shows a waitcursor briefly before going back to default. Like a filestream.write(memorystream) to a certain location in the desktop. Me and another senior moderator in another website tried to put the image copied onto another thread, tried Backgroundworker thread to run aysnc etc - it didnt work. The waitcursor appears briefly for every file save op - I see it its bcos its a system-wide I\O op, but I certainly don't want the user to keep seeing waitcursor often - like flickering.


The senior mod told me he wrote a similar code and didnt see any waitcursor in his syetm even briefly. Mine is a win 7, with a 1 GB Ram and 1.7 Ghz - am thinking its down to OS\hardware as there is no other way in code to solve it. Any thoughts or valuable inputs is greatly appreciate.


PS: This is for a legit software and the files are saved locally and not transmitted through intranet\internet.


No comments:

Post a Comment