Results 1 to 4 of 4

Thread: VB 2010: Create a setup along with all resources

  1. #1
    New Member
    Join Date
    Aug 12
    Posts
    13

    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

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,471

    Re: VB 2010: Create a setup along with all resources

    Use relative urls or insert the root with Application.StartUpPath

  3. #3
    New Member
    Join Date
    Aug 12
    Posts
    13

    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.

  4. #4
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 12
    Posts
    5,471

    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
  •