我在自製控項UUU.Ctl中使用自訂型態
Public Type AA
XX as Integer
YY(1) as String
End Type
Public Type BB
CC as AA
ZZ as String
End Type
Public Property Get Pro1() as AA
...
End Property
'在執行檔
Dim OcxBB as BB
Print UUU1.Pro1.AA(0)
為什麼執行檔在其他電腦無法執行,
但在我的電腦卻是正常可執行的?
(UUU.ocx已有註冊)
Public Type AA
XX as Integer
YY(1) as String
End Type
Public Type BB
CC as AA
ZZ as String
End Type
Public Property Get Pro1() as AA
...
End Property
'在執行檔
Dim OcxBB as BB
Print UUU1.Pro1.AA(0)
為什麼執行檔在其他電腦無法執行,
但在我的電腦卻是正常可執行的?
(UUU.ocx已有註冊)
文章標籤
全站熱搜

自製控項無法使回自訂資料型態?
可是如果不能傳回自訂資料型態的話,那像 statusbar1.panel(0).text又是怎麼做的呢?