bagu | je laisse tomber la piste francaise...finallement c pas si compliqué...
pour ceux que ca intéresse... :
Code :
- Create a valid globally unique identifier (GUID). You can use Guidgen.exe (which ships with Microsoft Visual Studio®) or Uuidgen.exe (which ships in the Platform Software Development Kit(SDK)).
- Create a new key (with the GUID as the name) in the registry under:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions
- The result should look like:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>
- <Your GUID> is the valid GUID that you created in step 1.
- Optional. Create a new string value, Default Visible, in the registry under:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>
- The result should look like:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>\Default Visible
- To make the toolbar button to appear on the Internet Explorer toolbar by default, set Default Visible to "Yes", otherwise set Default Visible to "No".
- Note
- If the user has customized the toolbar, the button will not appear on the toolbar automatically. The toolbar button will be added to the choices in the Customize Toolbar dialog box and will appear if the toolbar is reset.
- Create a new string value, ButtonText, in the registry under:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>
- The result should look like:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>\ButtonText
- Set the value of ButtonText to the label you want for the toolbar button.
- Create a new string value, HotIcon, in the registry under:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>
- The result should look like:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>\HotIcon
- Set the value of HotIcon to the full path of the .ico file that contains the three color icons.
- Create a new string value, Icon, in the registry under:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>
- The result should look like:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\<Your GUID>\Icon
- Set the value of Icon to the full path of the .ico file that contains the three grayscale icons.
|
|