Hi all,

I am trying to refresh desktop from my vb.net application but it works
very slow and I even don't know if it works at all as desktop
refreshes automatically when I change file attributes in desktop
folder from my application.

I used

 Private Declare Function SHChangeNotify Lib "Shell32.dll" (ByVal
wEventID As  _
Int32, ByVal uFlags As Int32, ByVal dwItem1 As Int32, ByVal dwItem2 As
Int32) As  _
Int32

SHChangeNotify(&H8000000, &H0, 0, 0)

but it works with 1-3 seconds delay

I need exactly the same behavior when F5 is pressed on desktop -
desktop refreshes very fast.

Help, please!

Reply via email to