On 01/05/2012 12:53, Charlotte E. wrote:
> Sorry, but, no - this gives excately the name I didn't want!
>
> I want the function to return the value 'Computer' on my computer - on
> most other systems it should return 'My computer'.
>
> I want the description under the icon, when you place the 'My computer'
> icon on the desktop.
Const MY_COMPUTER = &H11&
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_COMPUTER)
Set objFolderItem = objFolder.Self
msgbox objFolderItem.Name
--
Adrian C
|