fiftyfifty
Member
- Messages
- 85
- Likes
- 2
I'm sorry about this thread, I've very limited VB and can't really make head nor tail of the instructions in the Automation document.
I want to just do a CancelAll in VB, for some reason I can't figure this out but it seems like it should be really obvious. I've loaded up the reference Ecco Library. But I don't know what to do from here. I've put in the following code (from Ecco example)
Dim WithEvents MyOB As EccrderBook
Set MyOB = New EccrderBook
the exact coding from the automation guide wouldn't go in as it wouldn't allow "As New EccrderBook" in the first line.
Don't know whether this should all be in a sub or what. I probably shouldn't even be attempting this but figure if I can get the very basics right then it should be easy to build onto.
Cheers for any help received.
I want to just do a CancelAll in VB, for some reason I can't figure this out but it seems like it should be really obvious. I've loaded up the reference Ecco Library. But I don't know what to do from here. I've put in the following code (from Ecco example)
Dim WithEvents MyOB As EccrderBook
Set MyOB = New EccrderBook
the exact coding from the automation guide wouldn't go in as it wouldn't allow "As New EccrderBook" in the first line.
Don't know whether this should all be in a sub or what. I probably shouldn't even be attempting this but figure if I can get the very basics right then it should be easy to build onto.
Cheers for any help received.