Jump to content
  • Similar Content

    • By wisel
      Mencari Vb Developer Utk Handwriting Recognition System Using Svm

      harga kalau boleh dibincang kan utk yg berminat

      tolong email sy di [email protected]
    • By NeoLogy
      Salam,

      Aku nak create satu function yang akan check size file. Aku tak perlukan size file yang sebenar kerana function ni cuma perlu check adakah file tersebut lebih besar daripada size yang ditetapkan atau tidak. Ideanya begini; function ni akan read file ni by chunck of data. Let say file tu bersize 1GB. Kalau gunakan GetFileSize(), sudah tentu mengambil masa yang lama untuk dapatkan size file tersebut. Ini akan merugikan masa kerana aku hanya perlu tahu adakah file tersebut bersize lebih daripda 10MB?

      Kalau file lebih daripada 10MB, function akan return true dan return false kalau kurang daripada 10MB. Dengan membaca file by chunck, let say 1024byte on each chunck, kalau total read chunck size lebih daripada 10MB, then automatically return true tanpa perlu baca chunck seterusnya.

      So, nak tanya macam mana nak read file by chunck?
      Kalau ada contoh, lagi bagus. Atau kalau ada mana-mana references ke..
    • By orance
      saya tak tahu macam mana nak buat coding untuk validation password. dia ada 1 button sahaja iaitu button sign in pada interface. hanya 2 user sahaja yang dibenarkan sign in dan interface akan memaparkan gambar user yang log in....

      This program only allows two users to sign-in which means, we have to set the username and password in the program itself.
      User1
      Username: Felix
      Password: sand
      User 2
      Username: Hendry
      3
      Password: flower
      4. Use If…else if statements to verify which user is signing in.
      5. When the user clicks the button Sign In, it will prompt user to enter the first name.
      (Set in your program the username is “Felix”).
      6. After entering the first name, it will prompt again asking for password.
      (Set in your program the password is “sand”).
      If the user entered the correct values for first name and password, it will display the message box greeting the user’s name as follow
      "hello felix!Ready to play
    • By mon678
      Tiada Error tp x kuar data kt text field huhu harap ada org blh membantu
      sy gune visual studio 2008 dan sql server 2005..
      sy membuat sistem gune windows form





      [CODE]Private Sub Cari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cari.Click
      Dim searchby As String = ""
      If ComboBox1.SelectedIndex = -1 Then
      MessageBox.Show("Please select search by field.", "Error")
      ElseIf (txtCari.Text.Trim() = "") Then
      MessageBox.Show("Please enter StafID number or IC number.", "Error")
      ElseIf ComboBox1.SelectedIndex = 0 Then
      searchby = "StafID"
      Else
      searchby = "kp"
      Dim con As SqlConnection = New SqlConnection("server =localhost;database=Library;Integrated Security=True;Trusted_Connection = yes")
      Dim myInsertQuery As String = "SELECT * FROM Staf WHERE " + searchby + " = '" + txtCari.Text + "'"
      Dim myCommand As New SqlCommand(myInsertQuery, con)
      Dim Dr As SqlDataReader
      con.Open()
      Dr = myCommand.ExecuteReader()
      While (Dr.Read())
      txtStaffID.Text = Dr("StafID").ToString()
      txtNama.Text = Dr("nama").ToString()
      txtKP.Text = Dr("kp").ToString()
      'txtDob.Text = Dr("dob").ToString()
      txtAddress.Text = Dr("alamat").ToString()
      txtBandar.Text = Dr("bandar").ToString()
      txtNegeri.Text = Dr("negeri").ToString()
      txtposkod.Text = Dr("poskod").ToString()
      txtNegara.Text = Dr("negara").ToString()
      txtEmail.Text = Dr("email").ToString()
      txthp.Text = Dr("hp").ToString()
      djawatan.SelectedItem = Dr("jawatan").ToString()

      End While

      UbahSuai.Enabled = True
      UbahSuai.Text = "Edit"
      con.Close()
      con.Dispose()
      End If
      End Sub[/CODE]
    • By mie_kkm
      [img]http://i.imgur.com/OpDy2.jpg[/img]
      salam semua...klu bila siap install vb.net pastu bila nak buka projek yg telah kita buat terkeluar benda ni.... projek yg kita buat tu xleh nak buka... napa eh? mintak tolong dari semua yg pakar..... dulu buat projek ni dlm pc (window XP) yg dah sedia ada vb.net... skrg istall kat pc (window 7) tapi xleh nak buka la......
      TOLONG ya
×
×
  • Create New...