Rockwell-automation FactoryTalk Transaction Manager User Guide Manuel d'utilisateur Page 156

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 186
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 185 186

Commentaires sur ces manuels

Pas de commentaire