|
-
January 5th, 2000, 03:52 PM
#1
How to protect the desktop icons from being deleted???
Hi, guys,
How can I detect by a program that a user is trying to delete an icon on the desktop, and forbid him doing so by giving him a warning,
and resuming the tesktop to the original.
Any answers would be appraciated!
-
January 9th, 2000, 01:58 PM
#2
Re: How to protect the desktop icons from being deleted???
I think the icons you are concerned about are the result of shortcuts being in the windows\desktop directory (a little more complicated if you have multiple profiles on the computer). If the shortcut files have the read-only bit set, that might accomplish what you are trying to do. I'd just do it from dos with ATTRIB or CHMOD
Dave Straayer
Varatouch, Inc.
-
January 9th, 2000, 02:43 PM
#3
Re: How to protect the desktop icons from being deleted???
But changing the attribute of a file does not protect it from being deleted. The system amy prompt you a messagebox and you may still delete it.
Can you suggest me better methods?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|