Hi
try this
------------------------------
Dim foo As New Form2
Private Sub Form1_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
foo.Show()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
'call the button on form 2
foo.ButtonOnForm2.PerformClick()
'call a sub on from2
foo.subOnForm2()
End Sub
-----------------------------------
/jens
"eveready" <an*******@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.com...
Hello,
I have two forms - a start form running in the background and a content
form in the foreground. When a timer fires on the start form, I need to
fire the click event for a button on the other form. I have delcalered the
2nd form as a friend, but still cannot get to the button's click event.
Any help would be very appreciated -
thnx