I just spent a while trying to understand a bug I had which only happened with the compiled exe, but not the source code.
I had an Image control being populated at the end of a subroutine. It worked fine in source but the exe file would not re-populate the image control with a new image. The image seemed frozen with the first image it was populated with.
I tried everything, refresh, hiding and reshowing, etc. Finally I got it to work by simply moving the code that assigned a picture to this image control to the top of the subroutine (it was at the end of the code).
There was no other code that was 'getting in the way' of this image code being correctly processed.
I vaguely recall an error like this with, C, I think. It was something to do with how the code was compiled down to exe binary. I could post the relevent code but I suspect it would be spurious.
Don't you just love programming? :BangHead: :sign0089:
I had an Image control being populated at the end of a subroutine. It worked fine in source but the exe file would not re-populate the image control with a new image. The image seemed frozen with the first image it was populated with.
I tried everything, refresh, hiding and reshowing, etc. Finally I got it to work by simply moving the code that assigned a picture to this image control to the top of the subroutine (it was at the end of the code).
There was no other code that was 'getting in the way' of this image code being correctly processed.
I vaguely recall an error like this with, C, I think. It was something to do with how the code was compiled down to exe binary. I could post the relevent code but I suspect it would be spurious.
Don't you just love programming? :BangHead: :sign0089: