LocationMy.Computer.Clipboard.SetAudio SyntaxMy.Computer.Clipboard.SetAudio(audioBytes) or: My.Computer.Clipboard.SetAudio(audioStream)
DescriptionThe SetAudio method writes audio data to the system clipboard. Separate overloads allow you to write the data from a Stream or a Byte array. Usage at a Glance
ExampleThe following example reads data from an audio file and saves it to the clipboard. Dim audioData As Byte( ) = _ My.Computer.FileSystem.ReadAllBytes("c:\temp\SoundFile.wav") My.Computer.Clipboard.SetAudio(audioData) Related Framework Entries
See AlsoClipboard Object, ContainsAudio Method, GetAudioStream Method, SetAudio Method, SetData Method, SetDataObject Method, SetFileDropList Method, SetImage Method, SetText Method |