vb.net forms properties

  • Thread starter Thread starter campbellbrian2001
  • Start date Start date
C

campbellbrian2001

I'm a newbie to vb.net (I'm used to vb6.0/MSaccess) so help! I've built
a form and need to set some code for "On Load" but I don't see it in
the properties. Must I hard code this?
Thanks! brian
 
I'm a newbie to vb.net (I'm used to vb6.0/MSaccess) so help! I've built
a form and need to set some code for "On Load" but I don't see it in
the properties.

onLoad?? that sounds more like JavaScript!

In VB.Net, you would handle the Load Event of your Form [class],
with a routine something like this :

Private Sub Form_Load( _
ByVal sender as Object _
, ByVal e as EventArgs _
) Handles MyBase.Load

' Your code goes here

End Sub

HTH,
Phill W.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top