VB 2010: Create a setup along with all resources
Hey,
So I want to create a setup.exe for my program, so I could install it on other computers as I have a resource folder. The problem is that, because I have a resource folder,which I have videos in it, when I install it on another computer, the videos won't play as the url is different (I have a windowsmediaplayer inside my program which I put the url of the video). Now what I want is that, when I create a setup folder, and install it on another computer, the videos would play without having to change the url.
Thanks in advance
Re: VB 2010: Create a setup along with all resources
Use relative urls or insert the root with Application.StartUpPath
Re: VB 2010: Create a setup along with all resources
Images are saved inside the program once they are inserted. Can't I do that with videos, in some way? I just want the video to start up once the program is open, no matter where the file is saved.
Re: VB 2010: Create a setup along with all resources
Yup. You can add files to a standard resource file. Project > Add Component > Resource File
One of many tutorials should you need it ... http://visualbasic.about.com/od/usin...tres090117.htm