|
-
Aug 22nd, 2012, 11:57 AM
#1
Thread Starter
New Member
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
-
Aug 22nd, 2012, 12:02 PM
#2
Re: VB 2010: Create a setup along with all resources
Use relative urls or insert the root with Application.StartUpPath
-
Aug 22nd, 2012, 12:16 PM
#3
Thread Starter
New Member
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.
-
Aug 22nd, 2012, 12:49 PM
#4
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|