Click here to Skip to main content
15,919,434 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Adding Browser Control in VB.Net Pin
pbpb12-Sep-04 22:07
pbpb12-Sep-04 22:07 
GeneralPublic Declare. Pin
benjj10-Sep-04 17:39
benjj10-Sep-04 17:39 
GeneralRe: Public Declare. Pin
Dennis C. Dietrich11-Sep-04 7:17
Dennis C. Dietrich11-Sep-04 7:17 
GeneralRe: Public Declare. Pin
benjj11-Sep-04 18:19
benjj11-Sep-04 18:19 
GeneralEmail body format Pin
kokain10-Sep-04 16:42
kokain10-Sep-04 16:42 
GeneralRe: Email body format Pin
Dave Kreskowiak12-Sep-04 3:48
mveDave Kreskowiak12-Sep-04 3:48 
GeneralRe: Email body format Pin
Anonymous16-Oct-04 11:10
Anonymous16-Oct-04 11:10 
GeneralRecord sound to a WAV file, Using VB6 Pin
scag10-Sep-04 16:30
scag10-Sep-04 16:30 
Hello

I am OK with VB6 language, can not understand VC or much else unless is simply explained.

What i am trying to do is record the sound received from my Hauppauge WinTV USB2 device to a file. I need to start recording to the WAV file and at a set time stop recording, allowing the WAV file to be played like any other WAV or audio file.

I have tried experimenting with code like...
'MCI command to save the WAV file<br />
     i = mciSendString("save capture " & CommonDialog1.FileName, 0&, 0, 0)

... but no WAV file is created

My current success is...
Private Sub Command1_Click()<br />
'Start Recording<br />
    With MMControl1<br />
        .DeviceType = "WaveAudio"<br />
        .FileName = "F:\New.wav"<br />
        .RecordMode = mciRecordOverwrite<br />
        .UpdateInterval = 10<br />
        .Command = "Open"<br />
        .Command = "Record"<br />
    End With<br />
<br />
'End Recording<br />
End Sub<br />
<br />
Private Sub Command2_Click()<br />
    MMControl1.Command = "Save"<br />
    MMControl1.Command = "Close"<br />
End Sub

... but this records any sound, where i only want the sound that the Hauppauge device receives.

Can any one help, hope theres enough information to understand what im trying to do?
Generalenabling/disabling internet access Pin
Asim N.10-Sep-04 9:31
Asim N.10-Sep-04 9:31 
GeneralRe: enabling/disabling internet access Pin
Dave Kreskowiak10-Sep-04 10:09
mveDave Kreskowiak10-Sep-04 10:09 
GeneralRe: enabling/disabling internet access Pin
Mekong River11-Sep-04 5:16
Mekong River11-Sep-04 5:16 
GeneralDataGrid in .Net Pin
Britnt710-Sep-04 9:20
Britnt710-Sep-04 9:20 
GeneralRe: DataGrid in .Net Pin
HarryBo11-Sep-04 2:14
HarryBo11-Sep-04 2:14 
GeneralRe: DataGrid in .Net Pin
Nick Seng12-Sep-04 15:14
Nick Seng12-Sep-04 15:14 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 2:27
Britnt713-Sep-04 2:27 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 3:25
Nick Seng13-Sep-04 3:25 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 3:37
Britnt713-Sep-04 3:37 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 4:00
Nick Seng13-Sep-04 4:00 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 4:13
Britnt713-Sep-04 4:13 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 4:20
Nick Seng13-Sep-04 4:20 
GeneralRe: DataGrid in .Net Pin
Britnt713-Sep-04 5:19
Britnt713-Sep-04 5:19 
GeneralRe: DataGrid in .Net Pin
Nick Seng13-Sep-04 14:04
Nick Seng13-Sep-04 14:04 
General.Net ToolTip properties Pin
mryan999910-Sep-04 8:43
mryan999910-Sep-04 8:43 
GeneralRe: .Net ToolTip properties Pin
Dave Kreskowiak10-Sep-04 10:04
mveDave Kreskowiak10-Sep-04 10:04 
GeneralRe: .Net ToolTip properties Pin
mryan999916-Sep-04 12:19
mryan999916-Sep-04 12:19 

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.