# 问题

Posted by airbird on August 19, 1997 at 20:53:59:

1. 为什么用ole container去做ole automation写以下程式码,
执行时却没有作用呢?
Private Sub OLE1_DblClick()
Dim objword As Object
Set objword = CreateObject("Word.Basic")
wdDoc.Tables.Add Selection.Range, 10, 2
Selection.TypeText ("airbird")
Selection.MoveRight Unit:=wdCell
Set objword = Nothing
end sub

2.我在"设定使用元件"中选 Microsoft forms2.0 object library,
它包含有textbox,label,command....等,它与一般所用的command or textbox or....有什么不同呢?

谢谢!!

Follow Ups:

- Re: 问题 小吴 18:13:08 8/20/97 (0)