473,574 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

putting an Icon in "My Computer"

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
4 1651
> 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
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
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
There's an example of how to add an item to the shell
namespace in the Pywin32 demos:
\win32comext\sh ell\demos\serve rs\shell_view.p y

hth
Roger

"yaipa" <ya***@yahoo.co m> wrote in message news:11******** *************@z 14g2000cwz.goog legroups.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9393
by: Pavel | last post by:
Greetings to all - I'm having a problem processing xml with relative dtd URI specified using XSLT: <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE mydoc SYSTEM "my.dtd"> <mydoc> .... </mydoc>
0
2454
by: Grant_S | last post by:
I need to identify the path to a users "My Document" folder where the user has a roaming profile and their "My Documents" folder is mapped to a network share as the H drive (specifically H:\\ - where the "My Received Files" folder path then is H:\\My Refeceived Files. The double \\ is not an escape character as subfolders only have sinvle "\"...
6
13261
by: JuLiE Dxer | last post by:
Is there a way via C# to programmatically retrieve the full path name to folders like "My Documents" ?? I'm seeing examples with the use of Shell32 stuff I believe, SHGetSpecialFolderLocation and I have no knowledge nor experience using such stuff. I've seen some examples pertaining to these special folders but it's all Greek to me and...
1
1918
by: mnlarsen | last post by:
How do I set the default location to "My Computer" when using the GetOpenFileName call? I have tried the following but CSIDL_DRIVES doesn't appear to work. Any ideas? WCHAR szFile = _T("text.txt"); WCHAR szPath = _T(""); LPITEMIDLIST pidl; HRESULT hr = SHGetSpecialFolderLocation(NULL, CSIDL_DRIVES, &pidl);
8
4421
by: Just Me | last post by:
1)How can I find the folders like "My Recent Document", "Desktop", "My Pictures",... if I want to store a file there? 2) How can I find the icon for those files if I want to display it? Thanks in advance for any helpful suggestions
8
12189
by: Steve Marshall | last post by:
Hi All, Is it possible to set the InitialDirectory property of an OpenFileDialog so it will open at the "My Computer" level? I want it to open showing all the available drives. If so, what do I put in the property? I've tried the obvious - "My Computer", but of course that doesn't do it. Thanks
0
1332
by: Renster | last post by:
Folks, Im writing a class library which I need to access a connected device's (phone) memory via UNC or something alone those lines, but cant work out out to do it, eg "\\my computer\nokia n73\phone memory\folder \folder\file.fmt" Can anyone offer any pointers? Ive been trawling google groups, but just like U2, I still havent found.......
7
8512
by: tman69 | last post by:
I apologize in advance for the length of this posting and will attempt to simplify as much as possible. I have an automation application in MS Access which generates reports in Excel and emails them to appropriate distribution lists. The application's automation is basically a timer which checks the current system time and the next report...
0
7715
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7806
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8093
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6440
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectóplanning, coding, testing, and deploymentówithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3739
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3748
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.