touch_xu 发表于 2014-8-20 16:19:34

【已解决】VB中这段代码如何用AU3实现,谢谢!

本帖最后由 touch_xu 于 2014-8-22 23:31 编辑

VB中这段代码如何用AU3实现,谢谢!
Set objFFTester = New FFTester.Tester
lRetVal = objFFTester.GetUnitInfo("<GetUnitInfo xmlns=""urn:GetUnitInfo-schema"" SerialNumber=""" & UCase(Text1.Text) & """ />", strXML)
   
    Text2.Text = "GetUnitInfo:" + CStr(lRetVal)
    If lRetVal = 0 Then
      Command2.Enabled = True
      Command3.Enabled = True
    Else
      retError = objFFTester.GetErrMessage(lRetVal)
      Text2.Text = Text2.Text + vbCrLf + retError
    End If

touch_xu 发表于 2014-8-20 16:20:35

请问是Object吗,其实只是不知道AU3中的调用方式,谢谢!

touch_xu 发表于 2014-8-22 23:31:56

【已解决】仍然谢谢!
页: [1]
查看完整版本: 【已解决】VB中这段代码如何用AU3实现,谢谢!