function PlaySound does not work (was: I had same problems and fixed them.)

function PlaySound does not work (was: I had same problems and fixed them.)

Post by Susanne We » Mon, 01 Jan 2007 18:51:29


i Jim,
sorry it took me a while to answer, but at least it is still in 2006:-)
Am Sun, 24 Dec 2006 15:11:01 -0500 schrieb Jim Carlock:


:-)

And a Happy New Year to you!


Right you are:-)

It's easier for me as my newsreader puts those posts into the same thread
although there was a subject change.


Well, after all the help I got here and all the things I've tried out I
think my problem has nothing to do with API-Calls any longer, so this
thread was finished for me.


It is extremely nice of you to still shed thoughts about my problem, thank
you very much!

One reason it took a little time to answer is that I never worked with the
resource editor before and therefore had to make myself familiar with it...

[...]


I replaced WINDOWS with WINNT since that is the name of that folder on my
computer (Win2k)



These two lines looks *very* similar to me. I can't tell whether you wanted
it to be so?

[Rest of code snipped]

I tried several possibilities, I had a messagebox for iRet (it was always
1). Sometimes it took a while until he showed the label, other times he was
fast with that. Sometimes I had a number shown on the label (171099, this
happened when I uncommented the line sWave =
StrConv(PlayThisWaveFile(sFQFN), vbUnicode)), mostly the caption was
'label1'

But in all cases I didn't get to hear anything...:-(

Well I guess it would have been a miracle had I heard something.


Thank you very much for your efforts.
I wish you all the best for 2007 and:
Guten Rutsch ins neue Jahr!

Susanne
--
Mein System:
Office XP, SP3, aktueller Patchstand
Windows 2000, SP4, aktueller Patchstand