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

Visual Basic

 
AnswerRe: GetType of variable before deserialization possible? Pin
Ralf Meier12-Mar-19 22:15
mveRalf Meier12-Mar-19 22:15 
AnswerRe: GetType of variable before deserialization possible? Pin
Eddy Vluggen13-Mar-19 0:24
professionalEddy Vluggen13-Mar-19 0:24 
AnswerRe: GetType of variable before deserialization possible? Pin
Dave Kreskowiak13-Mar-19 4:36
mveDave Kreskowiak13-Mar-19 4:36 
QuestionSum data from datagridview with same criteria Pin
Member 1417921111-Mar-19 22:29
Member 1417921111-Mar-19 22:29 
AnswerRe: Sum data from datagridview with same criteria Pin
Richard MacCutchan11-Mar-19 23:40
mveRichard MacCutchan11-Mar-19 23:40 
QuestionHow to add 3 IF conditions at VB Pin
RedPandinus10-Mar-19 22:48
RedPandinus10-Mar-19 22:48 
AnswerRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan10-Mar-19 22:55
mveRichard MacCutchan10-Mar-19 22:55 
GeneralRe: How to add 3 IF conditions at VB Pin
RedPandinus10-Mar-19 23:07
RedPandinus10-Mar-19 23:07 
Hi Richard,

Let me clarify, I have 3 areas, name, phone and email. program should warn and shouldnt add it to db if name or phone or email is already at db.


Private Sub btnSave_Click(sender As System.Object, e As System.EventArgs) Handles btnSave.Click
     
        If txtFullname.Text = "" Or IsNothing(txtFullname.Text) Or txtFullname.Text.Length = 0 Then
            MessageBox.Show("test", "Warning",
                            MessageBoxButtons.OK, MessageBoxIcon.Warning)
            txtFullname.Focus()
            Exit Sub
        End If
    
        If NewData Then
       
            strSQL = _
                " SELECT Count(tblContact.Fullname) AS CountFullname FROM tblContact " & _
                " WHERE Fullname = " & "'" & txtFullname.Text & "'"
            If DuplicateName(strSQL) Then
                MessageBox.Show("Test", "Warning",
                                MessageBoxButtons.OK, MessageBoxIcon.Warning)
                txtFullname.Focus()
                Exit Sub
            End If

GeneralRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan10-Mar-19 23:38
mveRichard MacCutchan10-Mar-19 23:38 
SuggestionRe: How to add 3 IF conditions at VB Pin
Richard Deeming11-Mar-19 9:29
mveRichard Deeming11-Mar-19 9:29 
GeneralRe: How to add 3 IF conditions at VB Pin
Mycroft Holmes11-Mar-19 11:39
professionalMycroft Holmes11-Mar-19 11:39 
GeneralRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan11-Mar-19 22:15
mveRichard MacCutchan11-Mar-19 22:15 
GeneralRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan11-Mar-19 22:16
mveRichard MacCutchan11-Mar-19 22:16 
QuestionRead a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest9-Mar-19 19:32
jhane Harvest9-Mar-19 19:32 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Richard MacCutchan9-Mar-19 21:50
mveRichard MacCutchan9-Mar-19 21:50 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Ralf Meier10-Mar-19 22:13
mveRalf Meier10-Mar-19 22:13 
GeneralRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest10-Mar-19 22:28
jhane Harvest10-Mar-19 22:28 
SuggestionRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
Ralf Meier11-Mar-19 1:17
mveRalf Meier11-Mar-19 1:17 
GeneralRe: Read a messages in vb.net, itry to create a script that can read a sms if someone reply to your text via gsm modem. Pin
jhane Harvest11-Mar-19 14:46
jhane Harvest11-Mar-19 14:46 
QuestionSyntax Error (Missing Operation) in query expression Pin
RedPandinus9-Mar-19 5:47
RedPandinus9-Mar-19 5:47 
AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Gerry Schmitz9-Mar-19 11:02
mveGerry Schmitz9-Mar-19 11:02 
GeneralRe: Syntax Error (Missing Operation) in query expression Pin
RedPandinus9-Mar-19 11:11
RedPandinus9-Mar-19 11:11 
GeneralRe: Syntax Error (Missing Operation) in query expression Pin
Mycroft Holmes9-Mar-19 11:40
professionalMycroft Holmes9-Mar-19 11:40 
AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Richard Deeming11-Mar-19 9:27
mveRichard Deeming11-Mar-19 9:27 
AnswerRe: Syntax Error (Missing Operation) in query expression Pin
Mycroft Holmes11-Mar-19 11:37
professionalMycroft Holmes11-Mar-19 11:37 

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.