用户登录  |  用户注册
首 页源码下载网络学院最新源码源码排行屏蔽广告
当前位置:新兴网络 > 源码下载 > VB源码 > 控件组件 > VB vbMHWB v1.2.1.6浏览器控件源码_VB WebBrowser加强版控件 > vbwb.cpp
loading...复制代码
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


#include "stdafx.h"
#include "vbwb.h"

/////////////////////////////////////////////////////////////////////////////
// CvbWB

IMPLEMENT_DYNCREATE(CvbWB, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CvbWB properties

/////////////////////////////////////////////////////////////////////////////
// CvbWB operations

short CvbWB::GetCount()
{
	short result;
	InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
	return result;
}

void CvbWB::RemoveBrowser(short wbUIDToRemove)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUIDToRemove);
}

void CvbWB::Refresh(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Stop(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::GoBack(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::GoForward(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::GoHome(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::NavigateSimple(short wbUID, LPCTSTR URL)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR;
	InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, URL);
}

LPDISPATCH CvbWB::GetWebBrowser(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

CString CvbWB::GetLocationURL(short wbUID)
{
	CString result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
		wbUID);
	return result;
}

BOOL CvbWB::GetOffline(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetOffline(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

long CvbWB::ReadyState(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::GoSearch(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Refresh2(short wbUID, VARIANT* level)
{
	static BYTE parms[] =
		VTS_I2 VTS_PVARIANT;
	InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, level);
}

BOOL CvbWB::GetBusy(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

BOOL CvbWB::GetRegisterAsBrowser(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetRegisterAsBrowser(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

BOOL CvbWB::GetRegisterAsDropTarget(short wbUID, BOOL bUseIEDefault)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID, bUseIEDefault);
	return result;
}

void CvbWB::SetRegisterAsDropTarget(short wbUID, BOOL bUseIEDefault, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL VTS_BOOL;
	InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bUseIEDefault, bNewValue);
}

BOOL CvbWB::GetSilent(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetSilent(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

CString CvbWB::GetLocationName(short wbUID)
{
	CString result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SelectAll(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Paste(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Copy(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Cut(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Undo(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Redo(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::ClearSelection(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Delete(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Find(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::PasteSpecial(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Spell(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Properties(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x20, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::NewWindow(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x21, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::FileOpen(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x22, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Save(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x23, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::SaveAs(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x24, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Print(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x25, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::PrintPreview(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x26, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::PageSetup(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x27, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::Print2(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x28, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::PrintPreview2(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x29, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

long CvbWB::GetHWNDShellDocObjectView(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

long CvbWB::GetHWNDInternetExplorerServer(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::ViewSource(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::AddToFavorites(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::SetFocusW(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::PlaceWBOnTop(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x2f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

long CvbWB::GetHWNDMainWnd()
{
	long result;
	InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

short CvbWB::AnyDocHasFocus()
{
	short result;
	InvokeHelper(0x31, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
	return result;
}

void CvbWB::ExecWB(short wbUID, long cmdID, long cmdExecOpt, VARIANT* pvaIn, VARIANT* pvaOut)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4 VTS_I4 VTS_PVARIANT VTS_PVARIANT;
	InvokeHelper(0x32, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, cmdID, cmdExecOpt, pvaIn, pvaOut);
}

long CvbWB::QueryStatusWB(short wbUID, long cmdID)
{
	long result;
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x33, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		wbUID, cmdID);
	return result;
}

CString CvbWB::GetStartupURL()
{
	CString result;
	InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetStartupURL(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

BOOL CvbWB::GetUseIEDefaultFileDownload(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetUseIEDefaultFileDownload(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

long CvbWB::GetHWNDShellEmbedding(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

long CvbWB::GetFramesCount(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

BOOL CvbWB::GetWBVisible(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetWBVisible(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x38, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

LPDISPATCH CvbWB::GetApplication(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

LPDISPATCH CvbWB::GetDocument(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

LPDISPATCH CvbWB::GetActiveElementObj(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

LPDISPATCH CvbWB::GetActiveDocumentObj(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::Navigate2(short wbUID, VARIANT* URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers)
{
	static BYTE parms[] =
		VTS_I2 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
	InvokeHelper(0x3d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, URL, Flags, TargetFrameName, PostData, Headers);
}

void CvbWB::Navigate(short wbUID, LPCTSTR URL, VARIANT* Flags, VARIANT* TargetFrameName, VARIANT* PostData, VARIANT* Headers)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
	InvokeHelper(0x3e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, URL, Flags, TargetFrameName, PostData, Headers);
}

void CvbWB::AddBrowser(short* wbUID, BOOL bBringToFront)
{
	static BYTE parms[] =
		VTS_PI2 VTS_BOOL;
	InvokeHelper(0x3f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, bBringToFront);
}

LPDISPATCH CvbWB::GetObjectWB(short wbUID)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		wbUID);
	return result;
}

long CvbWB::GetContextMenuAction(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetContextMenuAction(short wbUID, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, nNewValue);
}

long CvbWB::GetDocumentDownloadControlFlags(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetDocumentDownloadControlFlags(short wbUID, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, nNewValue);
}

long CvbWB::GetDocumentHostUiFlags(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetDocumentHostUiFlags(short wbUID, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, nNewValue);
}

long CvbWB::GetDocumentHostUiDoubleClickAction(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetDocumentHostUiDoubleClickAction(short wbUID, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, nNewValue);
}

void CvbWB::FindTextSimple(short wbUID, LPCTSTR TextToFind, BOOL bDownward, BOOL bMatchWholeWord, BOOL bMatchCase, BOOL bScrollIntoView, BOOL* FindMatch)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_BOOL VTS_BOOL VTS_BOOL VTS_BOOL VTS_PBOOL;
	InvokeHelper(0x47, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, TextToFind, bDownward, bMatchWholeWord, bMatchCase, bScrollIntoView, FindMatch);
}

void CvbWB::FindAndHighlightAllText(short wbUID, LPCTSTR TextToFind, BOOL bMatchWholeWord, BOOL bMatchCase, LPCTSTR HighlightColor, long* NumOfMatchsFound)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_BOOL VTS_BOOL VTS_BSTR VTS_PI4;
	InvokeHelper(0x48, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, TextToFind, bMatchWholeWord, bMatchCase, HighlightColor, NumOfMatchsFound);
}

void CvbWB::FindAnyTextMatch(short wbUID, LPCTSTR TextToFind, BOOL bMatchWholeWord, BOOL bMatchCase, BOOL* FindMatch)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_BOOL VTS_BOOL VTS_PBOOL;
	InvokeHelper(0x49, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, TextToFind, bMatchWholeWord, bMatchCase, FindMatch);
}

BOOL CvbWB::GetIsDocFrameset(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x4a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

CString CvbWB::GetUcScheme()
{
	CString result;
	InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcScheme(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcHostName()
{
	CString result;
	InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcHostName(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

long CvbWB::GetUcPort()
{
	long result;
	InvokeHelper(0x4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcPort(long nNewValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 nNewValue);
}

CString CvbWB::GetUcUserName()
{
	CString result;
	InvokeHelper(0x4e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcUserName(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcPassword()
{
	CString result;
	InvokeHelper(0x4f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcPassword(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcUrlPath()
{
	CString result;
	InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcUrlPath(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcExtraInfo()
{
	CString result;
	InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcExtraInfo(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcFullURL()
{
	CString result;
	InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcFullURL(LPCTSTR lpszNewValue)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 lpszNewValue);
}

CString CvbWB::GetUcFileName()
{
	CString result;
	InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

CString CvbWB::GetUcFileExtension()
{
	CString result;
	InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
	return result;
}

void CvbWB::ucInternetCrackUrl(LPCTSTR URL, BOOL* bSuccess)
{
	static BYTE parms[] =
		VTS_BSTR VTS_PBOOL;
	InvokeHelper(0x55, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 URL, bSuccess);
}

long CvbWB::GetUcInternetScheme()
{
	long result;
	InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
	return result;
}

void CvbWB::SetUcInternetScheme(long nNewValue)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 nNewValue);
}

void CvbWB::ucInternetCreateUrl(BSTR* URL)
{
	static BYTE parms[] =
		VTS_PBSTR;
	InvokeHelper(0x57, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 URL);
}

void CvbWB::CancelFileDl(short UIDToCancel)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x58, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 UIDToCancel);
}

void CvbWB::DownloadUrlAsync(LPCTSTR URL, LPCTSTR SaveFileName, short* DLUID)
{
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_PI2;
	InvokeHelper(0x59, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 URL, SaveFileName, DLUID);
}

void CvbWB::RegisterHTTPprotocol(BOOL pVal)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x5a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 pVal);
}

void CvbWB::RegisterHTTPSprotocol(BOOL pVal)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0x5b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 pVal);
}

void CvbWB::DisplayCertificateDialog(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x5c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::LoadHTMLFromString(short wbUID, LPCTSTR sContent, LPCTSTR sBaseUrl)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_BSTR;
	InvokeHelper(0x5d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, sContent, sBaseUrl);
}

void CvbWB::DrawWBThumbnailOnWnd(short wbUID, long WndHdc, long lX, long lY, long lW, long lH)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x5e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, WndHdc, lX, lY, lW, lH);
}

long CvbWB::GetWBPageTextSize(short wbUID)
{
	long result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetWBPageTextSize(short wbUID, long nNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_I4;
	InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, nNewValue);
}

void CvbWB::ucResetFieldsToDefault()
{
	InvokeHelper(0x60, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CvbWB::SubclassWnd(long hwndWnd)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x61, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndWnd);
}

void CvbWB::UnSubclassWnd(long hwndWnd)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x62, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndWnd);
}

void CvbWB::AddMessage(long hwndWnd, long lMsg)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x63, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndWnd, lMsg);
}

void CvbWB::SetupShellAutoComplete(long hwndTarget, BOOL IsTargetComboBox, long lFlags)
{
	static BYTE parms[] =
		VTS_I4 VTS_BOOL VTS_I4;
	InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndTarget, IsTargetComboBox, lFlags);
}

void CvbWB::SaveAsBitmap(short wbUID, LPCTSTR BitmapName)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR;
	InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, BitmapName);
}

void CvbWB::WBPostData(LPCTSTR sURL, LPCTSTR sData, short* PostID)
{
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_PI2;
	InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 sURL, sData, PostID);
}

BOOL CvbWB::GetSourceOnDocComplete(short wbUID)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
		wbUID);
	return result;
}

void CvbWB::SetSourceOnDocComplete(short wbUID, BOOL bNewValue)
{
	static BYTE parms[] =
		VTS_I2 VTS_BOOL;
	InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
		 wbUID, bNewValue);
}

void CvbWB::OrganizeFavorites()
{
	InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CvbWB::ViewIEOptions(short wbUID)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID);
}

void CvbWB::FindAndHighlightAllTextFrames(short wbUID, LPCTSTR TextToFind, BOOL bMatchWholeWord, BOOL bMatchCase, LPCTSTR HighlightColor, long* NumOfMatchsFound)
{
	static BYTE parms[] =
		VTS_I2 VTS_BSTR VTS_BOOL VTS_BOOL VTS_BSTR VTS_PI4;
	InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 wbUID, TextToFind, bMatchWholeWord, bMatchCase, HighlightColor, NumOfMatchsFound);
}

void CvbWB::SetupWindowsHook(long lHookType, long hwndTargetWnd, BOOL bStart, long* lUWMHookMsgID)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_BOOL VTS_PI4;
	InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 lHookType, hwndTargetWnd, bStart, lUWMHookMsgID);
}

void CvbWB::HookProcNCode(long lHookType, long* nCode)
{
	static BYTE parms[] =
		VTS_I4 VTS_PI4;
	InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 lHookType, nCode);
}

void CvbWB::SetupCustomAutoComplete(long hwndTarget, BOOL IsTargetComboBox, long lCustomAutoCompleteFlags, VARIANT* varStringArray)
{
	static BYTE parms[] =
		VTS_I4 VTS_BOOL VTS_I4 VTS_PVARIANT;
	InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndTarget, IsTargetComboBox, lCustomAutoCompleteFlags, varStringArray);
}

void CvbWB::CustomAutoCompleteAddString(long hwndTarget, BOOL IsTargetComboBox, LPCTSTR strItem)
{
	static BYTE parms[] =
		VTS_I4 VTS_BOOL VTS_BSTR;
	InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndTarget, IsTargetComboBox, strItem);
}

void CvbWB::CustomAutoCompleteEnable(long hwndTarget, BOOL IsTargetComboBox, BOOL bEnable)
{
	static BYTE parms[] =
		VTS_I4 VTS_BOOL VTS_BOOL;
	InvokeHelper(0x6f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 hwndTarget, IsTargetComboBox, bEnable);
}

void CvbWB::QueryIERegistryOption(long IeRegistryOptionsFlag, VARIANT* varBuffer)
{
	static BYTE parms[] =
		VTS_I4 VTS_PVARIANT;
	InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 IeRegistryOptionsFlag, varBuffer);
}

void CvbWB::SetIERegistryOption(long IeRegistryOptionsFlag, VARIANT* varBuffer)
{
	static BYTE parms[] =
		VTS_I4 VTS_PVARIANT;
	InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 IeRegistryOptionsFlag, varBuffer);
}

void CvbWB::DecodeMime(LPCTSTR strToDecode, BSTR* strDecoded)
{
	static BYTE parms[] =
		VTS_BSTR VTS_PBSTR;
	InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 strToDecode, strDecoded);
}

void CvbWB::DeleteIEFiles(long enumWhichFiles)
{
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x73, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 enumWhichFiles);
}