Visual Basic Code

The following are Visual Basic examples for the LEADTOOLS Multimedia COM Objects:

 

Adding a Custom Target Format Example

Advanced Capture Application Example

AVI

Recompressing an AVI File Example

Recompressing an AVI File Selection Example

Recompressing an AVI file to a DV Device Example

Recompressing AVI Data From a Global Memory Source Example

Recompressing AVI Data Using Arrays Example

Splitting an AVI File into Multiple Bitmaps Using ltmmSampleTarget Example

Capture to Play Control Interfacing Example

Concatenate two AVI files using IltmmMultiStreamSource and IltmmMultiStreamTarget Example

Convert Example

Copying ltmmMediaSample Attributes and Data Example

Copying ltmmMediaType Attributes and Data Example

CreateTargetFormats Example

Creating an AVI File From Bitmaps Using ltmmSampleSource Example

DVD

Creating DVD Images Example

DVDUnlockSupport Example

DVD Source Example

DVR

How to Set DVR Capture Buffers on Multiple Physical Disks

How to Copy Buffered DVR Data to a New File

How to play a UDP MPEG2 Stream with DVR Buffering

How to Play a DVR Buffer File

Enumerating MPEG2 Format Compatible Compressors Example

ILTDVDBurner

ILTDVDBurner.AutoEject Example

ILTDVDBurner.Cancel Example

ILTDVDBurner.CurrentDrive Example

ILTDVDBurner.CurrentSpeed Example

ILTDVDBurner.DiscCapacity Example

ILTDVDBurner.DiscType Example

ILTDVDBurner.DriveCount Example

ILTDVDBurner.Ejectable Example

ILTDVDBurner.EjectDisk Example

ILTDVDBurner.Erase Example for

ILTDVDBurner.Eraseable Example

ILTDVDBurner.GetDiscTypeName Example

ILTDVDBurner.GetDiscTypeWriteable Example

ILTDVDBurner.GetDriveDiscType Example

ILTDVDBurner.GetDriveDiscTypeCount Example

ILTDVDBurner.GetDriveId Example

ILTDVDBurner.GetDriveName Example

ILTDVDBurner.GetProgress Example

ILTDVDBurner.GetSpeedName Example

ILTDVDBurner.GetSpeedValue Example

ILTDVDBurner.ImageSize Example

ILTDVDBurner.InputPath Example

ILTDVDBurner.ISOOutputFile Example

ILTDVDBurner.LastError Example

ILTDVDBurner.Loadable Example

ILTDVDBurner.LoadDisc Example

ILTDVDBurner.RefreshDriveList Example

ILTDVDBurner.RefreshSpeedList Example

ILTDVDBurner.SpeedCount Example

ILTDVDBurner.SpeedListChanged Example

ILTDVDBurner.State Example

ILTDVDBurner.SystemSupported Example

ILTDVDBurner.TestWrite Example

ILTDVDBurner.TestWriteable Example

ILTDVDBurner.VolumeName Example

ILTDVDBurner.Write Example

LMNetDmx.OutputFileName Example

ILTDVDBurner.Writeable Example

ltmmAnalogVideoDecoder.AvailableTVFormats Example

ltmmAudioFormats.Count Example

ltmmAudioInputs.Bass Example

ltmmAudioInputs.Count Example

ltmmCameraControl.GetRange Example

ltmmCaptureCtrl

ltmmCaptureCtrl.AudioCaptureFormats Example

ltmmCaptureCtrl.CameraControl Example

ltmmCaptureCtrl.CanSaveObjectSettings Example

ltmmCaptureCtrl.CaptureStillDelay Example

ltmmCaptureCtrl.DVDecoderResolution Example

ltmmCaptureCtrl.EnterEdit Example

ltmmCaptureCtrl.EstimateOutputBitRate Example

ltmmCaptureCtrl.EstimateOutputSize Example

ltmmCaptureCtrl.GetSubObjectDispatch Example

ltmmCaptureCtrl.InterleaveMode Example

ltmmCaptureCtrl.IsPreviewTapSupported Example

ltmmCaptureCtrl_MediaEvent Example

ltmmCaptureCtrl.LoadSettingsFromFile Example

ltmmCaptureCtrl.PreviewingCloseCaption Example

ltmmCaptureCtrl.SaveSettingsToFile Example

ltmmCaptureCtrl.SaveSettingsToStream Example

ltmmCaptureCtrl.SaveStillBitmap Example

ltmmCaptureCtrl.SaveStillDIB Example

ltmmCaptureCtrl.SetVideoWindowPos Example

ltmmCaptureCtrl.TargetStream Example

ltmmCaptureCtrl.TVTuner Example

