how to stop the other form from appearing when i clicked the item in combo box??

form1.visible = false

i dont know what you are trying to do... you should explain it a little better.

You should provide us more details so we can help you with the proper solution.

You can use the following code -

'On your combo1 click event...
Load Form2
Form2.Hide
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.