Originally posted by: Space
Is anybody converted this C++ code to VB?
if so, please send me to Green_bay@mail.ru
Originally posted by: vaidya
This is what i've done in a com. exe
and I am calling this guy from an mfc appn.
IUrlHistoryStg2* pUrlHistoryStg2 = NULL;
HRESULT hr = CoCreateInstance(CLSID_CUrlHistory,NULL, CLSCTX_INPROC, IID_IUrlHistoryStg2,
(void**)&pUrlHistoryStg2);
if (SUCCEEDED(hr))
{
hr = pUrlHistoryStg2->ClearHistory();
pUrlHistoryStg2->Release();
}
mfc appn.'s call:
OnOK()
CoInitialize(NULL);
Icomhistory* pcomHistory = NULL;
HRESULT hr = CoCreateInstance(CLSID_comhistory, NULL, CLSCTX_ALL, IID_Icomhistory,
(void**)&pcomHistory);
if (SUCCEEDED(hr))
{
hr = pcomHistory->ClearHistory(); // this clear history is different from the clearhistory of IUrlHistory...
pcomHistory->Release();
}
CoUninitialize();
CDialog::OnOK();
CoCreate is succeeding and is giving S_OK in both cases but the history is not getting cleared....
Why is this?
Reply
Originally posted by: Donna
I get this error mesage when i try to compile under VC6 win98:
Linking...
DWBrowserView.obj : error LNK2001: unresolved external symbol "protected: long __thiscall CDWBrowserView::ClearHistory(void)" (?ClearHistory@CDWBrowserView@@IAEJXZ)
..\DWBrowser\Release/DWBrowser.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
How can i fix this?
Originally posted by: wilco
anyone have that code in vb???
please send it to me.
w.wieteler@home.nl
thanks
Originally posted by: ...
Anyone have code to clear the history in win 2k ( for
individual users )? ( tried several things but no luck
yet... including upgrading IE to newest version to get
latest shell DLL's updated... )
Reply
Originally posted by: Santosh Mishra
If u have any clue of doing that, please mail me at sm104@rediffmail.com.
It would be really good, if we share the knowledge ask me too i will help if i can..
Originally posted by: Yaoer
Just as the title, I wanna disable the proxy of IE in code.
I think the IE has a COM interface for this function. But
how about the GUID or IID_XXX?
Thanks in advance!
Yaoer
ReplyOriginally posted by: prashant
i want to create one exe for url tracing from any IE any version..how do i achieve this
ReplyOriginally posted by: ooper
#include <shlguid.h> // This is needed for CLSID_CUrlHistory
Originally posted by: Donnie
Anyone have that code in vb? Please send to dmatthews@local60.com
Thanks
Reply