Announcement

Collapse
No announcement yet.

When Events are fired

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When Events are fired

    Hi;

    I have writen the following code:

    Private Sub esignal_OnQuoteChanged(ByVal sSymbol As String) Handles esignal.OnQuoteChanged

    Dim bQ As IESignal.BasicQuote

    bQ = esignal.GetBasicQuote(sSymbol)
    txtBid.Text = Str$(bQ.dBid)
    txtASk.Text = Str$(bQ.dAsk)
    txtLast.Text = Str$(bQ.dLast)

    and as soon as it gets to txtBid.text=$Str(bQ.dBid)

    The process restarts from the begining , it is as if the event gets fired again when it tries to read the value(s) from bQ.

    I am using Visual Studio 2005 Team Edition

    Thank you

    Bz
Working...
X