Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

I just want to play a wav file...

Posted on 2006-06-14
4
184 Views
Last Modified: 2010-04-23
I am trying to write a simple program for a pocket pc device running windows mobile 5.0.
I am using Visual studio 2005.  
All I want to do is play a wav file!
I have seen people use the statement my.computer.audio.play("applause.wav") which is nice and simple.
But when i go to compile, visual studio doesn't know what "my" is.  Should i be referencing something?  This should work, shouldn't it??
Thanks in advance-
0
Comment
Question by:wilbur88
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:fruhj
ID: 16906774
the My Namespace is new in VB.net 2005 (ie .net 2.0),

I'm not entirely sure it made it's way down to the .net compact framework used by WM5.
0
 

Author Comment

by:wilbur88
ID: 16906898
i think you're right.  So maybe I'm not crazy.
What is the next easiest way to play a wav file?  playsound and the winmm.dll?
0
 
LVL 12

Accepted Solution

by:
fruhj earned 250 total points
ID: 16906984
I'm not sure entirely.

I just got my own WM5 device a few weeks ago and haven't tried to code anything for it yet.
I've seen lots of references on forums to www.xda-developers.com and I'm sure there are other sites out there with good examples for WM5 development.
0
 

Author Comment

by:wilbur88
ID: 16907108
ok, thanks for the quick response-
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question