K
keandi
Hi. I use next codes..
---------------------------------------------------
//my.rgs
HKLM
{
NoRemove SOFTWARE
{
NoRemove Microsoft
{
NoRemove Windows
{
NoRemove CurrentVersion
{
NoRemove Explorer
{
NoRemove 'Browser Helper Objects'
{
ForceRemove
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
}
}
}
}
}
}
}
//STDMETHODIMP SetSite(IUnknown* pUnkSite)
VARIANT vtBandGUID, vtShow;
vtBandGUID.vt = VT_BSTR;
vtBandGUID.bstrVal =
SysAllocString(OLESTR("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"));
vtShow.vt = VT_BOOL;
vtShow.boolVal = true;
hr = pBrowser->ShowBrowserBar(&vtBandGUID, &vtShow, 0);
if (SUCCEEDED(hr)) {
int a = 1;
}
SysFreeString(vtBandGUID.bstrVal);
pBrowser->Release();
//---------------------------------------------------------------------------------------------
I heard the IE toolbar appear in IExplorer alwasy, In case of 'my.rgs'
But the IE toolbar doesn't appear when I register the toolbar.
And when I check to use the toolbar on IExplorer, then it appears on
IExplorer.
And, from then, I can see it always (even if I uncheck the toolbar on
menu on IExplorer).
How can I fix it?
---------------------------------------------------
//my.rgs
HKLM
{
NoRemove SOFTWARE
{
NoRemove Microsoft
{
NoRemove Windows
{
NoRemove CurrentVersion
{
NoRemove Explorer
{
NoRemove 'Browser Helper Objects'
{
ForceRemove
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
}
}
}
}
}
}
}
//STDMETHODIMP SetSite(IUnknown* pUnkSite)
VARIANT vtBandGUID, vtShow;
vtBandGUID.vt = VT_BSTR;
vtBandGUID.bstrVal =
SysAllocString(OLESTR("{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"));
vtShow.vt = VT_BOOL;
vtShow.boolVal = true;
hr = pBrowser->ShowBrowserBar(&vtBandGUID, &vtShow, 0);
if (SUCCEEDED(hr)) {
int a = 1;
}
SysFreeString(vtBandGUID.bstrVal);
pBrowser->Release();
//---------------------------------------------------------------------------------------------
I heard the IE toolbar appear in IExplorer alwasy, In case of 'my.rgs'
But the IE toolbar doesn't appear when I register the toolbar.
And when I check to use the toolbar on IExplorer, then it appears on
IExplorer.
And, from then, I can see it always (even if I uncheck the toolbar on
menu on IExplorer).
How can I fix it?