8/2/2010 9:30 PM | |
Posts: 1 Rating:
|
Hello, I suppose you've moved on the past 3 months, but here's my response anyway...
I see the same behavior as you did. I tried both Visual Basic Express 2010 (freeware) and Visual Basic 6. The former complained of "event invocation for COM objects requires event to be attributed with DispIdAttribute" at compile-time. I tried late-binding with AddHandler but the result is the same: my event handlers never get called. I'd really like to see if any ConnectionError's are thrown because I see lots of flaky behavior after connecting like...
On the other hand, I do see signs that things are working: the simulator enters "single" (as opposed to "continuous") scan mode when I connect. Also, I can occasionally read DB values withReadDataBlockValue(). Another forum user recommended the manual for S7ProSim 5.3SP1. It contains a complete VB example but I didn't find a solution there. -Tyler |
Follow us on