Delete desktop icon with VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Desktop icon can be created with VBA. Does anyone have the VBA code for deleting a desktop icon?
 
if the icon is a shortcut... just delete the ".lnk" file from the current
user's desktop folder. (or from the "allusers" profile

if the icon is a classed item (like the outlook desktop item) you'll have
to manipulate the registry.

You'll have to be carefull though.. a lot of adminstrators will set
policies on desktop manipulation.


keepITcool

< email : keepitcool chello nl (with @ and .) >
< homepage: http://members.chello.nl/keepitcool >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top