Help on Using Resources in VB.NET
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi everyone, In one of my project I have to work with embedded resources in VB.NET. I have 2 Problems: (1) In my project I have added a 5 MB movie file as a resource. Now I want to copy that one to localdisk "C:\sample.avi". I wrote the following code. But I don't know what to use in place of "x" where "x" is the path of the file to copy. Any suggestions? Code:
Imports System.Io Button1_click() File.copy("x","C:\sample.avi") End sub
So in short I want to know what is the path of that file? (2) How to do the same with more than one files. I want to copy them all (at least 6 files!) to localdisk. Can anyone suggest the code for it ? I will be helpful to me. Thanks, Dan