资源简介
MFC操作Excel表,excel.h,excel.cpp源码
代码片段和文件信息
// Machine generated IDispatch wrapper class(es) created with ClassWizard
#include “stdafx.h“
#include “excel.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// _Application properties
/////////////////////////////////////////////////////////////////////////////
// _Application operations
LPDISPATCH _Application::GetApplication()
{
LPDISPATCH result;
InvokeHelper(0x94 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
long _Application::GetCreator()
{
long result;
InvokeHelper(0x95 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetParent()
{
LPDISPATCH result;
InvokeHelper(0x96 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetActiveCell()
{
LPDISPATCH result;
InvokeHelper(0x131 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetActiveChart()
{
LPDISPATCH result;
InvokeHelper(0xb7 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
CString _Application::GetActivePrinter()
{
CString result;
InvokeHelper(0x132 DISPATCH_PROPERTYGET VT_BSTR (void*)&result NULL);
return result;
}
void _Application::SetActivePrinter(LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x132 DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
lpszNewValue);
}
LPDISPATCH _Application::GetActiveSheet()
{
LPDISPATCH result;
InvokeHelper(0x133 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetActiveWindow()
{
LPDISPATCH result;
InvokeHelper(0x2f7 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetActiveWorkbook()
{
LPDISPATCH result;
InvokeHelper(0x134 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetAddIns()
{
LPDISPATCH result;
InvokeHelper(0x225 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetAssistant()
{
LPDISPATCH result;
InvokeHelper(0x59e DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
void _Application::Calculate()
{
InvokeHelper(0x117 DISPATCH_METHOD VT_EMPTY NULL NULL);
}
LPDISPATCH _Application::GetCells()
{
LPDISPATCH result;
InvokeHelper(0xee DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetCharts()
{
LPDISPATCH result;
InvokeHelper(0x79 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
LPDISPATCH _Application::GetColumns()
{
LPDISPATCH result;
InvokeHelper(0xf1 DISPATCH_PROPERTYGET VT_DISPATCH (voi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 184818 2013-07-09 22:08 excel\excel.cpp
文件 50170 2013-07-09 22:07 excel\excel.h
目录 0 2013-07-28 10:05 excel
----------- --------- ---------- ----- ----
234988 3
- 上一篇:C语言课程设计-汉诺塔的演示
- 下一篇:c语言实现找零钱问题
评论
共有 条评论