call soundrecorder.exe from VB6 in Win 7

makrisp

New member
Local time
9:40 PM
Messages
2
I am trying to develop a small software with VB6 to call the soundrecorder.exe on Win 7
I am using shell command

x=shell ("soundRecorder.exe",4)

or

x=shell ("c:\windows\system32\SoundRecorder.exe",4)

In both case I receive a message

Run-time Error '53':
File not found

Any suggestions please.
Any code to use?

Thanks a lot..
P.Makris
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Usually that will come up when your file path is invalid. Are you sure that's correct?

Bill
 

My Computer My Computer

At a glance

Windows 7 Enterprise x64i7-5820K16GB DDR4ASUS 2GB Nvidia 960GTX OC'd
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 7 Enterprise x64
CPU
i7-5820K
Motherboard
Asus X99 A
Memory
16GB DDR4
Graphics Card(s)
ASUS 2GB Nvidia 960GTX OC'd
Monitor(s) Displays
24"
Screen Resolution
1920x1080
Hard Drives
Samsung 1TB 840 SSD
Western Digital 1TB Black Drive
Seagate 2TB NAS Drive
PSU
Antec Earthwatts 650w
Case
Antec DF-85
Back
Top