opening multiple files with the win shell context menu?

G

giddy

Hi ,

I've read this a long time ago , read it again:
http://msdn.microsoft.com/library/d...ell_basics/shell_basics_extending/context.asp

I know how to make file associations and then add an option to the
shell context menu if the user clicks that file.

My application adds an extra option for .cs files.

In HKEY_CLASSES_ROOT :
..cs
Default=VisualStudio.cs.8.0
VisualStudio.cs.8.0
Shell
Open
Make Exe
command : Default: <path>\QuickBuild.exe" "%1" /csBuild


Now , everything works fine with single files. BUT! i want to be able
to handle *multiple files*. If the user selects many .cs files the
option shows up but my app does not! It never even runs! (no , theres
no bug in there)

i'm guessing theres a particular way to handle mutilple files. Maybe
adding a COM handler or something!!? , just dont know what it is. I've
been searching for quite some time!

Could someone plz help me out!? =(

I'm on Windows XP pro , i have to target win98 and later. I'm
programming in C# 2.0 under .NET 2

Thanks so much

Gideon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top