Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim save As Integer save = MsgBox("Do you want to save your recording video", MsgBoxStyle.YesNo + MsgBoxStyle.Information, "Recording Video") If (save = MsgBoxResult.Yes) Then Dim saveName As New SaveFileDialog saveName.Filter = "Avi file(*.avi)|*.avi" If saveName.ShowDialog = Windows.Forms.DialogResult.OK Then ' SendMessage(hWnd, WM_CAP_FILE_SAVEAS, 0, "C:\RecordedVideo.avi") SendMessage(hWnd, WM_CAP_FILE_SAVEAS, 0, saveName.FileName) End If End If Me.Cursor = System.Windows.Forms.Cursors.Default Button2.Enabled = True Button3.Enabled = False End Sub
Quote: [^] [^] [^] refer these articles
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)