hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form.

ex. form 2 command button will be activated by manipulating it in form 1.

i had this syntax for form 1 cmdActivate

form2.cmdAdd.Enabled=false

will form 2's command button be disabled?

please help. i can't work on it right now. my visual basic 6.0 got infected.

that should work for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.