至高吴上(Alfa.wu)

一个人,一生,能坚持做好一件事情是多么的牛XX啊!!!

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年11月22日

摘要: 怎样启用控件comdlg32.ocx2008-10-08 09:32 提问者: nefu_20061617 |浏览次数:1502次vbs文件中有代码Set ComDlg = CreateObject("MSComdlg.CommonDialog")运行时发生错误ActiveX 部件不能创建对象: 'MSComdlg.CommonDialog'怎样启用控件comdlg32.ocx,不使用On Error语句,使这句不产生错误?最好用vbs文件或bat文件,安装VB,VC++等编程语言的方法除外试过"regsvr32 comdlg32.ocx" 阅读全文
posted @ 2012-11-22 15:06 Alfa 阅读(1907) 评论(0) 推荐(0) 编辑

摘要: VB获取和更改文件属性摘自网络供自己备查!Private Declare Function SetFileAttributes Lib "kernel32" Alias "SetFileAttributesA" (ByVal lpFileName As String, ByVal dwFileAttributes As Long) As LongPrivate Declare Function GetFileAttributes Lib "kernel32" Alias "GetFileAttributesA" ( 阅读全文
posted @ 2012-11-22 15:05 Alfa 阅读(3319) 评论(0) 推荐(0) 编辑