Works fine now, thanx for the help! I had price as double instead of
single, which you pointed out.
Private Sub tws1_orderStatus(ByVal id As Long, ByVal Status As
String, ByVal Filled As Long, ByVal Remaining As Long, ByVal price As
Single)
toggle quoted message
Show quoted text
the word Status is a reserved property name for certain objects
When I type it into my editor it automatically caps the lead
letter....
Try changing the variable declaration to a different name, such as
TWSstatus or something
There are three and counting uses of VB keywords or propertey names
in the standard TWS API:
"right", "currencey" and Now "status"
Pretty lame IMHO
Scott
PS please let us know if this resolves the issue