Hi,
I don't understand why this doesn't work: -
The Initiate subroutine is ok, but the form is displayed, since I'm trying to write a program to work in the background I'm a bit displeased.Code:Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.Hide() Initiate() End Sub
I tried Me.Visible = False, but: -
(a) I'm surprised it wasn't flagged as an error... I don't believe Forms have a Visible attribute.
(b) That didn't work either.
I'm pretty sure I've used Me.Hide in this way before, (I'm on vacation with a new laptop so I don't have previous projects to check) This machine's OS is Win.7 64Bit I'm wondering if that has any bearing.
Hopefully I'm doing something basically wrong and you guys can put me straight or if I'm not, you can suggest something else.
Poppa.




Reply With Quote