I'm trying to bind an opc simulator tag to the CWNumEdit control in VB6 so that each time it is updated, it will be displayed on the screen.
I have done this successfully with an LED display (CWKnob) with no problems, I added a cwnumedit control and occasionally (more often than not) receive the following message after closing the screen with the cwnumedit control on it:
The exception Breakpoint
A breakpoint has been reached.
(0x80000003) occurred in the application at location 0x0787x9ea.
Click on OK to terminate the program
Click on CANCEL to debug the program
Clicking on either then brings up the following:
An exception 'Unhandled Win32 Exception' has occurred in VB6.exe
However, no debuggers are registere
d that can debug this application. Unable to JIT debug.
The program will then crash completely. This seems to happen regardless of which OPC server I connect to. I am connecting via code rather than the properties of the control, using the line:
CWAngleS1.CWBindings(1).URL = "opc://localhost/ICONICS.Simulator/SimulatePLC.PumpStatus"
As I said, no problems with the LED's being displayed, just the cwnumedit that crashes everything.
I'm running:
Win 2K SP3
MS v6.0 (589)
VB 6.0 SP 5
Any assistance would be greatly appreciated!