Budified
asked on
ERROR 'Button16" is not a member of Test.FormName
I have been successfully using a Button on a form for more than a year in Visual Basic 2005
After moving this Button into a Panel control I started getting the following run time error:
'Button16’ is not a member of Test.FormName
I continued to get this error even when the button was taken out of the Panel control and moved back to its original location on the form. When programing (i.e.; me. button16.visible = false) I get the same error. However all the Events associated with this button continue to function.
When I type “me.” the intellisense (sp?) box list all of the components on this form except Button16. It even shows the Events associated with button16 (i.e.; button16_ click) but not button16. As if there was no button on the form with this name.
I am now unable to change any of button16 's properties within the program.
Why would the program no longer recognize the existence of a button?
Thanks for the help,
After moving this Button into a Panel control I started getting the following run time error:
'Button16’ is not a member of Test.FormName
I continued to get this error even when the button was taken out of the Panel control and moved back to its original location on the form. When programing (i.e.; me. button16.visible = false) I get the same error. However all the Events associated with this button continue to function.
When I type “me.” the intellisense (sp?) box list all of the components on this form except Button16. It even shows the Events associated with button16 (i.e.; button16_ click) but not button16. As if there was no button on the form with this name.
I am now unable to change any of button16 's properties within the program.
Why would the program no longer recognize the existence of a button?
Thanks for the help,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER