Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open word.doc
Message
De
12/10/2008 07:59:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354386
Message ID:
01354391
Vues:
17
thank you,
>See Open any document FAQ #8134
>
>>hi all,
>>
>>i try to open word doc via this code , no errors , no resault,
>>
>>WITH thisform.combo1
>>
>>thisform.text17.value=.list(.listindex,1)
>>thisform.text4.value=.list(.listindex,2)
>>
>>m.lcFileName=thisform.text4.value+"."+"doc"
>>
>>SET DEFAULT TO c:\deal
>>
>>declare long ShellExecute in "shell32.dll" ;
>>	long hwnd, string lpszOp, ;
>>	string lpszFile, string lpszParams, ;
>>    string lpszDir, long nShowCmd
>>
>>ShellExecute(0,'Open', m.lcFileName, 0,0,1)
>>*ShellExecute(0,'Open', GETFILE(), 0,0,1)
>>
>>ENDWITH
>>
>>
>>
>>thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform