Output to DV Device (Visual FoxPro 6.0)

1.

Start with the form that you created in My First Convert.

2.

Update the Form Init procedure to be as follows.

#define ltmmConvert_TargetFormat_dvsd 5
&& Define the input file.
ThisForm.ltmmConvertCtrl1.SourceFile = "c:\source.avi"
&& Set the target type to DV
ThisForm.ltmmConvertCtrl1.TargetFormat = ltmmConvert_TargetFormat_dvsd
&& Select the first available device
ThisForm.ltmmConvertCtrl1.TargetDevices.Selection = 0

3.

Update the btnStartConvert Click procedure to be as follows.

&& Start recording, if vcr output
ThisForm.ltmmConvertCtrl1.TargetVCRControl.Record()
&& Start Converting Now.
ThisForm.ltmmConvertCtrl1.StartConvert ()

4.

Run your program to test it.