OWC crashes in event procedure

I

Iain

I'm using the spreadsheet component in VB6, and keep having my
application crash on me at the end of one specific event routine. What
happens is this:


1. I start the application and enter data in a cell in the
spreadsheet.
2. There are two objects trapping events for the spreadsheet. The
SheetChange event fires, correctly, in first one then the other. I do
some checking of the input value at this point, and raise a public
event for other applications.
3. Now the strange part. If I am running the application in the
development environment, another event, "CommandBeforeExecute", fires,
and the command is ssCommmandMoveNext. This works fine, most of the
time, although sometimes it crashes. If however I am running the
compiled application, it always crashes right at the end of the second
SheetChange.

What is going on? Can anyone help?

Iain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top