Associate Icon with Switchboard

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

Guest

I've created an Access 2000 database and I have created an Icon which I would
like to use to open the Swtchboard for the database, but I can't figure out
how to associate the switchborad with the Icon. I know I can just drag and
drop the switchboard onto the desktop and use the generic icon to open to the
switchboard, but I would prefer to use the Icon I created. Can anyone shed
some light on this for me. We are using Windows XP. Thanks
 
After you create a shortcut by dragging the switchboard onto the
desktop, right-click on it and select Properties. On the Shortcut tab of
the properties dialog there's normally a Change Icon button.
 
Hi John,
the properties dialog there's normally a Change Icon button.<<

Unfortunately there is no "Shortcuts tab" on the switchboard's icon on the
desktop, and therefore no "Change Icon" button. Any other thoughts?

Thanks!
 
Hi Gary,

I think this means that a "Microsoft Access Form shortcut" isn't a
standard shortcut. I've just created one and tried to manipulate it in
the usual way

Dim oShell As WshShell
Dim oShortcut As WshShortcut

Set oShell = New WshShell
Set oShortcut = oShell.CreateShortcut("C:\Temp\XXX.MAF")

With oShortcut
.IconLocation = "notepad.exe, 0"
End With

Set oShortcut = Nothing
Set oShell = Nothing

but CreateShortcut() fails.

So I guess the best thing to do is to create a macro in the database to
opens the form, and then create a standard shortcut that uses the /x
commmand line switch to launch database and execute the macro.
 
John,

Wow, I had no idea it would be this complicated. I guess I'll just live
with the generic icons. The only reason I wanted it was to make it easier
for the user to differentiate between the 3 differnt databases they use.
Thanks
 
John,

Wow, I had no idea it would be this complicated.

Me neither. I have no idea why the "Microsoft Access Form Shortcut"
shouldn't allow custom icons like ordinary shortcuts.
 
Back
Top