Click here to Skip to main content
15,936,395 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalconvert a text file to hexa file Pin
maboelectro9-Apr-08 9:39
maboelectro9-Apr-08 9:39 
GeneralRe: convert a text file to hexa file Pin
Dave Kreskowiak9-Apr-08 10:30
mveDave Kreskowiak9-Apr-08 10:30 
GeneralRe: convert a text file to hexa file Pin
Christian Graus9-Apr-08 11:18
protectorChristian Graus9-Apr-08 11:18 
Questionregard insert time [modified] Pin
Member 44429169-Apr-08 5:46
Member 44429169-Apr-08 5:46 
GeneralRe: regard insert time Pin
Steven J Jowett9-Apr-08 6:11
Steven J Jowett9-Apr-08 6:11 
GeneralRe: regard insert time Pin
Member 44429169-Apr-08 6:18
Member 44429169-Apr-08 6:18 
GeneralRe: regard insert time Pin
Dave Kreskowiak9-Apr-08 6:33
mveDave Kreskowiak9-Apr-08 6:33 
GeneralRe: Help..urgent...insert time to database [modified] Pin
Member 44429169-Apr-08 6:45
Member 44429169-Apr-08 6:45 
actually tht is a part...my question is ragard once user enter their password..the datetimepicker will automatically store into database..

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click<br />
<br />
   Dim Emp_IDDataRow As DataRow<br />
Emp_IDDataRow = Comdataset.EMPLOYEE_DETAIL.FindByEmp_ID(txtID.Text)<br />
       <br />
 If Emp_IDDataRow IsNot Nothing Then<br />
  If txtPass.Text = Emp_IDDataRow!Password.ToString Then<br />
   MessageBox.Show("Login Successful!", "infor", MessageBoxButtons.OK, MessageBoxIcon.Information)<br />
   With Me<br />
  if txtPass.text=true then<br />
    .LOGIN_OUTTableAdapter.InsertQueryEmp(.Login_DateDateTimePicker.Value)<br />
    .LOGIN_OUTTableAdapter.Fill(.Definition_dbDataSet._LOGIN_OUT)<br />
      Else<br />
  (part below for logout)<code><br />
    .LOGIN_OUTTableAdapter.InsertQueryEmp(.Login_DateDateTimePicker.Value)<br />
    .LOGIN_OUTTableAdapter.Fill(.Definition_dbDataSet._LOGIN_OUT)

End If
End With
Form2.Show()
Else
MessageBox.Show("Invalid Password!", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)
End If
Else
MessageBox.Show("Invalid ID", "ERROR", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)
End If

this maybe can show more..thanks
error given me was
Error 2 Argument not specified for parameter 'Emp_ID' of
'Public Overridable Overloads Function InsertQueryEmp(Log_No As String, Emp_ID As String)

modified on Wednesday, April 9, 2008 9:30 PM

GeneralRe: Help..urgent...insert time to database Pin
Johan Hakkesteegt9-Apr-08 20:03
Johan Hakkesteegt9-Apr-08 20:03 
QuestionAdd Command Crystal Report not updating parameter Pin
liona9-Apr-08 4:08
liona9-Apr-08 4:08 
Questionhow to operate the code if the text in the textbox change Pin
shee_dee869-Apr-08 3:42
shee_dee869-Apr-08 3:42 
AnswerRe: how to operate the code if the text in the textbox change Pin
Ashish Sehajpal9-Apr-08 4:15
Ashish Sehajpal9-Apr-08 4:15 
GeneralRe: how to operate the code if the text in the textbox change Pin
shee_dee8610-Apr-08 22:52
shee_dee8610-Apr-08 22:52 
QuestionGeneric Methods : Pin
Feras Mazen Taleb9-Apr-08 3:27
Feras Mazen Taleb9-Apr-08 3:27 
GeneralRe: Generic Methods : Pin
Dave Kreskowiak9-Apr-08 6:25
mveDave Kreskowiak9-Apr-08 6:25 
GeneralRe: Generic Methods : Pin
Christian Graus9-Apr-08 11:20
protectorChristian Graus9-Apr-08 11:20 
GeneralRe: Generic Methods : Pin
Dave Kreskowiak9-Apr-08 12:32
mveDave Kreskowiak9-Apr-08 12:32 
GeneralText in form title bar not keeping up (me.text) Pin
Johan Hakkesteegt9-Apr-08 2:19
Johan Hakkesteegt9-Apr-08 2:19 
GeneralRe: Text in form title bar not keeping up (me.text) Pin
ChandraRam9-Apr-08 2:34
ChandraRam9-Apr-08 2:34 
GeneralRe: Text in form title bar not keeping up (me.text) Pin
Johan Hakkesteegt9-Apr-08 3:16
Johan Hakkesteegt9-Apr-08 3:16 
GeneralRe: Text in form title bar not keeping up (me.text) Pin
ChandraRam9-Apr-08 5:43
ChandraRam9-Apr-08 5:43 
GeneralRe: Text in form title bar not keeping up (me.text) Pin
Dave Kreskowiak9-Apr-08 5:48
mveDave Kreskowiak9-Apr-08 5:48 
Generaloptional parameter Pin
helelark1239-Apr-08 1:22
helelark1239-Apr-08 1:22 
GeneralRe: optional parameter Pin
Christian Graus9-Apr-08 2:06
protectorChristian Graus9-Apr-08 2:06 
GeneralRe: optional parameter Pin
helelark1239-Apr-08 2:30
helelark1239-Apr-08 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.