Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open word.doc
Message
De
12/10/2008 05:11:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Open word.doc
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354386
Message ID:
01354386
Vues:
57
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform