[RESOLVED] why would a form start up like this (see pic)
http://i40.tinypic.com/xm99mu.png
i have vista, i checked the windowstate property it was set to normal. i dont know what could be wrong.
EDIT: it seems that this code is causing the problem but why?
Code:
Dim lbl As New Label
With lbl
Location = New Point(548, 511)
Text = "ProgramerID: 86162"
Height = 25
Width = 150
End With
Re: why would a form start up like this (see pic)
vb Code:
Dim lbl As New Label
With lbl
.Location = New Point(548, 511)
.Text = "ProgramerID: 86162"
.Height = 25
.Width = 150
End With
Re: why would a form start up like this (see pic)
doh when i checked my email i saw that someone had answered it. so i switched back to this tab and i was halfway done typing another edit. i removed the whole with thing and it worked.
Re: why would a form start up like this (see pic)
when you use with it adds that (in this case lbl) to the start of the statements in the with block. what you did was changing the form location, text, height, + width