Rockwell-automation FactoryTalk Transaction Manager User Guide Uživatelský manuál Strana 156

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 155
FactoryTalk Transaction Manager User Guide
156
Set obj = CreateObject("ComSampleVB.Class1")
‘ Put a value into the required argument and
‘ pass it to the remote component
szKey = "ignored"
‘ Call the remote component
‘ and display the return value
MsgBox obj.Get_VB_Sample_Data(szKey, szString)
‘ Display the returned data
MsgBox "String Data: " & szString
‘ Destroy the instance of the remote component
Set obj = Nothing
End Sub
Private Sub Form_Load()
Command1.Caption = "Call COM+ VB Sample"
End Sub
Zobrazit stránku 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 185 186

Komentáře k této Příručce

Žádné komentáře