class CPlanPageView
{
    void CPlanPageView::OnInitialUpdate();
};

void CPlanPageView::OnInitialUpdate()
try
{
    CFormView::OnInitialUpdate();


    COleVariant
	//url = _T("http://www.fsf.org/resources/"),
	//url = _T("http://www.google.ro/"),
	//url = _T("http://java.sun.com/javase/7/docs/api/"),
	url = _T("http://www.mozilla.com"),
	emptyVar;

    browser.Navigate2
	(
	    static_cast<VARIANT *>(&url),
	    static_cast<VARIANT *>(&emptyVar),
	    static_cast<VARIANT *>(&emptyVar),
	    static_cast<VARIANT *>(&emptyVar),
	    static_cast<VARIANT *>(&emptyVar)
	);
}
catch(exception const &ex)
{
    dbg << _T("CPlanPageView::OnInitialUpdate() failed.");
    dbg << endl;
    dbg << ex.what();
    dbg << endl;
}
catch(...)
{
    dbg << _T("CPlanPageView::OnInitialUpdate() failed.");
    dbg << endl;
}
