Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RUN command
Message
 
À
15/05/1998 10:48:31
Tom Hammer
Pennwell Publishing
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00099389
Message ID:
00099742
Vues:
23
>Thanks George, you're suggestion seems to work great. However, when I use database fields for my path and filename it doesn't work - lnresult returns 2.
>
>WORKS:
>lnresult = ShellExecute(0,'open',"wmar-100.dwg","","s:\drafting\acts\98202", 9)
>
>DOESN'T WORK:
>lnresult = ShellExecute(0,'open',vacancies_view.fp_name,"",vacancies_view.fp_path, 9)
>
>Any suggestions?

Tom,

I'm not exactly sure what you're trying to do in the second case. It looks like you're trying to open a VFP view (which is usually contained in the a DBC). I noted, however, that an independent view file (.VUE extension) doesn't have the small Fox icon identifying it. This means that the file wasn't associated with any application, in which case double clicking it would fail, as would ShellExecute.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform