H
Hartmut \(Harry\) Kloppert
Some time ago I got an excellent tip here how to do that out of Excel-VBA.
It was recommended:
strWavPath = "C:\path\soundname.wav")
x = Shell("sndrec32.exe /play /close " & Chr(34) & strWavPath &
Chr(34), vbHide)
It worked fine with my XP-computer.
Now I'm on a new Vista machine and it doesn't work anymore ("file not
found").
I found out that sndrec32.exe is no more available in Vista. So, I copied it
from the
old XP-machine into Vista's "System32" folder.
No luck. It still says "file not found". When I open sndrec32.exe manually,
it comes up
but it also tells me that "there was an error updating the registry".
Any idea or any other way to sound a wav-file out of OFFICE XP 2007?
It was recommended:
strWavPath = "C:\path\soundname.wav")
x = Shell("sndrec32.exe /play /close " & Chr(34) & strWavPath &
Chr(34), vbHide)
It worked fine with my XP-computer.
Now I'm on a new Vista machine and it doesn't work anymore ("file not
found").
I found out that sndrec32.exe is no more available in Vista. So, I copied it
from the
old XP-machine into Vista's "System32" folder.
No luck. It still says "file not found". When I open sndrec32.exe manually,
it comes up
but it also tells me that "there was an error updating the registry".
Any idea or any other way to sound a wav-file out of OFFICE XP 2007?