Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I downloaded the code from http://www.codeproject.com/KB/shell/columnhandler.aspx
"Explorer column handler shell extension in C#".

I have Visual Studio 2005 and compliled using C#. (Got a few missing "Articles").
But the code is OK and when I build it, the build succeeds. I put Explorer.exe in the command to run when debugging (on the Property pages). I tested it and it works! The option to add "MD5 Hash" column to Details View is there. (I now have screenshots!).

The problem is it ONLY runs under this environment. I want it to be part of my XP when I boot up. I have all of the tools GAC/REGASM, etc. mentioned by you, but I don't know how to use them and I am not experienced enough to finish the "implementation" task. You kinda let out the final step. Please help!

How to make MD5ColumnHandler.dll be implemented as part of the system when I boot up XP so the "MD5 Hash" column is available in Windows Explorer?

Thanks

This might be needed by others too, don't you think?
Awesome code, but what good is it if it only runs under Visual Studio in Debug mode? Not useful to me YET!

Please help.

Steve Fakler

What I have tried:

I successfully built the project under VS 2005 and got it to work under Debugging mode with Explorer.exe being launched to test. Success. The problem is I want it to be an everyday solution. I want it to be part of the OS when I boot up. I don't know how to implement the DLL under Windows XP to add the Metadata handler to the system.
Posted
Updated 10-Aug-19 22:23pm

The author gave enough information. Here's the solution.
Compiled to create the MD5ColumnHandler.dll (I used Visual Studio 2005).
Tested as explained in my post and in the article using Debug mode calling Explorer.

To implement so is part of XP after bootup (available immediately after doing the following steps):

Searched my PC for RegAsm.exe (found v2 and v4, want v2). Added exe's folder to PATH.

Searched my PC for GacUtil.exe (found in C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin). Added exe's folder to PATH.

Using the CMD line...
Went to folder with compiled MD5ColumnHandler.dll "MD5ColumnHandler\bin\Release".

Ran RegAsm.exe MD5ColumnHandler.dll
Types registered successfully

Ran GacUtil.exe MD5ColumnHandler.dll
Assembly successfully added to the cache

It now is implemented in XP and can run it outside of the VS 2005 "Debug" environment.
 
Share this answer
 
Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



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