Click here to Skip to main content
15,885,546 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Boss Key in Vb .Net Pin
ZurdoDev6-Aug-19 10:02
professionalZurdoDev6-Aug-19 10:02 
AnswerRe: Boss Key in Vb .Net Pin
Richard MacCutchan6-Aug-19 20:06
mveRichard MacCutchan6-Aug-19 20:06 
QuestionSource Convert VB.Net to C# Pin
Baloch_khan6-Aug-19 8:59
Baloch_khan6-Aug-19 8:59 
AnswerRe: Source Convert VB.Net to C# Pin
ZurdoDev6-Aug-19 10:03
professionalZurdoDev6-Aug-19 10:03 
GeneralRe: Source Convert VB.Net to C# Pin
Eddy Vluggen6-Aug-19 12:20
professionalEddy Vluggen6-Aug-19 12:20 
GeneralRe: Source Convert VB.Net to C# Pin
ZurdoDev6-Aug-19 14:59
professionalZurdoDev6-Aug-19 14:59 
AnswerRe: Source Convert VB.Net to C# Pin
Eddy Vluggen6-Aug-19 12:18
professionalEddy Vluggen6-Aug-19 12:18 
QuestionSource Convert VB.Net to C# Pin
Baloch_khan6-Aug-19 8:58
Baloch_khan6-Aug-19 8:58 
Public Sub saveBookingData()
Try
boolSave = False
Dim rsSave As New ADODB.Recordset
With rsSave
sSQL = "Select * From Student_tbl Where RegNo = '" & strEmpID & "' "
.Open(sSQL, cn, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockOptimistic)

If .EOF Then
.AddNew()
rsSave.Fields("RegNo").Value = strEmpID
rsSave.Fields("Student_Name").Value = txtName.Text
rsSave.Fields("Father_Name").Value = txtFather.Text
rsSave.Fields("City_Name").Value = comCity.Text

.Update()
MessageBox.Show("Record Successfully Saved ", "Record Saved", MessageBoxButtons.OK, MessageBoxIcon.Information)

Else
MessageBox.Show("Record Already Exist...", "Not Saved", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
End If

End With
Catch ex As Exception
MessageBox.Show(Err.Description)
End Try
End Sub
Love to Every One

Questionself talking hangman vb console game tutorial Pin
StarTrekCafe29-Jul-19 18:48
StarTrekCafe29-Jul-19 18:48 
AnswerRe: self talking hangman vb console game tutorial Pin
Afzaal Ahmad Zeeshan30-Jul-19 5:32
professionalAfzaal Ahmad Zeeshan30-Jul-19 5:32 
GeneralRe: self talking hangman vb console game tutorial Pin
StarTrekCafe30-Jul-19 17:56
StarTrekCafe30-Jul-19 17:56 
GeneralRe: self talking hangman vb console game tutorial Pin
Dave Kreskowiak31-Jul-19 5:37
mveDave Kreskowiak31-Jul-19 5:37 
GeneralRe: self talking hangman vb console game tutorial Pin
StarTrekCafe31-Jul-19 14:17
StarTrekCafe31-Jul-19 14:17 
GeneralRe: self talking hangman vb console game tutorial Pin
Dave Kreskowiak31-Jul-19 16:13
mveDave Kreskowiak31-Jul-19 16:13 
GeneralRe: self talking hangman vb console game tutorial Pin
StarTrekCafe31-Jul-19 16:19
StarTrekCafe31-Jul-19 16:19 
GeneralRe: self talking hangman vb console game tutorial Pin
Dave Kreskowiak31-Jul-19 16:23
mveDave Kreskowiak31-Jul-19 16:23 
AnswerRe: self talking hangman vb console game tutorial Pin
ZurdoDev6-Aug-19 10:06
professionalZurdoDev6-Aug-19 10:06 
QuestionMatlab DLL Function is returning nothing !! Pin
Member 1454417528-Jul-19 22:43
Member 1454417528-Jul-19 22:43 
QuestionRe: Matlab DLL Function is returning nothing !! Pin
Richard MacCutchan29-Jul-19 4:12
mveRichard MacCutchan29-Jul-19 4:12 
QuestionVB.NET x Google Maps - best routes Pin
Member 1454069824-Jul-19 18:02
Member 1454069824-Jul-19 18:02 
AnswerRe: VB.NET x Google Maps - best routes Pin
Mycroft Holmes24-Jul-19 21:06
professionalMycroft Holmes24-Jul-19 21:06 
AnswerRe: VB.NET x Google Maps - best routes Pin
Richard MacCutchan24-Jul-19 21:12
mveRichard MacCutchan24-Jul-19 21:12 
QuestionOutOfMemoryException in VB.Net Pin
DTGeek19-Jul-19 6:48
DTGeek19-Jul-19 6:48 
AnswerRe: OutOfMemoryException in VB.Net Pin
Gerry Schmitz19-Jul-19 12:06
mveGerry Schmitz19-Jul-19 12:06 
GeneralRe: OutOfMemoryException in VB.Net Pin
DTGeek23-Jul-19 5:14
DTGeek23-Jul-19 5:14 

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.