Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Error 0X80070002
Message
 
 
À
13/07/2004 07:16:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00923353
Message ID:
00923632
Vues:
39
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform