|
-
Jun 15th, 2000, 06:52 PM
#1
Thread Starter
New Member
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???
-
Jun 15th, 2000, 07:41 PM
#2
Hyperactive Member
put form_name.show instead where form_name is the name of your form.
-
Jun 15th, 2000, 07:49 PM
#3
_______
forget show
use
Form1.visible = true
Form2.visible=false
changed from show in vb5,6
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 15th, 2000, 08:26 PM
#4
Thread Starter
New Member
Thanks guys but I have tried your two responses to no avail, all other forms in the project are using roughly the same method of calling ("Me.Show") and they show OK, perhaps a control has been corrupted using one of the migration tools, any other ideas apart from repainting the entire form are welcome as the form is fairly complex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|