Deleting a shortcut with vba

D

Doug Sanders

Here's what I've done (with help from this newsgroup)

When Access database is opened, shortcuts to Active and Completed folders
are put on the user's desktop. This works great.

Now, I've been trying this last puzzle piece for days.

I need to delete those same shortcuts from a user's desktop when Access is
closed.

Any help would be appreciated!

Doug Sanders
 
V

Van T. Dinh

Shortcut files are simply files with DOS extension "lnk".

Simply use the Kill Method to delete the "lnk" files.
 
Top