Hi,
Below is my code. when the .GoConversion is called the Error Log window pops up with error "The CODEC required to compress". Am I doing somthing wrong. please help.
But I can right click the .mp3 file in Explorer and convert to Wave without any problems.
If (oDMC Is Nothing) Then
Set oDMC = New DMCSCRIPTINGLib.Converter
With oDMC
.VolumeNormalize = True
.PreserveTags = True
.DeleteSourceFiles = True
.ConvertToFolder = True
End With
End If
If (oDMC_WavSettings Is Nothing) Then
Set oDMC_WavSettings = New DMCSCRIPTINGLib.WaveSettings
oDMC_WavSettings.Set 44100, 2, 64
End If
For Each oFTempFile In aFSourceFolder.Files
If (UCase(Right(oFTempFile.Name, 3)) = "MP3") Then
oDMC.ToFolder = aFSourceFolder.Path
oDMC.AddFromFile oFTempFile.Path
oDMC.GoConversion "Wave", True, False, True, False
-Parma
Below is my code. when the .GoConversion is called the Error Log window pops up with error "The CODEC required to compress". Am I doing somthing wrong. please help.
But I can right click the .mp3 file in Explorer and convert to Wave without any problems.
If (oDMC Is Nothing) Then
Set oDMC = New DMCSCRIPTINGLib.Converter
With oDMC
.VolumeNormalize = True
.PreserveTags = True
.DeleteSourceFiles = True
.ConvertToFolder = True
End With
End If
If (oDMC_WavSettings Is Nothing) Then
Set oDMC_WavSettings = New DMCSCRIPTINGLib.WaveSettings
oDMC_WavSettings.Set 44100, 2, 64
End If
For Each oFTempFile In aFSourceFolder.Files
If (UCase(Right(oFTempFile.Name, 3)) = "MP3") Then
oDMC.ToFolder = aFSourceFolder.Path
oDMC.AddFromFile oFTempFile.Path
oDMC.GoConversion "Wave", True, False, True, False
-Parma
Comment