Vb6.0 中操作ms-word; 打开一个word的函数参数时怎样的?我怎样去找相关的帮助文档?
------------
myFileName as String = "c:\myWord.doc"
Dim oWord As Object
Dim oDoc As Object 'Open the document as read-only.
Set oWord = CreateObject("Word.Application")
Set oDoc = oWord.Documents.Open(myFileName, , False)
-------------
oWord.Documents.Open(myFileName, , False) 这个函数的参数运行时不对?
-----
我该怎么做呢?
您知道到哪里去找这些帮助文档吗?
------------
myFileName as String = "c:\myWord.doc"
Dim oWord As Object
Dim oDoc As Object 'Open the document as read-only.
Set oWord = CreateObject("Word.Application")
Set oDoc = oWord.Documents.Open(myFileName, , False)
-------------
oWord.Documents.Open(myFileName, , False) 这个函数的参数运行时不对?
-----
我该怎么做呢?
您知道到哪里去找这些帮助文档吗?
http://www.sijiqing.com/vbgood/experience/index.asp?action=read&id=3067
http://www.sijiqing.com/vbgood/experience/index.asp?action=read&id=356
http://www.sijiqing.com/vbgood/experience/index.asp?action=read&id=3197
WordTemps.Documents.Add App.Path + "\测试文档.dot", False
WordTemps.visible=true