ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 效率神器,一键搞定繁琐工作
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
让更多数据处理,一键完成 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
楼主: 魂断蓝桥

[原创] vbRichClient5 操作sqlite数据库

  [复制链接]

TA的精华主题

TA的得分主题

发表于 2023-10-20 11:22 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册
本帖已被收录到知识树中,索引项:其他编程应用
老师,到cnn.CreateNewDB ThisWorkbook.Path & "\x.db", Sheet1.[g2] 提示没有注册类,请问是什么原因呢

TA的精华主题

TA的得分主题

发表于 2024-5-15 20:27 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册
liucqa 发表于 2017-7-23 14:46
我们先来看下这个神器所包含的主要内容:

ArrayList 一个加强版的数组。不用多解释,用过.Net的都知道。 ...

所有DirectCom.dll 从 Olaf 导出函数
有什么办法能重新修改 DirectCom.dll 后 可以支持64位excel


Private Type tThreadInit
  Param As Long         'User-Param (given into the ThreadMain-Method of the COM-Dll)
  hThread As Long       'filled from Thread (instantly, after STARTCOMOBJECT() returns)
  ThreadID As Long      'filled from Thread (if fully initialized, some msec after STARTCOMOBJECT())
  Reserved(511) As Byte 'reserved for Thread-Internal usage (don't touch this)
  'put your own, additional Members here...
End Type

'regfree instancing-stuff
Declare Function GetInstanceEx Lib "DirectCOM" (StrPtr_FName&, StrPtr_ClassName&, Optional ByVal UseAlteredSearchPath As Boolean = True) As Object
Declare Function GETINSTANCE Lib "DirectCOM" (FName$, ClassName$) As Object
Declare Function GETINSTANCELASTERROR$ Lib "DirectCOM" ()
Declare Function GETDLLCLASSOBJECT Lib "DirectCOM" (FName$, ClsId_16Bytes As Any) As IUnknown 'returns an IClassFactory-instance
Declare Function UNLOADCOMDLL& Lib "DirectCOM" (FName$, ClassName$)

'refree instancing on STAs (threading-stuff)
Declare Function STARTCOMOBJECT Lib "DirectCOM" (FName$, ClassName$, TI As Any) As Long 'please pass TI "ByVal VarPtr(MyTI)", in case of User-Strings in the tThreadInit-UDT
Declare Function GETTHREADCOUNT Lib "DirectCOM" () As Long 'threads created from within this Dll-instance
Declare Function GETTHREADSTATUS Lib "DirectCOM" (ByVal hThread&) As Long '259=Thread running; 258=Couldn't create ThreadObj (Threadfunc. already exited); all other Values are set by the exiting ThreadMain()-Method
Declare Function CLOSETHREADHANDLE Lib "DirectCOM" (hThread&) As Long
'helper-routines which made it into the Exports
Declare Function DEREF Lib "DirectCOM" (ByVal pSrc As Long) As Long
Declare Sub ASSIGN Lib "DirectCOM" (pDst As Any, pSrc As Any)
Declare Sub ASSIGNSWAP Lib "DirectCOM" (pDst As Any, pSrc As Any)
Declare Sub ASSIGNADDREF Lib "DirectCOM" (pDst As Any, pSrc As Any)
Declare Sub READTSC Lib "DirectCOM" (TSC As Currency) 'reads the CPU-TSC-register



TA的精华主题

TA的得分主题

发表于 2024-6-28 21:37 | 显示全部楼层
对于这个我是第一次尝试,我执行了附件中的批处理,运行“插入数据”时出现类没注册提示。
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2024-12-23 11:53 , Processed in 0.039303 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表