Originally posted by: Neil Devlin
Hi,
Where do I get the Event codes, and descriptions for?
For example I would like an event to be triggered when the web page is drawn, but I dont knwo what code to trap.
thanks
neil
Originally posted by: Adrian Bacaianu
Hi !
Is abble somebody to give a way at that problem:
I have a simplest win32 console application, without MFC.
I maked CreateDialog, to open a dialog box window, from a dialog resource.
In that dialog i put an dll control of Microsoft Web Browser Object, from controls.
How to connect to that object and tell him Navigate2 ?
(with mfc is very simple is automatticaly link a m_spBrowser variable....)
Originally posted by: Chris Mizerak
Great program!! Great programming style, very simple to understand. I thought I spent 4 hours searching the internet to no avail until I found this! Thanks Much!
ReplyOriginally posted by: jungduyu
Thanks for your source!
How to navigate urls through IWebBrowser2 on "void CIEEnumWindowsDlg::OnDblclkIEList()"
I'm tring to solve a problem in this this
============================================================
//
// bring selected IE to front
//
void CIEEnumWindowsDlg::OnDblclkIEList()
{
// TODO: Add your control notification handler code here
int index = m_List.GetCurSel();
if(index != CB_ERR) {
IWebBrowser2 *pBrowser = (IWebBrowser2 *)m_List.GetItemDataPtr(index);
if(pBrowser)
{
HWND hWnd = 0;
pBrowser->get_HWND((long*)&hWnd);
if(hWnd)
{
::SetWindowPos(hWnd,HWND_TOP,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE|SWP_SHOWWINDOW);
}
COleVariant vaURL("http://www.yahoo.com";) ;
pBrowser->Navigate2(vaURL,NULL,NULL,NULL,NULL) ;
}
}
}
============================================================
but, I can't navigate urls through IWebBrowser2.
Originally posted by: senthil
I need to query the running instances of Internet Explorer using WIN32 rather than MFC and I dont have a clue how I can do this? There is only documentation for MFC but none for WIN32 or maybe I'm missing something. Can some one help.
Thanks in advance
Hi,
Senthil
Originally posted by: Joseph Mueller
Can an ActiveX component connect to the browser that it itself is contained in?
If I have the following:
<html>
<body>
<OBJECT
ID="SR_MFC_COMP"
CLASSID="CLSID:E564A57A-8AF6-4945-975B-06352CFA5B86"
CODEBASE="C:\SR_MFC_COMP\Release\SR_MFC_COMP.ocx"
height=100
width=100
>
</OBJECT>
</body>
</html>
Can this ocx connect to the browser that it is contained in?
Originally posted by: Adrian
Hi..
I wish to do the same program with additional features to change the URL with Borland C++ Builder.... how am i going to go about it...? Please help me... i am contactable at override_00@hotmail.com
Thanks!!!
Adrian
ReplyOriginally posted by: Iman
Hi, I was wondering if anyone knows how to create an Document, from a URL, I know that IHTMLDocument4 has a createDocumentFromURL method, but I have had no success.
I need a document, which will then be parsed with MSHTML.
C# code is preferred.
- THanks
ReplyOriginally posted by: Sanju Burkule
This is an awesome program. Thanks
Sanju
Originally posted by: BlackSmurf
I create an Activex component for IE, how to navigate urls through IWebBrowser2 object from my component ? Thx
webmaster@blacksmurf.net
Reply