Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21914

Visual Basic 6 WMP HELP!!!!?

$
0
0
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.

Viewing all articles
Browse latest Browse all 21914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>