audio question

My.Computer.Audio.Play(My.Resources.mantovani, _

AudioPlayMode.Background)

the above works fine but I am trying to open this file with the embedded

Me.AxWindowsMediaPlayer1 control

I have tried everything......can u help

[467 byte] By [cheyenne] at [2007-12-28]
# 1

Cheyenne,

What's the error and how are you trying to open it?

ReneeC at 2007-9-4 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 2

hi renee

it is playing in background...not in embedded wmp

it should be something like

Me.AxWindowsMediaPlayer1.url = my.resources.mantovani.wav

I have tried quotes etc

I have done this before with file ...eg......... "c:\windows\media\mantovani.wav" .........and it works

it is something with resources thats the prob

cheers

sorry about your pc

cheyenne at 2007-9-4 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 3

May I ask why you are using the ax interface instaed of the control?

My PC is fine and I learned so much fromthat, some good and some bad......

It doesn't feel overly productive to spend $8.00 on dual layered DVDs only to have Vista not be able to find the backup disks.

ReneeC at 2007-9-4 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...
# 4

See my last post at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1070124&SiteID=1

(And be sure to fix the long lines that the forum wrapped!)

TallDude at 2007-9-4 > top of Msdn Tech,Visual Studio Express Editions,Visual Basic 2005 Express Edition...