|
"Well, that is how it looks like. Isn't it a beauty?"
Normski. - Professional Windows Programmer
|
|
|
|
|
Very cool. Can't believe I haven't seen something like this before, sure kicks the crap out of the "Cmd prompt here" menu hack!
|
|
|
|
|
Hi,
I'm working on a Browser Helper Object and want to add a hotkey (I'm using atl/mfc, not .NET). I can get the hotkey to appear in the explorer bars menu of IE easily enough, but it doesn't do anything!
Is there a registry entry I need to add / set somewhere to let IE know about the hotkey?
Thanks!
Chris
|
|
|
|
|
Hi Chris.
Well, the way I doing it is through Windows Hooking (SetWindowsHookEx). You can see CtrlMHook class in my source code. Although it is in C# it is pretty much the same way you can do this in C++(just get rid of DllImport and delegates stuff). I think there should be some C++ example available, KBBar or something. When you say you can 'get the hotkey to appear in the explorer bars menu' what do you mean ? Can I benefit from you knowledge ?
P.S. About the registry, I think I was looking pretty hard(with regmon) and didn't find anything.
Thanks,
Pavel.
|
|
|
|
|
Hi Pavel.
You're work is fantastic. However, since I am not using plain vanilla cmd.exe but 4NT [Paul], I would like to see an option to change the used command processor (which is cmd.exe by default).
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
Hi Thomas,
Just tested it with 4NT401 – looks good. It will be probably a couple of days until update 1.2 ready. Want to bring nice Options dialog. So if you are in a hurry you can modify ConsoleCtrl.OpenConsole() yourself:
<br />
bool b = Win32.CreateProcessW( <br />
null,<br />
@"c:\4nt401\4nt.exe",<br />
IntPtr.Zero,<br />
IntPtr.Zero,<br />
false,<br />
0x0400400,<br />
IntPtr.Zero,<br />
null,<br />
si,<br />
pi );<br />
Nice suggestion, thanks,
Pavel.
|
|
|
|
|
Pavel Zolnikov wrote:
Nice suggestion, thanks,
It's sheer selfishness
Pavel Zolnikov wrote:
Want to bring nice Options dialog.
Wow. I am looking forward to it
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
I myself am used to using a TCSH for windows that runs inside the cmd.exe. Is this something that can be handled? Usually I run a batch file that opens my shell. Batch file looks like:
@echo off
title TCSH shell
call D:\Softimage\XSI_2.0.1\Application\bin\Setenv.bat
call I:\SHAKE\Shake-v2.46\init.bat
set Path=I:\TCSH_for_NT;I:\Shake\Shake-v2.46;%Path%
echo Environments are set for XSI 2.0.1 and Shake 2.46
set HOME=U:
cmd /C call I:\TCSH_for_NT\tcsh.exe
echo on
|
|
|
|
|
How about
bool b = Win32.CreateProcessW(
null,
"<span style="color:#af0000;">%comspec%</span>",
IntPtr.Zero,
IntPtr.Zero,
false,
0x0400400,
IntPtr.Zero,
null,
si,
pi );
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
Absolutely outstanding thing here!!!
I've wished for something like this ever since I used Win95!!! (several years that is.)
Thank you!!! Thank you!!! Thank you!!!
Give me your adress, and I'll send you some money!
Best regards from Hugo Hallman.
|
|
|
|
|
I have tried to install it with the latest update (1.1) and I keep getting the following error:
An exception occurred during the Commit phase of the installation. This exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete. --> Access to the registry key is denied.
After this the progress bar goes backwards and appears to roll back the installation eventhough it claims the installation was successful.
After installation the binaries are not to be found on my disk. Instead the destination directory contains installer.installstate and two .tmp files.
I am on Win2000 professional and have administrator priviliges.
Please advise,
Rex
|
|
|
|
|
Ok, now it is weird again . I recommend going to http://www.sysinternals.com downloading their regmon – wonderful tool by the way – and running it just before running setup. In Filter dialog set Include to msiexec.exe. After setup is done, you can save registry access operations history into a log file. See if you can find some failing. I would also appreciate a chance to look at this log.
|
|
|
|
|
Пятёрочка.
Ждём версии без .NET -
Translation -
Excellent - looking forward for a version with no .NET
|
|
|
|
|
Yes really good job
(if you look for non .NET you could look at msdn
article published on may 1999 by dino esposito:
it use custom folder to launch DOS prompt)
|
|
|
|
|
Hi,
realy a great idea!
I just have a slight problem: After I finally got it installed (had some trouble on the first run...), I worked with it for a while. But now I cannot start a normal command prompt anymore. The CMD.EXE process show up in the task mgr, however I do not get the window. Just a reboot helps.
Greets
Chris
|
|
|
|
|
Had the same problem
"When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks]
"It's The Soapbox; topics are optional" Shog 9
|
|
|
|
|
I have tried the following:
- installed .NET Framework (20mb)
- check "Launch Explorer in a separate process"
- run the setup file
- log off and log back on
it didn't work. Then I tried
reinstalling, repairing, delete the registry keys mentioned, reboot my PC... it still didn't work. I am helpess now
I am using Windows XP Pro.
|
|
|
|
|
Yep me too. No success. I'm running XP PRO. NET runtimes installed etc etc. I've tried what I believe is the lot. The app looks like a really neat idea. One that is refreshing to see ... you know an original idea. I hope this is not indicative of other .NET style apps where if the app does'nt work then what ... one seems helpless.
I presume the install routine checks for the required dependencies etc.
I'll try re-building the app to see what happens
Peter Hayward
Ngarkat Technologies
Dulwich, South Australia,
Australia
61 8 8364 7060
phayward@bigfoot.com
|
|
|
|
|
I am sorry for your troubles, Lau, Peter. Can you, please describe, what exactly is 'not working'? Also see my reply on 'Not working on XP Pro'. I would really appreciate if you could run these test and let me know the results.
Sincerely,
Pavel.
|
|
|
|
|
Pavel,
Hhhmmmnn.... sort of bad news here. I tried installing the .Net SP1 thinking that perhaps I should ensure that I have the latest runtime. (no luck) I also tried rebuilding your app from the source code. Anyhow some time later I rebooted an bingo it (orginal install) works. So I really don't know what changed to make it "happen". A bit of black magic here. Anyhow I have more machines, so I'll try and nail down the problem. I've seen the discussion on the "Not working in XP Pro". Looks like you're getting closer.
PS Great idea though .... very original
Peter;P
Peter Hayward
Ngarkat Technologies
Dulwich, South Australia,
Australia
61 8 8364 7060
phayward@bigfoot.com
|
|
|
|
|
Hi Pavel,
I finally got it to work by doing this:
- regasm %systemroot%\assembly\GAC\CommandBar\1.0.0.0__f62fe54d9a592d72\CommandBar.dll
- perform the Michael Dunn's registry hack
and voila!
Looks like the Windows Installer package you created needs some tweaks....
Anyway, this explorer bar is cool stuff! One thing though, it doesn't have the input focus once I press CTRL-M. I would need to manually click in the Console window in order to start typing.....
Thanks Pavel!
|
|
|
|
|
Apparently you must have .net developer installed to even use this tool, since regasm doesn't exist on a computer that has the .net redistributables, but not .net developer to register the bar. I'm sure many others would like to use this tool without having to buy .net to test it.
|
|
|
|
|
I've just updated CommandBar with several bug fixes – including new setup.
Thank you,
Pavel.
|
|
|
|
|
Yep, Works now, thanks 4 the update, i like it!
Fletch
PS. I can't wait to get .NET when i do, this might be 1 of the 1st things i go play with.
|
|
|
|
|
Close all IE/Explorer windows. Delete the key HKCU\software\MS\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}\Enum
and the key
[same path up to the GUID]...\{00021494-0000-0000-C000-000000000046}\Enum
Next time you go to the View|Explorer Bar menu it will be rebuilt.
--Mike--
Just released - RightClick-Encrypt - Adds fast & easy file encryption to Explorer
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Sonork - 100.10414 AcidHelm
|
|
|
|