Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

  • *Experts*
Posted
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?
Posted
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...

Posted
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...