I have converted a VB4 project to VB6 but have encountered a problem with just one form, the form works OK in design time but in exe mode I keep getting
: 91 Object Variable or with block variable not set

I managed to trap it in exe mode using msgboxes indicating which line causes the problem and it turned out to be the "me.show" in the form load. Any ideas as to how do I stop this error occurring in exe mode???