May 4th, 2004, 08:55 AM
#1
Thread Starter
Hyperactive Member
Form load error?
If I use
to show a first form it goes well...
When I try a little further in the code to call a second form with
he doesn't know the method 'show'...
He only knows
Code:
Form2.showwhatsthis
*** did I do wrong?
Anyone familiar with this problem?
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
May 4th, 2004, 09:00 AM
#2
Might sound like a dumb question, but is Form2 actually a form, or is it some control?
May 4th, 2004, 09:02 AM
#3
I was going to ask the same thing - couldn't resist.
May 4th, 2004, 09:10 AM
#4
Frenzied Member
Right click on form2 in the code and click on DEFINITION.
This should lead you to the top line of the form's code.. however, if it doesn't it should lead you to the VARIABLE or OBJECT that has foolishly been called "form2"... !!
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
May 4th, 2004, 09:14 AM
#5
Thread Starter
Hyperactive Member
Attached Images
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
May 4th, 2004, 09:15 AM
#6
Frenzied Member
Have you tried my suggestion? Right click on form2 in your code, and click on DEFINITION.
I'm guessing someone has DIMmed a variable as FORM2 in the module or form the error occurs in..
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
May 4th, 2004, 09:17 AM
#7
Thread Starter
Hyperactive Member
Ok... Doh!!!!
I had a frame called frmProducten, while I just added another form called the same...
Thx to all! ;-)
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
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