+ -
当前位置:首页 → 问答吧 → vb中出现自动化错误,不知是为何,还请高手指点

vb中出现自动化错误,不知是为何,还请高手指点

时间:2011-07-21

来源:互联网

出现错误的代码是这样的
Dim Prepreview As WMEncPrepreview
 Static hWnds() As Variant
  '寻找视窗
  R = FindWindowLike(hWnds(), hForm, "*", "*", Null)
Prepreview.SetCaptureParent (hWnds(1))‘运行到此句出现错误

错误是
实例错误’-1072882814(c00d1b82):
自动化错误
该怎么解决 是什么原因

作者: cgstian   发布时间: 2011-07-21

Static hWnds() As Variant

作者: patrickkong   发布时间: 2011-07-21

这句话有什么问题么?

作者: cgstian   发布时间: 2011-07-21

Prepreview.SetCaptureParent (hWnds(1))‘运行到此句出现错误
‘应为'

作者: Alice814108771   发布时间: 2011-07-23

LZ描述不清

作者: Alice814108771   发布时间: 2011-07-23

不过那句话的注释符是源程序上错的吗?IF you ARE just COPY ,I think it's wrong!

作者: Alice814108771   发布时间: 2011-07-23

热门下载

更多