IMPORTANT NOTE:

  • 14 years ago

    Use the  Imports statement just above where it says Public Class LoginForm1.

    It will look like this

    Imports System.Data.SqlClient

    Public Class LoginForm1

    Private Sub OKClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click

    the code goes here to that was given earlier

    End Sub

    Private

    Sub Cancel
    Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click

    Me.Close()

    End Sub

    End

    Class

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There's no test like production” - Anon