SirSmiley SirSmiley

[Help] Dynamically Create Right Click Menu Or Portion

[Help] Dynamically Create Right Click Menu Or Portion

I'm having a brain fart. Any help would be appreciated.

So, I'm working on my first "Skinnable" Widget/Gadget which uses the ImageMagick Com object
to create a reflective PNG. This came about after a request over at Aqua-soft.

My goal is to populate a portion of the right click menu with a list of the skins. At the moment
I'm using a Subfolder Collection to pull all of the Ini file's. Has anyone got an idea on how to
dynamically populate the right click menu with the names & calls?


8,501 views 32 replies
Reply #27 Top
I'm having some probs.

"Drag'n'drop ImageMagickObject.dll onto RegSvr to register the com object"

I did and I got this error: LoadLibrary("C:\Documents")failed - The specified module could not be found

Then when I drag and drop a PNG image onto the first spot of the widget I get an error saying something went wrong and the widget only accepts images by drag and drop.


What do I do now?
Reply #28 Top
Try installing the com object from the right click menu. Or drag it onto the regsvr2.vbs file. Or drop it on the regsvr.exe file. If there isn't a right click menu option to install it then you need the newer version.

I'm going to check dA to see if they screwed up my last update.
Reply #29 Top
The r-click menu option worked, but I still get an error when I drop an image onto the widget.

Something went wrong. This will only accept images as drag and drop files. I'll try to continue through.
Detail: Object required.


Reply #30 Top
I just downloaded it from dA, removed all my versions of the com object & cleaned my temp directory and it installed without a hitch on XP Pro Sp2. All the right click does is call the regsvr (Using the DesktopX.ExecutableDirectory) passes the object to it and registers/unregisters it.
Reply #31 Top
Dropping it onto the regsvr.exe file worked! Thank you and thanks for this awesome gadget!      
Reply #32 Top
You're welcome.

Thanks for the help in getting the right click menu to work.