|
Hello,
I have developed an application which has all the filter options of windows search in a single window. I want to add this application to Windows Explorer's menu.
How can I achieve this ?
Please help.
|
|
|
|
|
You are going to have to write a Browser Helper Object (BHO) that interacts with Explorer. Bear in mind that BHOs were originally introduced to extend IE but were extended to work with Explorer, so you are going to have to do a bit of work to make it work only in Explorer. Then you're going to have to do some pure COM interop work I'm afraid. You should get some idea on what you need to do here[^].
This space for rent
|
|
|
|
|
|
Why is it not working for you?
|
|
|
|
|
If you wanted help with a specific task, then it would make sense to state that in the original question. You might also want to explain "how" it is not working for you, otherwise you'll simply get alternative options. Did it compile? Did it throw an exception? If yes, what did the exception say? Did you follow the instructions on the page you linked? Up to where does it work?
AFAIK, adding a button would require a Shell Band Object[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Why I don't know. Since it deals with only registry It is not possible to trace the error. Also very less references are available for this work.
|
|
|
|
|
srikrishnathanthri wrote: Since it deals with only registry It is not possible to trace the error Did you change the permissions for the registry keys as suggested in the article? Sounds like that is the part most likely to go wrong. You might also want to try to contact the author by adding a comment there.
I cannot see whether this works on any other platform than Windows 7.
The deskband-solution would be my first choice, and MSDN[^] the starting point.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I have changed the permissions. Without giving permission it is not possible to add the keys to that hives. Yes, It is working in only Windows 7.
|
|
|
|
|
Hi everyone i want to read rar file name and folder in this rar file but i dont know how i can do it
|
|
|
|
|
I would suggest a Google search for "how to read rar file" or similar.
|
|
|
|
|
|
There are many Unzip API available, that you can use to unzip your RAR file.
IonicZip.dll is one of the most used zip/unzip library you can use. Here is code snippet
ZipFile zipFile = new ZipFile("Path TO Your ZIP File");
zipFile.ExtractAll(Application.StartupPath);
see below link to download API
DotNetZip Library - Home[^]
SevenZipSharp - Home[^]
Find More .Net development tips at : .NET Tips
The only reason people get lost in thought is because it's unfamiliar territory.
|
|
|
|
|
Hi,
1. I am developing an application in C# in which I want to disable all the mass storage USB devices except a few USB based hard disk (as white list hard disk).
2. Am trying to make logic in which I would like to make my my white-list based on internal serial number of hard disks (USB based ). This white-list I will try to populate and try to read as configuration file for my utility.
3. Thereafter, I will try like to compare all the incoming USB mass storage devices internal serial number with my white list serial numbers to filter them and extend the access permission based on positive matching else disable them if not matching with my white-list serial number of hard disk.
4. Now I know how to disable the USB Mass storage but am not able to get the USB mass storage serial number of all incoming USB devices in real time and also how to supply my white-list of UBS mass storage hard disk serial number during the run-time of my application.
Thanking you all in advance for your kind reply.
regards
Deepeshonly
|
|
|
|
|
So what is your actual question?
|
|
|
|
|
how I can disable all the USB mass storage devices except a few based on internal serial number of USB hard disk (as per my white list) in the C# program.That is when ever some connecting any USB devices then PC should able to block it if it is not matching with my white list of hard disk serial numbers.Whit list hard disk serial number I would like to read as configuration file.
|
|
|
|
|
how I can disable all the USB mass storage devices except a few based on internal serial number of USB hard disk (as per my white list) in the C# program.That is when ever some connecting any USB devices then PC should able to block it if it is not matching with my white list of hard disk serial numbers.Whit list hard disk serial number I would like to read as configuration file.
thanks n regards
|
|
|
|
|
|
I've Visual Studio and programming in C# now I want my programm to restart on his own, but i need to restart in Release, because a class changed.
con you may help me?
|
|
|
|
|
Member 11916735 wrote: con you may help me? Help with what? You have not explained where your program is failing. If you just mean that some source code has changed then you need to rebuild and re-install.
|
|
|
|
|
System.Windows.forms.Application.Restart();
|
|
|
|
|
Member 11916735 wrote: because a class changed Do you mean you changed some code? Then you need to compile your program again. But it does not make sense: how should your program know that its source code was changed?
If only some configurable run-time settings changed, just exit your program (e.g. Application.Exit()), but call Process.Start(path_to_your_executable) immediately before that.
|
|
|
|
|
i just want to restart my programm with code. but not in the debug modus, in the release modus
|
|
|
|
|
That requires a recompile.
The app is either compiled in release- or in debug-mode. There is no on-the-fly switching.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Change your current Configuration to Release and then run the code. It will compile a release version.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I know how to start it in debug/release modus with a mouseklick, i just want to do this with a codesnipped
|
|
|
|