View Full Version : Verify REgistry Key Please (All)
Mosaic1
02-25-2002, 11:06 PM
I have written an IE toolbar Button. It works in Win98SE. For IE 5x and 6. I need to verify that the path to this key is the same in WinME Win2000 and WinXp
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions
I used a command line to open a new IE which opens an Internet site. Turned it into a Batch and then compiled the Batch file using bat2exe. Everything works on my system. I know there are some issues I should address.
The first is the Registry Location for other OS's
The second is whether or not a compiled exe of this type will run on these other Windows versions.
Thanks in advance,
Mo
reghakr
02-25-2002, 11:59 PM
Mo,
This runs on Win98 (IE6), XP Home. I'll have to reboot to XP Pro to see if it works there.
Not sure about the exe, but look at this example. It also uses the HKEY_CUTRRENT_USER tree also:
Here are the contents of a .reg file that can be run to insert the correct registry settings. Call this example2.reg. Double-clicking on this file in the explorer will insert the settings in your registry.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Show in &New Window]
@="file://c:\\example2.htm"
"Contexts"=dword:00000001
Here are the contents of "C:\example2.htm".
<SCRIPT LANGUAGE="JavaScript" defer>
open(external.menuArguments.location.href);
</script>
[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{4BAF1FE1-01BA-11d4-951A-444553540000}]
"CLSID"="{1FBA04EE-3024-11D2-8F1F-0000F87ABD16}"
"ButtonText"="NewWindow"
"HotIcon"="C:\\WINDOWS\\Hot.ico"
"Icon"="C:\\WINDOWS\\Cold.ico"
"Script"="C:\\windows\\example2.htm"
"ToolTip"="Open New IE Window"
"Default Visible"="Yes"
Jim
Mosaic1
02-26-2002, 02:57 AM
reghakr,
Thanks. I think I am all set. I wrote a command. It's a package. I have made 6 icon choices and zipped it.
Want a copy?
Mo
POBrien
02-26-2002, 06:46 AM
Hi Mo,
I'll check on 2000 and post back soon.
Id sure like a copy :)
techsent@pacbell.net
Pat
TonyKlein
02-26-2002, 07:20 AM
Mo,
I'm interested as well, obviously.
Can I have one too, pretty, pretty please? ;)
Andy-S
02-26-2002, 01:49 PM
Mo,
The path to the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions is the same in both Windows 2000 and XP.
Mosaic1
02-26-2002, 06:58 PM
Andy-S,
Thank you very much. That's a relief.
Mo
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.