How to refresh my desktop window with VBA programming/ MS Access 2

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

Guest

I have created a shortcut + Icon which should appear on the desktop window.
The shortcut creation works fine, but I don't know how to refresh the
desktop window at the same time programmly.

Can anybody give an input?
Friedi
 
The shortcuts should appear without doing anything special. Try another user
or another machine.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have created a shortcut + Icon which should appear on the desktop window.
| The shortcut creation works fine, but I don't know how to refresh the
| desktop window at the same time programmly.
|
| Can anybody give an input?
| Friedi
 
Dear Dave,
The problem is not that the Icon does not appear. It shows up nicely.
But, the icon that was created needs to replace another one in the desktop.
(because of the different languages in Europe the name of the Shortcut might
be different or the user might prefer to work in English rather than in
French).
It is exactly the old one that remains in the desktop and requires a refresh.
The VBA procedure Friedi wrote for the creation of the shortcut needs to be
followed by another procedure, the refresh of the desktop. It is that last
procedure we do not know how to do from VBA in MS Access.
Thanks for yur help.
Roger
 
OK, I'm confused. It's the same answer. The shortcuts (when deleted) should
disappear without doing anything special. I do this all the time. from
within Access. I fire a VBScript that uses the CreateShortcut method to
manipulate shortcuts in %ALLUSERSPROFILE%\Desktop

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Dear Dave,
| The problem is not that the Icon does not appear. It shows up nicely.
| But, the icon that was created needs to replace another one in the
desktop.
| (because of the different languages in Europe the name of the Shortcut
might
| be different or the user might prefer to work in English rather than in
| French).
| It is exactly the old one that remains in the desktop and requires a
refresh.
| The VBA procedure Friedi wrote for the creation of the shortcut needs to
be
| followed by another procedure, the refresh of the desktop. It is that last
| procedure we do not know how to do from VBA in MS Access.
| Thanks for yur help.
| Roger
 
Patrick,

Well, it needs to be refreshed as it doesn't work as you say - anyway,
thanks for your reply
 
What exactly doesn't work? What happens if you logon as a new user? (create
a new account in 'User Accounts'). What happens if you try another machine.
Your post is nothing less than confusing. The issue, as I describe my take
on it, is not normal. The bottom line is if it doesn't work (as you say)
then the user profile or your installation may be corrupt or your methods
are incorrect.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|
| Dave,
|
| Well, it needs to be refreshed as it doesn't work as you say - anyway,
| thanks for your reply
| --
| Friedi
 
David,
I am sorry that I am not clear, but FlemishRoger already explained the
situation previously:
We are under MSAccess 2002/2003 deleting a shortcut (for a "Central Menu" in
Engl) and making a new shortcut (for a "Zentrales Fenster" in German). We
have the problem with having the desktop refreshed just like it does it
automatically when manually deleting something on the desktop.
In our situation,the desktop does not refresh; the new icon is placed after
the already deleted icon (in the files), not on the same place. Therefore our
question is: how to programmly (with VBA or Scripting procedure) to refresh
the Desktop Window.
 
This shouldn't normally happen. Sounds like your operating system is damaged
in some manner. To refresh you'll likely need to kill the shell
"explorer.exe" and restart it.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| David,
| I am sorry that I am not clear, but FlemishRoger already explained the
| situation previously:
| We are under MSAccess 2002/2003 deleting a shortcut (for a "Central Menu"
in
| Engl) and making a new shortcut (for a "Zentrales Fenster" in German). We
| have the problem with having the desktop refreshed just like it does it
| automatically when manually deleting something on the desktop.
| In our situation,the desktop does not refresh; the new icon is placed
after
| the already deleted icon (in the files), not on the same place. Therefore
our
| question is: how to programmly (with VBA or Scripting procedure) to
refresh
| the Desktop Window.
| --
| Friedi
 
Back
Top