Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27224

VS 2012 Adding a file to an object

$
0
0
I have developed an application that has a Sound Class. This Sound Class uses an external audio file that is referenced by a String data type that holds the filepath to the audio file.
When I wish to give this Sound object to a friend, I also have to give the external audio file as well.

My question is this:
Is it possible to add the external audio file to the Sound object, such that when I serialize the Sound object, and give it to my friend, the audio file is contained within the serialized object and can be extracted to a folder and then used?

Viewing all articles
Browse latest Browse all 27224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>