Dim WithEvents esignal As IESignal.Hooks
Private Sub Command1_Click()
Dim quote As IESignal.BasicQuote
Dim last As Double
Dim Entitled As Boolean
Set esignal = New IESignal.Hooks
esignal.SetApplication ("myusername")
Entitled = esignal.IsEntitled
esignal.RequestSymbol "LU", False
quote = esignal.GetBasicQuote("LU")
last = quote.dLast
Set esignal = Nothing
End Sub
'Entitled=False
'last=0
What is wrong?
Private Sub Command1_Click()
Dim quote As IESignal.BasicQuote
Dim last As Double
Dim Entitled As Boolean
Set esignal = New IESignal.Hooks
esignal.SetApplication ("myusername")
Entitled = esignal.IsEntitled
esignal.RequestSymbol "LU", False
quote = esignal.GetBasicQuote("LU")
last = quote.dLast
Set esignal = Nothing
End Sub
'Entitled=False
'last=0
What is wrong?
Comment