Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN command
Message
 
To
15/05/1998 10:48:31
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00099389
Message ID:
00099742
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform