Page 1 of 1

Can PB create a shell extension (IContextMenu)?

Posted: Mon Nov 14, 2011 8:57 pm
by littlebigman
Hello

Apparently, VB.Net requires .Net 4 to be able to write a shell extension like 7Zip does.

Since my users might have older releases of the .Net framework, and it's a small app with not much GUI involved, I'm willing to check alternative BASICs like PureBasic, PowerBasic, etc.

Search returned two main threads about writing a COM DLL to handle the IContextMenu interface that's required to a shell extension (group + items): Before investing time learning about PureBasic, I'd like to make sure PureBasic 4.60 is suitable to create a shell extension that will run on XP, Vista, and 7, in both 32- and 64-bit versions.

Thank you.

Re: Can PB create a shell extension (IContextMenu)?

Posted: Mon Nov 14, 2011 9:59 pm
by Trond
It can be done, but honestly PureBasic is not the best suited to this kind of programming, as it requires technical knowledge of COM. Some other language may be able to create COM objects more easily.

Re: Can PB create a shell extension (IContextMenu)?

Posted: Mon Nov 14, 2011 10:17 pm
by littlebigman
That's what I feared :-/ Thanks for the input.