PDA

View Full Version : 请教如何获得当前文档的所有域的内容。谢谢!


oceansea
16-02-05, 08:20 PM
我在vb中的代码为:
private sub command1_click()
dim ows as object
dim ouidoc as object
dim odoc as object
dim oit as object

set ows = createobject("Notes.NotesUIWorkspace")
set ouidoc = ows.currentdocument
set odoc = ouidoc.document
ouidoc.editmode = True

set oit = odoc.Items(0)
end sub

出现的错误:在最后一句 set oit = odoc.Items(0),前面都没有出错。
错误信息为:Run_time error '458'
Variable uses an Automation type not supported in Visual Basic。

请指点,谢谢。

oceansea
23-02-05, 09:26 PM
高手呢,怎么不给点指点阿!

长颈叔叔
24-02-05, 08:48 AM
Originally posted by oceansea at 2005-2-23 09:26 PM:
高手呢,怎么不给点指点阿!

熟管理,对编程不熟。希望有其他人能帮到您。

ghost_xia
29-03-05, 03:20 PM
谢谢谢谢谢谢谢谢谢谢谢谢

jdzhh2000
01-04-05, 09:10 AM
帮你顶一下.

hanxy
17-10-05, 04:03 PM
长颈叔叔
希望在网站找个懂管理,也要懂开发的斑竹,这样,才能回复问题才能快速和利落!!
不知这个建议是否妥当!!请你慎重考虑!!!