how to refresh desktop items in c#

  • Thread starter Thread starter Tee
  • Start date Start date
T

Tee

Hi,

How do i refresh windows destop in c#? currently with my c# app, it deletes
an existing desktop icon and recreates a new one base on the new
informations the user provided. All seems to work except the deleted icon
just sitting there and disappeared as soon as i pressed F5 (or refresh).

Is there any code in c# that allow me to programically refresh the windows
desktop?


Many thanks in advance.
 
Is there any code in c# that allow me to programically refresh the windows
desktop?

Check out the IActiveDesktop COM interface and its ApplyChanges
method.


Mattias
 
Back
Top