Click here to Skip to main content
15,879,239 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Open, read and extract pdf's doc. Pin
Dave Kreskowiak13-Jan-22 8:33
mveDave Kreskowiak13-Jan-22 8:33 
GeneralRe: Open, read and extract pdf's doc. Pin
Member 1490245414-Jan-22 0:25
Member 1490245414-Jan-22 0:25 
AnswerRe: Open, read and extract pdf's doc. Pin
CHill6014-Jan-22 1:27
mveCHill6014-Jan-22 1:27 
QuestionHow do I get the propertyname of WPF control? Pin
Steve Krozer7-Jan-22 0:30
Steve Krozer7-Jan-22 0:30 
Rant[REPOST] How do I get the propertyname of WPF control? Pin
Richard Deeming7-Jan-22 0:38
mveRichard Deeming7-Jan-22 0:38 
QuestionExtracting username from a access database to show username after logging on Pin
Jeremy Haley 20226-Jan-22 4:14
Jeremy Haley 20226-Jan-22 4:14 
AnswerRe: Extracting username from a access database to show username after logging on Pin
Richard MacCutchan6-Jan-22 5:47
mveRichard MacCutchan6-Jan-22 5:47 
GeneralRe: Extracting username from a access database to show username after logging on Pin
Jeremy Haley 20226-Jan-22 5:55
Jeremy Haley 20226-Jan-22 5:55 
Thank you for the quick reply. I am trying to understand this, sorry. So I have in my button the following. So when I get to form2 (Form2.Show) how would I pull out the username from the MDB file.

Dim connab As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\test\1274-Users.accdb")
REM Dim cmd As New OleDbCommand("select* from login1 where user1=@userl and pass1=@pass1", connab)
Dim cmd As New OleDbCommand("select* from login1 where pass1=@pass1", connab)
REM cmd.Parameters.Add("@userl", OleDbType.VarChar).Value = TextBox1.Text
cmd.Parameters.Add("@pass1", OleDbType.VarChar).Value = TextBox2.Text
Dim adapter1 As New OleDbDataAdapter(cmd)
Dim table As New DataTable
adapter1.Fill(table)
If table.Rows.Count <= 0 Then
MsgBox("ERROR: NO PASSWORD OR INCORRECT PASSWORD")
TextBox2.Text = ""
Else
TextBox2.Text = ""
Form2.Show()
Me.Visible = False
GeneralRe: Extracting username from a access database to show username after logging on Pin
Richard MacCutchan6-Jan-22 6:53
mveRichard MacCutchan6-Jan-22 6:53 
SuggestionRe: Extracting username from a access database to show username after logging on Pin
Richard Deeming6-Jan-22 5:57
mveRichard Deeming6-Jan-22 5:57 
Questioncombine two datatable Pin
Member 143292662-Jan-22 17:44
Member 143292662-Jan-22 17:44 
AnswerRe: combine two datatable Pin
Richard Deeming3-Jan-22 23:54
mveRichard Deeming3-Jan-22 23:54 
GeneralRe: combine two datatable Pin
Member 143292665-Jan-22 15:16
Member 143292665-Jan-22 15:16 
AnswerRe: combine two datatable Pin
Raphael Adeniji7-May-22 5:09
Raphael Adeniji7-May-22 5:09 
QuestionFind the 4th Tue of the Month when the Year changes Pin
Choroid30-Dec-21 8:41
Choroid30-Dec-21 8:41 
AnswerRe: Find the 4th Tue of the Month when the Year changes Pin
Gerry Schmitz30-Dec-21 9:37
mveGerry Schmitz30-Dec-21 9:37 
GeneralRe: Find the 4th Tue of the Month when the Year changes Pin
Choroid30-Dec-21 10:30
Choroid30-Dec-21 10:30 
AnswerRe: Find the 4th Tue of the Month when the Year changes Pin
Thava Rajan31-Dec-21 14:13
professionalThava Rajan31-Dec-21 14:13 
GeneralRe: Find the 4th Tue of the Month when the Year changes Pin
Choroid1-Jan-22 2:18
Choroid1-Jan-22 2:18 
QuestionI need help. how do i code it??? Pin
Member 1548021627-Dec-21 15:33
Member 1548021627-Dec-21 15:33 
AnswerRe: I need help. how do i code it??? Pin
Richard MacCutchan27-Dec-21 21:46
mveRichard MacCutchan27-Dec-21 21:46 
QuestionHow to display actual values on a chart using the Mouse_Move event. Pin
zomalaja25-Dec-21 13:10
zomalaja25-Dec-21 13:10 
QuestionHow to BitConverter.GetBytes() return 2 digits only Pin
EngrImad3-Dec-21 23:39
EngrImad3-Dec-21 23:39 
GeneralRe: How to BitConverter.GetBytes() return 2 digits only Pin
Richard MacCutchan4-Dec-21 0:18
mveRichard MacCutchan4-Dec-21 0:18 
AnswerRe: How to BitConverter.GetBytes() return 2 digits only Pin
EngrImad4-Dec-21 1:54
EngrImad4-Dec-21 1:54 

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.