Message
From
22/03/2010 07:04:06
 
 
To
Todo
General information
Fórum:
Visual FoxPro
Category:
Título:
Ole error
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
ID da thread:
01456028
ID da mensagem:
01456028
Views:
106
Hi all

I need to open an external file (xls, doc , pdf or jpg) directly from a VFP application.

to do that i use these simple lines of code
oShell 	= CreateObject( "WScript.Shell")
oShell.Run( Myfile, 1,.f.)	
It usually work fine as it does on my PC but now I'm running into this error :

Ole error code ox 80070002:the system cannot find the file specified

what can it be ?

Thank you
Alessio
Next
Responder
Mapa
View