Private Type VodData
ISRC As String * 50
provider_id As String * 50
date As Date
area As String * 50
count As Integer
amount As Double
total_time As Double
End Type
Public Sub Form_Load()
Dim obj As New SoapClient
Dim vod As VodData
obj.ClientProperty("ServerHTTPRequest") = True
vod.ISRC = "ISRC CN A01-00-0075-0/V.J9"
vod.provider_id = "11012601"
vod.date = "2003-7-11 12:00:00"
vod.area = "合肥"
vod.count = 12
vod.amount = 12.3
vod.total_time = 42
Call obj.mssoapinit("http://192.168.1.188:8002/webservice/services.asmx?WSDL")
txt.Caption = obj.LoginOP("11012601", "123")
txt2.Caption = obj.PushVOD2(vod, "11012601", "123")
End Sub
运行时出现错误:Compile error:
Only user-defined typed types defined in public object modules can be coerced to or from a variant or passed to late-bound functions.请高手指点。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货