I'm getting this error in my VB.Net app. I added code for an event and it started the bombing. The code is syntactically correct. Any ideas why this would happen?
All I do is put one line of code in two events and I get an error. The line of code is, MsgBox(InsrumentID). So it is very strange that I get this error.
The events are: OnInstrumentChange and OnInstrumentChangeEX. They have sample apps but it doesn't appear that they have implemented all the events in the their sample app.
Here is the vb.net equivalent of those two lines of code...
VB.NET:
Me.events = New VTAPIEventHandler(AddressOf Me)
vtapi.SetMsgRefresh(Me.events)
However i'm confused as to what you are asking. I haven't used that companies components so i know nothing about them. I don't really know how to advise you further.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.