#include "sample9excel8.h"
HRESULT CVIFUNC Excel_GetProperty (CAObjHandle Object_Handle,
ERRORINFO *Error_Info,
unsigned int Property_ID,
unsigned int Property_Type, void *Value)
{
HRESULT result;
result = CA_PropertyGet (Object_Handle, Error_Info, Property_ID,
Property_Type, Value);
return result;
}
HRESULT CVIFUNC Excel_SetProperty (CAObjHandle Object_Handle,
ERRORINFO *Error_Info,
unsigned int Property_ID,
unsigned int Property_Type, ...)
{
HRESULT result;
va_list args;
va_start (args, Property_Type);
result = CA_PropertySetV (Object_Handle, Error_Info, Property_ID,
Property_Type, args);
va_end (args);
return result;
}
HRESULT CVIFUNC Excel_SetPropertyByRef (CAObjHandle Object_Handle,
ERRORINFO *Error_Info,
unsigned int Property_ID,
unsigned int Property_Type, ...)
{
HRESULT result;
va_list args;
va_start (args, Property_Type);
result = CA_PropertySetByRefV (Object_Handle, Error_Info, Property_ID,
Property_Type, args);
va_end (args);
return result;
}
HRESULT CVIFUNC Excel_NewOLEObject (char *server, CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20818, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_CreateObjectByClassId (&clsid, server, objectHandle);
return result;
}
HRESULT CVIFUNC Excel_OpenOLEObject (char *fileName, char *server,
CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20818, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_LoadObjectFromFileByClassId (fileName, &clsid, server,
objectHandle);
return result;
}
HRESULT CVIFUNC Excel_ActiveOLEObject (char *server, CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20818, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_GetActiveObjectByClassId (&clsid, server, objectHandle);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectBringToFront (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x8001025A, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectCopy (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x80010227, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectCopyPicture (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
enum ExcelEnum_XlPictureAppearance appearance,
enum ExcelEnum_XlCopyPictureFormat format)
{
HRESULT result;
unsigned int paramTypes[] = {CAVT_LONG, CAVT_LONG};
result = CA_MethodInvoke (objectHandle, errorInfo, 0x800100D5, CAVT_EMPTY,
NULL, 2, paramTypes, appearance, format);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectCut (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x80010235, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectDelete (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x80010075, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectDuplicate (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
CAObjHandle *returnValue)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x8001040F,
CAVT_OBJHANDLE, returnValue, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectSelect (CAObjHandle objectHandle,
ERRORINFO *errorInfo, VARIANT replace)
{
HRESULT result;
unsigned int paramTypes[] = {CAVT_VARIANT};
result = CA_MethodInvoke (objectHandle, errorInfo, 0x800100EB, CAVT_EMPTY,
NULL, 1, paramTypes, replace);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectSendToBack (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x8001025D, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectActivate (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x80010130, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectUpdate (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x800102A8, CAVT_EMPTY,
NULL, 0, NULL);
return result;
}
HRESULT CVIFUNC Excel_OLEObjectVerb (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
enum ExcelEnum_XlOLEVerb verb)
{
HRESULT result;
unsigned int paramTypes[] = {CAVT_LONG};
result = CA_MethodInvoke (objectHandle, errorInfo, 0x8001025E, CAVT_EMPTY,
NULL, 1, paramTypes, verb);
return result;
}
HRESULT CVIFUNC Excel_NewWorkbook (char *server, CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20819, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_CreateObjectByClassId (&clsid, server, objectHandle);
return result;
}
HRESULT CVIFUNC Excel_OpenWorkbook (char *fileName, char *server,
CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20819, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_LoadObjectFromFileByClassId (fileName, &clsid, server,
objectHandle);
return result;
}
HRESULT CVIFUNC Excel_ActiveWorkbook (char *server, CAObjHandle *objectHandle)
{
HRESULT result;
GUID clsid = {0x20819, 0x0, 0x0, 0xC0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46};
result = CA_GetActiveObjectByClassId (&clsid, server, objectHandle);
return result;
}
HRESULT CVIFUNC Excel_WorkbookActivate (CAObjHandle objectHandle,
ERRORINFO *errorInfo)
{
HRESULT result;
result = CA_MethodInvoke (objectHandle, errorInfo, 0x130, CAVT_EMPTY, NULL,
0, NULL);
return result;
}
HRESULT CVIFUNC Excel_WorkbookChangeFileAccess (CAObjHandle objectHandle,
ERRORINFO *errorInfo,
enum ExcelEnum_XlFileAccess mode,
没有合适的资源?快使用搜索试试~ 我知道了~
《基于LabWindows_CVI的虚拟仪器设计与应用(第2版)》相关程序
共117个文件
c:18个
h:18个
uir:15个
5星 · 超过95%的资源 需积分: 15 58 下载量 136 浏览量
2011-03-04
10:33:38
上传
评论 2
收藏 1.19MB RAR 举报
温馨提示
《基于LabWindows_CVI的虚拟仪器设计与应用(第2版)》相关程序和例程指导
资源推荐
资源详情
资源评论
收起资源包目录
《基于LabWindows_CVI的虚拟仪器设计与应用(第2版)》相关程序 (117个子文件)
vbdde.bas 1KB
dependencies.bri 4B
dependencies.bri 4B
dependencies.bri 4B
dependencies.bri 4B
dependencies.bri 4B
dependencies.bri 4B
sample9excel8.c 820KB
sample9excel.c 16KB
sample11.C 15KB
sample12.C 12KB
sample10svr.c 6KB
sample2.c 6KB
sample8clnt.c 4KB
sample8serv.c 4KB
sample5.c 4KB
sample1.c 3KB
sample7.c 3KB
sample3.c 3KB
sample4.8.c 3KB
sample4.C 3KB
SAMPLE3.3.c 3KB
sample6.c 3KB
sample10clt.c 2KB
sample10dde.c 1KB
sample4_dbg.cdb 640KB
sample3_dbg.cdb 640KB
sample2_dbg.cdb 631KB
sample1_dbg.cdb 627KB
sample4.8_dbg.cdb 625KB
SAMPLE3.3_dbg.cdb 604KB
sample2.cws 4KB
SAMPLE3.3.cws 4KB
sample1.cws 3KB
sample3.cws 2KB
sample4.cws 2KB
sample4.8.cws 2KB
sample4.8_dbg.exe 219KB
sample1_dbg.exe 215KB
sample3_dbg.exe 203KB
sample4_dbg.exe 202KB
sample2_dbg.exe 198KB
SAMPLE3.3_dbg.exe 192KB
vbdde.exe 44KB
sample9excel8.fp 3.32MB
main.frm 18KB
execute.frm 2KB
sample9excel8.h 660KB
sample11.h 6KB
sample12.h 4KB
sample7.h 3KB
sample9excel.h 2KB
sample10svr.h 2KB
sample5.h 2KB
sample6.h 2KB
sample10dde.h 2KB
SAMPLE3.3.h 2KB
sample3.h 2KB
sample1.h 2KB
sample2.h 2KB
sample4.8.h 2KB
sample8clnt .h 2KB
sample8clnt.h 2KB
sample8serv.h 2KB
sample4.h 2KB
build.ini 3KB
build.ini 3KB
build.ini 3KB
build.ini 3KB
build.ini 2KB
build.ini 866B
vbdde.mak 97B
sample4.nidobj 91KB
sample3.nidobj 86KB
sample2.nidobj 84KB
sample1.nidobj 71KB
sample4.8.nidobj 71KB
SAMPLE3.3.nidobj 61KB
sample9excel8.obj 292KB
sample9excel.prj 6KB
sample6.prj 4KB
sample12.PRJ 4KB
sample10dde.prj 4KB
sample4.PRJ 3KB
sample3.prj 3KB
sample2.prj 3KB
sample4.8.prj 3KB
sample8serv.prj 3KB
SAMPLE3.3.prj 3KB
sample1.prj 3KB
sample7.prj 3KB
sample8clnt.prj 3KB
sample11.prj 3KB
sample5.prj 3KB
resources.res 2KB
resources.res 2KB
resources.res 2KB
resources.res 2KB
resources.res 2KB
resources.res 2KB
共 117 条
- 1
- 2
资源评论
- sakurawx2013-07-30还可以吧。。。有些帮助。。推荐一下
- lzz7172020-02-13十分有帮助,谢谢!
xiepeilin
- 粉丝: 1
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功