Visual Basic 6.0 Projects With Source Code -

(using ADODB):

' Requires: Microsoft Windows Media Player component (MSCOMCTL.OCX) Private Sub lstPlaylist_Click() If lstPlaylist.ListIndex >= 0 Then wmpPlayer.URL = lstPlaylist.List(lstPlaylist.ListIndex) lblCurrentlyPlaying.Caption = "Now Playing: " & GetFileName(wmpPlayer.URL) End If End Sub Private Sub cmdPlay_Click() wmpPlayer.Controls.Play End Sub visual basic 6.0 projects with source code

Private Sub cmdAdd_Click() If txtName.Text = "" Then MsgBox "Enter student name", vbExclamation Exit Sub End If With rsStudents .AddNew !RollNo = txtRollNo.Text !StudentName = txtName.Text !Marks = txtMarks.Text .Update End With (using ADODB): ' Requires: Microsoft Windows Media Player