看了文档中DCTL控件的例子,如下:
Sub Form_Load()
Dctl1.LinkItem = "/Channel/Parameter/R[1]" 'the variable name
Dctl1.DataToCaption = True 'that’s default, can be omitted
Dctl1.LinkCmd = 11 ' commands the reading
' here Dctl1.Caption holds the value of the DDE variable
End Sub
我想请教,DCTL连接的时候,如果所编写的VB程序不在840d上运行,而是在PC机上,通过网络与之连接(象NCDDE那样),是否需要指定DCTL.LINKTOPIC?