nobilese Posted March 27, 2005 Posted March 27, 2005 I wrote a small application awhile ago that used the audiovideoplayback to play audio and video files. Basically, i had some simple code, like: Dim lVideo as New Video("filename", false) lVideo.owner = myForm lVideo.play() This worked well... I recently upgraded to dx9.0c and also reinstalled the system, but the owner property is not setting on code above. A new video window is created and the video is played in that... This is driving me nuts...this app has been working for 2 years... Quote
*Experts* mutant Posted March 28, 2005 *Experts* Posted March 28, 2005 That piece of code works perfectly for me. Are you sure you are not setting the owner to some other window you created, and as a result it pops up with the video? Quote
nobilese Posted March 28, 2005 Author Posted March 28, 2005 That piece of code works perfectly for me. Are you sure you are not setting the owner to some other window you created' date=' and as a result it pops up with the video?[/quote'] I created a app with a single form and he code above is all there is... This worked previously in another app and stopped working... I'm must not have something installed right, but microsoft makes upgrades as clear as mud... Something is missing and i just can't figure out what... Quote
*Experts* mutant Posted March 28, 2005 *Experts* Posted March 28, 2005 If that is the exact code you have in your project, what does the myForm variable refer to? Quote
nobilese Posted March 28, 2005 Author Posted March 28, 2005 If that is the exact code you have in your project' date=' what does the myForm variable refer to?[/quote'] filename is the filename of an existing file myForm is really Me the code is in the form_load Quote
*Experts* mutant Posted March 28, 2005 *Experts* Posted March 28, 2005 Are you using the latest SDK release(which is February)? That code works for me perfectly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.