Q: Returning the path to an application
R.M; bob.tfs@sympatico.ca wrote: I am using this code to start Paint: Shell ("C:\Windows\mspaint.exe"). But on my friends computer it is under Program Files/Accessories. How do I make it so the computer will look for mspaint.exe? A: if it's a 'real' w95 program then you find in the registry the location of the executable. In the case of MSPaint it is in the: HKLM\SOFTWARE\Miscrosoft\Windows\CurrentVersion\App Paths\MSPIANT.EXE If you don't know how to extract this informtation form the registry just check out the file Registry. Return