Click here to Skip to main content
15,886,016 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Text Box and String Manipulation Pin
Luc Pattyn10-Apr-08 12:44
sitebuilderLuc Pattyn10-Apr-08 12:44 
GeneralRefreshing the program Pin
mykingdomforanewusername10-Apr-08 7:45
mykingdomforanewusername10-Apr-08 7:45 
GeneralRe: Refreshing the program Pin
Dave Kreskowiak10-Apr-08 9:24
mveDave Kreskowiak10-Apr-08 9:24 
GeneralRe: Refreshing the program Pin
Luc Pattyn10-Apr-08 11:04
sitebuilderLuc Pattyn10-Apr-08 11:04 
Generalresponse.redirect Pin
screwfunk0110-Apr-08 7:37
screwfunk0110-Apr-08 7:37 
GeneralRe: response.redirect Pin
jzonthemtn10-Apr-08 7:43
jzonthemtn10-Apr-08 7:43 
GeneralRe: response.redirect Pin
Herl the Pearl10-Apr-08 23:44
Herl the Pearl10-Apr-08 23:44 
Questioninsert time..can any1 teach me.. [modified] Pin
Member 444291610-Apr-08 5:42
Member 444291610-Apr-08 5:42 
can anyone help me out...i can show time in text box..how do i save it by insert sql statement....and hw can i insert into database
my quetion is..once enter pass and id..date and time will automatically insert to database..so end of the month i can retrive in crystal report.

Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click<br />
        Dim dateTimeInfo As DateTime = DateTime.Now<br />
<br />
<br />
        Dim Emp_IDDataRow As DataRow<br />
        Comdataset = Com.getCOMDataset<br />
        Emp_IDDataRow = Comdataset.EMPLOYEE_DETAIL.FindByEmp_ID(txtID.Text)<br />
        With Me<br />
            If Emp_IDDataRow IsNot Nothing Then<br />
                txtPass.Text = Emp_IDDataRow!Password.ToString<br />
                MessageBox.Show("Login Successful!", "infor", MessageBoxButtons.OK, MessageBoxIcon.Information)<br />
                Me.TextBox1.Text = .getdate()<br />
                txttime.Text = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now)<br />
                txttime.DataBindings.Add("text", LOGIN_OUTBindingSource, "LogIn_time")<br />
                MessageBox.Show(dateTimeInfo)<br />
                Form2.Show()<br />
                           ElseIf Emp_IDDataRow IsNot Nothing Then<br />
                MessageBox.Show("Invalid Password!", "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)<br />
            ElseIf Emp_IDDataRow IsNot Nothing Then<br />
                MessageBox.Show("Invalid ID", "ERROR", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error)<br />
            End If


thanks in advanced

modified on Thursday, April 10, 2008 12:20 PM

GeneralRe: insert time..can any1 teach me.. Pin
Dave Kreskowiak10-Apr-08 7:23
mveDave Kreskowiak10-Apr-08 7:23 
GeneralRe: insert time..can any1 teach me.. Pin
Christian Graus10-Apr-08 13:35
protectorChristian Graus10-Apr-08 13:35 
GeneralRe: insert time..can any1 teach me.. Pin
Dave Kreskowiak10-Apr-08 16:03
mveDave Kreskowiak10-Apr-08 16:03 
QuestionHow can I monitoring dial and how to Disconnect for POCKET PC Pin
smsm365010-Apr-08 4:59
smsm365010-Apr-08 4:59 
AnswerRe: How can I monitoring dial and how to Disconnect for POCKET PC Pin
Dave Kreskowiak10-Apr-08 9:53
mveDave Kreskowiak10-Apr-08 9:53 
GeneralRe: How can I monitoring dial and how to Disconnect for POCKET PC Pin
smsm365010-Apr-08 12:23
smsm365010-Apr-08 12:23 
GeneralRe: How can I monitoring dial and how to Disconnect for POCKET PC Pin
Dave Kreskowiak10-Apr-08 12:34
mveDave Kreskowiak10-Apr-08 12:34 
GeneralHelp with Parent/Child Forms Pin
gates0910-Apr-08 3:54
gates0910-Apr-08 3:54 
GeneralRe: Help with Parent/Child Forms Pin
jzonthemtn10-Apr-08 5:47
jzonthemtn10-Apr-08 5:47 
GeneralRe: Help with Parent/Child Forms Pin
gates0910-Apr-08 6:28
gates0910-Apr-08 6:28 
Generalexcel dll Pin
helelark12310-Apr-08 3:45
helelark12310-Apr-08 3:45 
GeneralRe: excel dll Pin
Tim Carmichael10-Apr-08 6:55
Tim Carmichael10-Apr-08 6:55 
QuestionHow to create an instance Pin
Betelgueuse210-Apr-08 2:09
Betelgueuse210-Apr-08 2:09 
AnswerRe: How to create an instance Pin
Guffa10-Apr-08 6:53
Guffa10-Apr-08 6:53 
GeneralVBA Merged Cells and Wrapped Text Pin
Brendan Vogt10-Apr-08 1:34
Brendan Vogt10-Apr-08 1:34 
Questiontool for styling Pin
asha_s9-Apr-08 23:44
asha_s9-Apr-08 23:44 
JokeRe: tool for styling Pin
ChandraRam10-Apr-08 1:29
ChandraRam10-Apr-08 1:29 

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.