LtmmCaptureCtrl.UseVideoDeviceAudio Example

ltmmCaptureCtrl.UsingDVDecoder Example

ltmmCaptureCtrl.VideoCaptureStreamType Example

ltmmCaptureCtrl.VideoCaptureSubTypes Example

ltmmCaptureCtrl.VideoWindowHandle Example

ltmmCaptureCtrl.WMProfile Example

Selecting ltmmCaptureCtrl Compressors Example

Selecting ltmmCaptureCtrl Devices Example

Selecting ltmmCaptureCtrl Inputs Example

Selecting ltmmCaptureCtrl Object Sizes Example

Selecting ltmmCaptureCtrl Object Target Devices Example

Selecting ltmmCaptureCtrl Object TargetFormats Example

Selecting ltmmCaptureCtrl Processors Example

Selecting ltmmCaptureCtrl Renderers Example

ltmmCaptureInputs.NearestSelection Example

ltmmCaptureSubTypes.Count Example

ltmmCompressor.Reliability Example

ltmmConvertCtrl

ltmmConvertCtrl.AllowedStreams Example

ltmmConvertCtrl.CanSaveObjectSettings Example

ltmmConvertCtrl.DVDControl Example

ltmmConvertCtrl.DVDecoderResolution Example

ltmmConvertCtrl.EstimateOutputBitRate Example

ltmmConvertCtrl.EstimateOutputSize Example

ltmmConvertCtrl.GetSubObjectDispatch Example

ltmmConvertCtrl_MediaEvent Example

ltmmConvertCtrl.InterleaveMode Example

ltmmConvertCtrl.LoadSettingsFromFile Example

ltmmConvertCtrl.PercentCompleteScalar Example

ltmmConvertCtrl.PreferredMPEG2Splitter Example

ltmmConvertCtrl.SaveSettingsToFile Example

ltmmConvertCtrl.SaveSettingsToStream Example

ltmmConvertCtrl.SourceVideoType Example

ltmmConvertCtrl.UsingDVDecoder Example

ltmmConvertCtrl.WMProfile Example

Selecting ltmmConvertCtrl Compressors Example

Selecting ltmmConvertCtrl Object Target Devices Example

Selecting ltmmConvertCtrl Object TargetFormats Example

Selecting ltmmConvertCtrl Processors Example

ltmmDVDControl.GetButtonAtPosition Example

ltmmGetErrorText Example

ltmmMemory.GrowBy Example

ltmmMemory.SetByte Example

ltmmPlayCtrl

ltmmPlayCtrl.AllowedStreams Example

ltmmPlayCtrl.CanSaveObjectSettings Example

ltmmPlayCtrl.CloseCaptioning Example

ltmmPlayCtrl.DVDControl Example

ltmmPlayCtrl.DVDecoderResolution Example

ltmmPlayCtrl.GetSubObjectDispatch Example

ltmmPlayCtrl.IsRateSupported Example

ltmmPlayCtrl.LoadSettingsFromFile Example

ltmmPlayCtrl.MidiRenderers Example

ltmmPlayCtrl.PreferredMPEG2Splitter Example

ltmmPlayCtrl.SaveSettingsToFile Example

ltmmPlayCtrl.SaveSettingsToStream Example

ltmmPlayCtrl.SaveStillBitmap Example

ltmmPlayCtrl.SaveStillDIB Example

ltmmPlayCtrl.SetVideoWindowPos Example

ltmmPlayCtrl.SourceStream Example

ltmmPlayCtrl.SourceVideoType Example

ltmmPlayCtrl.StillTap Example

ltmmPlayCtrl.UsingDVDecoder Example

ltmmPlayCtrl.VideoWindowHandle Example

Selecting ltmmPlayCtrl Processors Example

ltmmProcessor.Type Example

ltmmTVTuner

ltmmTVTuner.AvailableModes Example

ltmmTVTuner.AvailableTVFormats Example

ltmmTVTuner.Channel Example

ltmmTVTuner.ChannelMin Example

ltmmTVTuner.ConnectInput Example

ltmmTVTuner.CountryCode Example

ltmmTVTuner.SetInputType Example

ltmmTVTuner.SignalPresent Example

ltmmTVTuner.TuningSpace Example

ltmmVideoFormats.Count Example

ltmmVideoProcAmp.GetRange Example

ltmmWMProfile

ltmmWMProfile.GetStream Example

ltmmWMProfile.GetStreamByNumber Example

ltmmWMProfile.MutualExclusionCount Example

ltmmWMProfileManager.SystemProfileVersion Example

Replace Audio using IltmmMultiStreamSource and IltmmMultiStreamTarget Example

Retrieving Media File Information Example

Simple Media Player Example

Writing Windows Media Files Example