CellulaS's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
58 (0.07 per day)
Joined:
19-June 12
Profile Views:
455
Last Active:
User is offline Yesterday, 01:00 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   CellulaS has not set their status

Posts I've Made

  1. In Topic: Question how to hide specific menutoolstrip?

    Posted 14 Nov 2014

    i kinda give up just went adding another form redirecting the user to the form anyway thanks.
  2. In Topic: Question how to hide specific menutoolstrip?

    Posted 14 Nov 2014

    just really wanna know how to why my code wont work to hide specific tab group for employee ?
  3. In Topic: Question how to hide specific menutoolstrip?

    Posted 14 Nov 2014

    where can i find some example

    here my login form
    Imports System.Data.SqlClient
    
    Public Class frmlogin
    
        Private Sub CmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLogin.Click
    
            Dim conn As New SqlConnection
            Dim comm As New SqlCommand
            Dim dreader As SqlDataReader
    
            conn.ConnectionString = "Data Source = WIN-RPQMMLPAVFU\SQLEXPRESS; Initial Catalog = db_Cars; Integrated Security = true"
            comm.Connection = conn
            conn.Open()
            comm.CommandText = "Select Username, Password from tbl_Employee where Username =  '" & TextBox1.Text & "' and Password = '" & TextBox2.Text & "' "
    
            dreader = comm.ExecuteReader
    
            If TextBox1.Text = "Administrator " Or TextBox2.Text = "administrator" Then
                TextBox3.Clear()
                TextBox5.Clear()
    
                MsgBox("Successfully Login")
                Main.Show()
                Me.Hide()
    
            ElseIf dreader.HasRows Then
                TextBox4.Clear()
    
    
                MsgBox("Successfully Login")
                Main.Show()
                Me.Hide()
    
                TextBox1.Text = ""
                TextBox2.Text = ""
    
    
            Else
                MsgBox(" Invalid Account ")
    
    
            End If
    
            ' If TextBox1.Text = "bryljoe" And TextBox2.Text = "crusnik.03" Then
            'Timer1.Start()
            'Label3.Show()
            'ProgressBar1.Show()
    
    
    
            ' Else
            ' MsgBox("Incorrect")
            ' Me.Hide()
            ' Me.Show()
    
            ' End If
    
    
    
        End Sub
    
        Private Sub CmdAdmincancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cmdcancel.Click
            Try
                End
    
            Catch ex As Exception
                MessageBox.Show("Error occurred while Closing the Login module", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
    
            End Try
        End Sub
    
        Private Sub frmlogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Me.AcceptButton = CmdLogin
    
        End Sub
    End Class
    
    
    
  4. In Topic: Problem connecting VB.net with sql server 2008

    Posted 30 Oct 2014

    thanks alot i got it fix my sql server 2008 was corrupted had to re-install again thanks alot. i was just testing if i could connect to my server and my localhost sorry to be pain
  5. In Topic: Problem connecting VB.net with sql server 2008

    Posted 30 Oct 2014

    conn.Open("Provider=SQLOLEDB.1;Persist Security Info=False;User ID=;password=;Initial Catalog=Hospital;Data Source=.\SQLEXPRESS") Invalid authorization specification i keep getting problem right here my ms server 2008 .\SQLEXPRESS im only using default. should i download microsoft OLE DB provider for sql server ? could someone help me fix connection for my code

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

CellulaS hasn't added any friends yet.

Comments

CellulaS has no profile comments yet. Why not say hello?