# 为何要知道呢?

Posted by 小吴 on January 06, 1998 at 16:29:03:

In Reply to: 如何取得Word97的路径 posted by Sandy on January 05, 1998 at 18:16:00:

如果你要得知 Word 的路径，你必须查阅 Registry。步骤比较麻烦。

如果你只是要执行 Word，那下面这段程式就行了。

Dim oWord As Object
Set oWord = CreateObject("Word.Application")
oWord.Visible = True
Set oWord = Nothing

Follow Ups:

- Re: 为何要知道呢? Sandy 01:14:22 1/12/98 (1)
  - 还是用 OLE Automation 好了 小吴 17:27:26 1/12/98 (0)