B
Bear
Does anyone know how to fix this behavior? I have a custom form for
cross-references. This uses the GetCrossReferenceItems method of the active
document to fill a variant array. I then unpack the array into my form list
box.
In some sessions, the lists fill only partially -- because the array is only
filled partly. For example, I may have ten chapters, but the method only
seems to return two x-refs. However, if I step through this code it works
perfectly. It almost seems like a timing issue.
I added a DoEvents before I execute method, and that seemed to help for
awhile, but now it's misbehaving again.
Any ideas?
cross-references. This uses the GetCrossReferenceItems method of the active
document to fill a variant array. I then unpack the array into my form list
box.
In some sessions, the lists fill only partially -- because the array is only
filled partly. For example, I may have ten chapters, but the method only
seems to return two x-refs. However, if I step through this code it works
perfectly. It almost seems like a timing issue.
I added a DoEvents before I execute method, and that seemed to help for
awhile, but now it's misbehaving again.
Any ideas?