Ok, im almost done with my program all i need now is some scripts. I need to know how i can make a button open a second form in my project. I also need to know how to open notepad with a button. I really need help i will greatly appreciate any thing that will help me.

~thx

Recommended Answers

All 3 Replies

I need to know how i can make a button open a second form in my project

Private Sub Command1_Click()
Form2.Show
End Sub

I also need to know how to open notepad with a button

Private Sub Command1_Click()
    Dim dTaskID As Double, path As String, file As String
    path = "C:\WINDOWS\notepad.exe"
    Shell path, vbNormalFocus
End Sub

Thank You So Much

you're Welcome...
Don't forget to mark this thread solved.

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.