Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Media Player in VBA Under Windows 7 1

Status
Not open for further replies.

KenWK

Programmer
May 25, 2001
76
US
Hey guys, I initially posted this on the VBA forum but someone suggested I try this one.

I have a VBA form that I've been using to help organize my pictures and videos. The form contains the media player control and everything worked well in Vista.

When I upgraded the machine from Vista to Windows 7 the audio playback on videos played through the media player via VBA stopped working. The VIDEO is there but, not audio.

Any ideas?

Thanks very much,
Ken
 
It is kind of meaningless to say "VBA" since VBA is not a full programming language, framework, and compiler but instead a macro language taking on the characteristics of its host. This isn't something you can really create applications in without lots of gyrations and "holding your mought right."

VBA = "Visual Basic (for internally automating) Applications" not "Visual Basic (for making) Applications." I.e., it's a macro language.

What host are you using?

A lot of people get suckered into 64-bit Windows and worse yet 64-bit Office. Much of the Windows ecosystem is still 32-bit in nature, which means you can run into numerous can't-get-there-from-here scenarios. Office-64 VBA can have many limitations.


However none of that might apply in your situation anyway. It may be as "simple" (yeah, right) as a missing codec on your Win7 machine.

Unraveling that isn't so easy through this kind of forum. You might go to a multimedia forum site instead. There you'll find suggestions for tools to use to examine your media files to determine the extra codecs you need, where to get the codecs, etc.
 
Yeah, its actually CorelDRAW X3. I didn't hold much hope of getting an clear answers, was hoping someone had already come across something similar.

The media player stand-alone program plays them OK, though I'm not sure what that means.

Thanks for the suggestions dilettante.
 
That's noteworthy though. If the Media Player application plays them properly then it probably isn't a missing codec.

These things can be a real pain to unravel. Some media codecs can have weird DRM strings attached that prevent them from working outside of approved scenarios.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top