Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DEFINITELY NEED HELP WITH WebBrowser Control

0 views
Skip to first unread message

tomer dror

unread,
Jan 31, 1998, 3:00:00 AM1/31/98
to


hello all.

1. i want to use WebBrowser control to view HTML pages from my computer
It seems the Navigate(.......) dont work for me.
here's my code(taken for www.codeguru.com)
b.Create(NULL,NULL,WS_VISIBLE|WS_CHILD,rect,this,ID_BROWSER,NULL);
CString url("c:\\filea");
BSTR bUrl=url.AllocSysString();
COleVariant vNull((LPCTSTR)NULL, VT_BSTR);
b.Navigate((const char *)bUrl, &vNull, &vNull, &vNull, &vNull);

2. is there any way to trap error while page is showing i mean to display
my own message
and to point where the error accure(lets say a wrong VBScript line..)
3.where can i find documentation about this control for vc++
developers-methods,properties,interfaces
(i search all the msdn but found nothing.)

TIA
tomer
note:i have some knowledge about COM,OLE etc..
vc++ 4.0
win95
ie 3.02

0 new messages