Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error 0X80070002
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00923353
Message ID:
00923632
Views:
41
Hi Terry,

If it's a space in the directory name, tt's easy to fix by enclousing into double quotes.
lcMBXLoc = ["c:\program files\myapp\etc"]
* or
lcMBXLoc = ["] + JUSTPATH(_VFP.ServerName) + "\mPLANMap.mbx" + ["]
>
>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?
>
>
>
>>
>>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.
>>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform