Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: (SOLVED) Accidently Deleted Amiga Explorer Desktop Icon  (Read 818 times)

0 Members and 1 Guest are viewing this topic.

Offline Super TWiT

(SOLVED) Accidently Deleted Amiga Explorer Desktop Icon
« on: April 25, 2010, 02:50:28 PM »
I was creating a work account on my computer and removed all icons except the web browser. The only way to remove the amiga explorer icon was to uncheck a box in the prefrences that said "show desktop icon". I didn't realize that unchecking it on one account would disable it for the whole computer. My question is how do I get it back? I have been looking through the registry, application data, everything I can think of. Why would they let you disable it anyway?:angry:
« Last Edit: April 25, 2010, 05:24:10 PM by Super TWiT »
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Trev

Re: Accidently Deleted Amiga Explorer Desktop Icon
« Reply #1 on: April 25, 2010, 05:10:57 PM »
Quote from: Super TWiT;555318
I was creating a work account on my computer and removed all icons except the web browser. The only way to remove the amiga explorer icon was to uncheck a box in the prefrences that said "show desktop icon". I didn't realize that unchecking it on one account would disable it for the whole computer. My question is how do I get it back? I have been looking through the registry, application data, everything I can think of. Why would they let you disable it anyway?:angry:


Shell extension folders have names like Foo.{guid}, where {guid} is the GUID of the COM component representing the extension. Explorer hides the {guid} portion of the name when displaying the folder. You can create such a folder anywhere on a file system that supports long filenames.

I'm not at in front of my main system right now, but I'll look up the 32-bit and 64-bit (if they're different) GUIDs later today. You could send a short support request to Cloanto or check their site for an easy solution. Personally, I'd like to be able to hide the annoying connection warnings that pop up when my Amiga is turned off.

Trev
 

Offline Super TWiT

Re: Accidently Deleted Amiga Explorer Desktop Icon
« Reply #2 on: April 25, 2010, 05:23:50 PM »
I reinstalled it, and the icon was still gone, but it had an option to run amiga explorer at the end of the install, so I ran it and found the options menu to re enable it. What a pain!
Once there was a man and a boy in the woods.
 
Boy: I\'m scared...
 
Man: Hah! What have you got to be afraid of? I\'m the one that\'s going to be coming back alone!
 

Offline Trev

Re: Accidently Deleted Amiga Explorer Desktop Icon
« Reply #3 on: April 25, 2010, 07:55:30 PM »
Yes, and leave it to time to rob me of knowledge. I haven't written in a shell extension in around 10 years, and I'd forgotten that the desktop doubles as both a directory and a shell  folder.

The class ID for Amiga Explorer is {1E0F3F10-3036-11D1-A4CF-00A0C94203AE}, and it's hook into the desktop namespace is triggered by the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}.

When you tell Amiga Explorer to hide the desktop icon, it sets the following values, and then informs the shell its settings have changed:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu]
"{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}"=dword:00000001

(EDIT: I don't know why the forum is adding spaces to the key names. At least, that's what it's doing in Chrome.)

When you tell Amiga Explorer to show the desktop icon, it sets the values to 0, and then informs the shell its settings have changed.

Even when hidden on the desktop, however, Amiga Explorer is always visible in a tree view of the desktop in Explorer.

With the class ID in hand, you can also create Amiga Explorer folders wherever you want using either the folder name "trick," e.g. Foo.{1E0F3F10-3036-11D1-A4CF-00A0C94203AE}, which isn't as pretty under Windows 7 as used to be in earlier versions of Windows, or a Desktop.ini file:

[.ShellClassInfo]
CLSID={1E0F3F10-3036-11D1-A4CF-00A0C94203AE}

The parent directory, which you can call anything you want, and the child Dekstop.ini should have the system attribute set.

Trev