views:

186

answers:

1

We've got an old VB6 application we wrote about 10 years ago. Back then we had no faith in data binding, so we did all of our own population of controls in code. (Long story, don't ask.) This application is one of our primary apps, so it gets used heavily. Back then, we purchased third party controls for various things, one of them being a replacement for the grid control that came with VB6. Recently one of the forms in this app has started to occasionally give problems. Because we handled the population of controls in code, we assigned column headings to all of the SSDBGrid 3.0 controls in the VB6 IDE. The form that occasionally gives problems has 2 columns with the proper headings, in the VB6 IDE. However, when it gives trouble, then there is only 1 column with a heading of "Column 0". It is almost as if the control is being re-initialized, but I'm not certain of this.

What would cause those old Sheridan SSDBGrid controls to do this?

A: 
CMH
From the VB6 IDE, the column headings look correct. And if I run the app from VB6, the headings look fine.The code that sets the headings occurs in the InitColumnProps event of the SSDBDropDown controls.
Rod
Sorry Rod. I've been trying to think of more to add, but need a bit more detail about how it hangs together and a more clear idea of when the problem is happening. I no longer have a suitable VB6 testing environment either. :-/
CMH