noob_vber

Well ive made my application added a axwindowsmediaplayer, and made the video work, the only problem i have is the user has to have the video in the exact same place i did, is there anway i can make my video built in with the exe



Re: Visual Basic Express Edition Embed video in .exe

VBScriptor

You could package it with the application, and use relative paths.





Re: Visual Basic Express Edition Embed video in .exe

Woozie64

How would i do that



Re: Visual Basic Express Edition Embed video in .exe

Andreas Johansson

As suggested use relative path.

For instance if I would make FunApp.exe that contains my application and a movie in the same directory named Fun.mpg I would refer to it as ".\Fun.mpg" even though it actually was in c:\projects\funapp\movie\fun.mpg" while developing. When I set my application to load the movie I know my it is running from Application.StartupPath and can refer the movie as Application.StartupPath + "Fun.mpg"