im trying to add windows media player as a component and i used WindowsMediaPlayer1.URL = c:\desktop\x.wmv as the file, now the problem is that when i play the program it works when the file is there but not when the file is in another directory understandably but how can i place the code so that the video still plays if the file is in the same directory as the .vbp . i am going to be transferring the whole folder to different computers on my flash drive and that obviously changes the directory, so how can i program it to play the video file in the same folder just a different directory.
↧