Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How can I write a shell extension with Visual Basic 2005 / 2008 Express? Any help would be most appreciated, but I'm looking for info that would allow me to create extensions to right-click menus in Explorer.

Also, how can I write a VB application that allows plugins or extensions, much like Paint.NET?

Thanks for any help!

drummerboy0511
Posted

1 solution

You can do it with VB.NET or C#, but with great difficulty. There is a ton of COM interop you have to setup in your code and a bunch of structures you have to create and marshal properly. On top of that, there's a bit of an issue with using managed code to write Shell extensions. You can read about that here[^]. It amy force you to write this in C++ instead.

Beyond that, try these[^] examples. Most of which is going to be C#, but can be converted to VB.NET with a little work.

 
Share this answer
 
Comments
drummerboy0511 8-Jul-10 16:44pm    
Reason for my vote of 4
...


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900