Results 1 to 4 of 4
  1. #1
    EndRiT's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    USSR
    Posts
    12,751
    Reputation
    170
    Thanks
    4,294,967,295

    Code For Login Form in VB

    [PHP]Public Class LoginForm1

    ' TODO: Insert code to perform custom authentication using the provided username and password
    ' (See Welcome to the MSDN Library).
    ' The custom principal can then be attached to the current thread's principal as follows:
    ' My.User.CurrentPrincipal = CustomPrincipal
    ' where CustomPrincipal is the IPrincipal implementation used to perform authentication.
    ' Subsequently, My.User will return identity information encapsulated in the CustomPrincipal object
    ' such as the username, display name, etc.

    Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
    Me.Close()
    End Sub

    Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel.Click
    Me.Close()
    End Sub

    Private Sub UsernameTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UsernameTextBox.TextChanged

    End Sub
    End Class[/PHP]

    Someone try it, see if it works
    Last edited by EndRiT; 11-17-2007 at 04:34 AM.

  2. The Following User Says Thank You to EndRiT For This Useful Post:

    Jamster09 (04-07-2009)

  3. #2
    EndRiT's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    USSR
    Posts
    12,751
    Reputation
    170
    Thanks
    4,294,967,295
    Also try this for a splash screen:

    [PHP]Public NotInheritable Class SplashScreen1

    'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab
    ' of the Project Designer ("Properties" under the "Project" menu).


    Private Sub SplashScreen1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    'Set up the dialog text at runtime according to the application's assembly information.

    'TODO: Customize the application's assembly information in the "Application" pane of the project
    ' properties dialog (under the "Project" menu).

    'Application title
    If My.Application.Info.Title <> "" Then
    ApplicationTitle.Text = My.Application.Info.Title
    Else
    'If the application title is missing, use the application name, without the extension
    ApplicationTitle.Text = System.IO.Path.GetFileNameWithoutExtension(My.Appl ication.Info.AssemblyName)
    End If

    'Format the version information using the text set into the Version control at design time as the
    ' formatting string. This allows for effective localization if desired.
    ' Build and revision information could be included by using the following code and changing the
    ' Version control's designtime text to "Version {0}.{1:00}.{2}.{3}" or something similar. See
    ' String.Format() in Help for more information.
    '
    ' Version.Text = System.String.Format(Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor, My.Application.Info.Version.Build, My.Application.Info.Version.Revision)

    Version.Text = System.String.Format(Version.Text, My.Application.Info.Version.Major, My.Application.Info.Version.Minor)

    'Copyright info
    Copyright.Text = My.Application.Info.Copyright
    End Sub

    Private Sub MainLayoutPanel_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MainLayoutPanel.Paint

    End Sub[/PHP]

  4. #3
    Nurbek92's Avatar
    Join Date
    Feb 2007
    Location
    Marien, camping with a tent
    Posts
    270
    Reputation
    11
    Thanks
    7
    nice but doesnt this belong in the vb section?

  5. #4
    Niratsio's Avatar
    Join Date
    Aug 2007
    Posts
    458
    Reputation
    10
    Thanks
    26
    Yes,

    And dont double post edit your post =_-

Similar Threads

  1. [PREMIUM] Trade my 3 Retail Promo Codes for Higt Level Account.
    By alpha01 in forum Trade Accounts/Keys/Items
    Replies: 15
    Last Post: 08-15-2007, 12:49 PM
  2. [a little off topic] sellin 7 day ak47 code for warrock
    By m164life in forum WarRock - International Hacks
    Replies: 8
    Last Post: 03-07-2007, 08:33 PM
  3. Unlock code for mobile.
    By Dmx in forum General
    Replies: 4
    Last Post: 01-14-2007, 07:23 PM
  4. SERIAL CODE FOR PHOTOSHOP 9!!!!!!!! 100% working
    By -[standoff]- in forum Art & Graphic Design
    Replies: 10
    Last Post: 07-29-2006, 05:35 AM
  5. Replies: 37
    Last Post: 06-20-2006, 04:24 PM