deploying program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrcw
    New Member
    • Nov 2008
    • 82

    deploying program

    Hi, I've written a program called ATC in which I show some shockwave movies. It works fine on my computer, but when I deploy it to another computer it can't show the shockwave movies because they are not avaialable on the new computer because they are on my computer.

    I've tried adding a new folder called movies to ATC in the solution explorer and putting the movies in there. The shockwave object needs the address of the movie to show e.g.axShockwave Flash1.Movie = c:/Airport.swf".

    I even tried using Application.Sta rtupPath but no luck.

    How can I put my movies in my project so I can deploy it to another computer.

    thank you
  • soli
    New Member
    • Nov 2011
    • 3

    #2
    copy the movies to the directory same as your program and use the relative path, e.g. axShockwaveFlas h1.Movie = "Airport.sw f".

    Comment

    • mrcw
      New Member
      • Nov 2008
      • 82

      #3
      that only works for movies stored on my computer eg c:/Airports.swf not anywheRE else.

      Comment

      • mrcw
        New Member
        • Nov 2008
        • 82

        #4
        I've found that for some very annoying reason my copy vs2010 pro isn't letting me use relative addressing. I'll try reinstalling it.

        Comment

        • soli
          New Member
          • Nov 2011
          • 3

          #5
          if you want your program works everywhere without copying the moives with your program, you could put the movies on some site, then download it before play it.

          Comment

          Working...