By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,191 Members | 2,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,191 IT Pros & Developers. It's quick & easy.

putting an Icon in "My Computer"

P: n/a
All,

I've been asked by my boss to put an Icon in WinXP's "My Computer" for
a utility we use around the shop. My tool of choice is of course
Python and therefore what I am using to attempt my given task. I have
no trouble putting Icons in the WinXP Toolbar using Python, but have
totally failed to get an Icon to appear in My Computer. Any Idea on
why and maybe how to get around this using Python?

Thanks,

Alan

Nov 4 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
> I've been asked by my boss to put an Icon in WinXP's "My Computer" for
a utility we use around the shop. My tool of choice is of course
Python and therefore what I am using to attempt my given task. I have
no trouble putting Icons in the WinXP Toolbar using Python, but have
totally failed to get an Icon to appear in My Computer. Any Idea on
why and maybe how to get around this using Python?


I'm pretty sure the My Computer menu is limited to devices and special
Windows folders like My Documents, etc. I've never seen a program add
an icon there, and I don't think its allowed through the API.

Nov 4 '05 #2

P: n/a
yaipa wrote:
I've been asked by my boss to put an Icon in WinXP's "My Computer" for
a utility we use around the shop. My tool of choice is of course
Python and therefore what I am using to attempt my given task. I have
no trouble putting Icons in the WinXP Toolbar using Python, but have
totally failed to get an Icon to appear in My Computer. Any Idea on
why and maybe how to get around this using Python?


How would you do this if you were not using Python?

(Hint, if the answer is "I have no idea", then it's usually an
indication that this is not a Python issue, and that you should be
seeking your answer in a Windows-specific forum, or maybe in the
documentation on Microsoft's web site. Then, once you know what API or
registry settings are required to set this up, you can generally map
that easily to the pywin32 stuff or maybe ctypes using Python.)

(Of course, you might also luck out, as people often do, since there are
real Windows expert types hanging out here and they might help you out
anyway.)

-Peter
Nov 4 '05 #3

P: n/a
yaipa wrote:
All,

I've been asked by my boss to put an Icon in WinXP's "My Computer" for
a utility we use around the shop. My tool of choice is of course
Python and therefore what I am using to attempt my given task. I have
no trouble putting Icons in the WinXP Toolbar using Python, but have
totally failed to get an Icon to appear in My Computer. Any Idea on
why and maybe how to get around this using Python?


This is not an easy task.
Here is a good starting point:

http://msdn.microsoft.com/library/de.../namespace.asp

The python could not be a good choice in this case.

Regards
Kurganme [ http://kurganme.blogspot.com ]
Nov 4 '05 #4

P: n/a
There's an example of how to add an item to the shell
namespace in the Pywin32 demos:
\win32comext\shell\demos\servers\shell_view.py

hth
Roger

"yaipa" <ya***@yahoo.com> wrote in message news:11*********************@z14g2000cwz.googlegro ups.com...
All,

I've been asked by my boss to put an Icon in WinXP's "My Computer" for
a utility we use around the shop. My tool of choice is of course
Python and therefore what I am using to attempt my given task. I have
no trouble putting Icons in the WinXP Toolbar using Python, but have
totally failed to get an Icon to appear in My Computer. Any Idea on
why and maybe how to get around this using Python?

Thanks,

Alan


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 5 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.