Hi, Sergey
The .mbx runs fine when invoked stand-alone (it is effectively an .exe), wherever it is.
When I run the .exe., in \program files\myapp\ I still get the error, even though I've included the .mbx in the same dir as the .exe., and lcMBXLoc = "c:\program files\myapp\etc".
Thing is, maybe the "oShell.Run( ( lcMBXLoc), 1, .T.)" just can't handle the space in the dir path. What do you think?
Cheers
Terry
>Hi Terry,
>
>My suggestion was for runtime only.
>Would it work if you navigate in Windows Explorer to the mPLANMap.mbx file and double click on it? If it doesn't than you've to install some application (MapInfo?) that'll be associated with .mbx extension.
>
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.