Hi I Need Help about using Visual Basic 6 2013
How do you make buttons go to other windows?

Recommended Answers

All 2 Replies

Hi

What version of Visual Basic are you using? You have posted in the VB 6 forum but mention Visual Basic 6 2013 so wondering if you are in fact using VB.NET?

Also, can you clarify what you mean by making buttons go to other windows? Do you mean, how do I show another form (window) when I click a button or do you mean something else entirely?

if you are using vb6, then just design the button1 on form1 and then insert another form named form2, double click on button1 and copy and paste the code there.

Option Explicit
Private Sub Command1_Click()
Form2.Show
End Sub

now run your app and see the result.
Regards,

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.