Rockwell-automation FactoryTalk Transaction Manager User Guide Bedienungsanleitung Seite 156

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 186
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 185 186

Kommentare zu diesen Handbüchern

Keine Kommentare