473,387 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Explorer Shell extension

AGP
I have been looking far and wide for an easy to implement shell extension.
My needs are basic...for two file extensions .YYY and .ZZZ I would like the
context menu in explorer to simply show my app icon and "Open with
MyCooolApp". Are there any recommendations for a shell extension code base?
I am trying to look for one that is easily changed and compiled and will run
as a unique extension to my app.

Rgds
AGP
Jul 6 '08 #1
5 2871
AGP wrote:
I have been looking far and wide for an easy to implement shell
extension. My needs are basic...for two file extensions .YYY and .ZZZ
I would like the context menu in explorer to simply show my app icon
and "Open with MyCooolApp". Are there any recommendations for a shell
extension code base? I am trying to look for one that is easily
changed and compiled and will run as a unique extension to my app.
I would start here:

RegSetValueEx: Create a Registered File Association
http://vbnet.mvps.org/code/reg/association.htm
Jul 6 '08 #2
AGP

"Steve Gerrard" <my********@comcast.netwrote in message
news:Pd******************************@comcast.com. ..
AGP wrote:
>I have been looking far and wide for an easy to implement shell
extension. My needs are basic...for two file extensions .YYY and .ZZZ
I would like the context menu in explorer to simply show my app icon
and "Open with MyCooolApp". Are there any recommendations for a shell
extension code base? I am trying to look for one that is easily
changed and compiled and will run as a unique extension to my app.

I would start here:

RegSetValueEx: Create a Registered File Association
http://vbnet.mvps.org/code/reg/association.htm

thanks for the link but I think you may have misunderstood me. I know how to
associate a file extension with my
app. that is fairly starightforward. instead my challenge here is to
implement a shell extension with a context menu
that one shows the application icon and two will execute my app when
selected. to see what i mean just clikc here
http://www.burgaud.com/scite-context-menu/
The icon shows in the context menu and that is only done through a custom
DLL.

AGP
Jul 7 '08 #3
AGP wrote:
>
thanks for the link but I think you may have misunderstood me. I know
how to associate a file extension with my
app. that is fairly starightforward. instead my challenge here is to
implement a shell extension with a context menu
that one shows the application icon and two will execute my app when
selected. to see what i mean just clikc here
http://www.burgaud.com/scite-context-menu/
The icon shows in the context menu and that is only done through a
custom DLL.
Oh, you mean that kind of extension. :)

For that, I would start with: The Complete Idiot's Guide to Writing Shell
Extensions:

http://www.codeproject.com/KB/shell/...uideindex.aspx

It's a quite extensive (and serious) treatment by Michael Dunne. Brush up on
your C# and C++.


Jul 7 '08 #4
AGP

"Steve Gerrard" <my********@comcast.netwrote in message
news:9d******************************@comcast.com. ..
AGP wrote:
>>
thanks for the link but I think you may have misunderstood me. I know
how to associate a file extension with my
app. that is fairly starightforward. instead my challenge here is to
implement a shell extension with a context menu
that one shows the application icon and two will execute my app when
selected. to see what i mean just clikc here
http://www.burgaud.com/scite-context-menu/
The icon shows in the context menu and that is only done through a
custom DLL.

Oh, you mean that kind of extension. :)

For that, I would start with: The Complete Idiot's Guide to Writing Shell
Extensions:

http://www.codeproject.com/KB/shell/...uideindex.aspx

It's a quite extensive (and serious) treatment by Michael Dunne. Brush up
on your C# and C++.
yep i've read those too and many other articles but alas i do not program in
C.
i was hoping for something that is easily modifed for my own app. again my
need is simple. one context menu item with an icon and text. ill keep
looking.

AGP
Jul 7 '08 #5
On Jul 7, 2:38 pm, "AGP" <sindizzy....@softhome.netwrote:
"Steve Gerrard" <mynameh...@comcast.netwrote in message

news:9d******************************@comcast.com. ..
AGP wrote:
thanks for the link but I think you may have misunderstood me. I know
how to associate a file extension with my
app. that is fairly starightforward. instead my challenge here is to
implement a shell extension with a context menu
that one shows the application icon and two will execute my app when
selected. to see what i mean just clikc here
http://www.burgaud.com/scite-context-menu/
The icon shows in the context menu and that is only done through a
custom DLL.
Oh, you mean that kind of extension. :)
For that, I would start with: The Complete Idiot's Guide to Writing Shell
Extensions:
http://www.codeproject.com/KB/shell/...uideindex.aspx
It's a quite extensive (and serious) treatment by Michael Dunne. Brush up
on your C# and C++.

yep i've read those too and many other articles but alas i do not program in
C.
i was hoping for something that is easily modifed for my own app. again my
need is simple. one context menu item with an icon and text. ill keep
looking.

AGP
The short answer is that you cannot (or rather should not) write shell
extensions using any managed language (VB.Net, C#, etc). Your only
choice is to use an unmanaged language like C++ or VB6 and COM.

See this link for additional information:

http://www.mastropaolo.com/2006/11/0...c-andor-vbnet/

Chris
Jul 9 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Brian Henry | last post by:
How do you go about getting the "type" of a file from explorer? Say if I want to know what the type for the extension .DOC was, which is "Micrsoft Word Document" in explorer, how would I do this? I...
1
by: krose | last post by:
Hi Using a couple of examples on CodeProject.com I've create a nice little shell extension (adds some custom menus for proprietary file types). Everything is working fine, except I can't get it...
2
by: Thief_ | last post by:
I'd like to explorer how to add my own menu items to the Explorer right-click menu. That is, if a user, say, right-clicks a txt file, I want to launch MY application to process that file. Are...
2
by: Joe J. | last post by:
How to add an option to windows explorer right click menu? I'd like add my own option to the Explorer right-click menu. So lets say in case the file has extension ".AVI" I want to see an option...
5
by: John | last post by:
I get a 'divide by zero' exception when I scroll in a subdirectory of 'My Pictures'. This subdirectory is full of .ico, .bmp, .png files that I use for button images in my Windows Forms projects. ...
2
by: Tom Rahav | last post by:
Hi, I would like to develop an application that runs in the system's tray and whenever the user clicks CTRL+Right Click (mouse) on a file or folder, my application will pop-up on that file or...
2
by: Martin Carpella | last post by:
Hi! Can anybody give me a pointer if/how I could retrieve the Explorer context menu of a given file in C#? Thanks in advance, Martin
3
by: Shafiq | last post by:
Hi, I am trying to insert a new toolbar button to the windows explorer menu. I an able to locate the correct ToolbarWindow32, and inserted a button using the code snippet shown below. However...
2
by: Jeff Gaines | last post by:
I am in the process of upgrading to XP 64. VS2008 is running fine but one of my apps, which adds functionality to the Explorer context menu, just won't work under XP 64. Googling resulted in my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...

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.