Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN command
Message
From
15/05/1998 13:38:29
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00099389
Message ID:
00099799
Views:
24
George,

I have changed my code to pass by reference with the same results. vacancies_view is a view of 3 tables. The fp_name and fp_path contain the filename and path of the drawing I wish to pass through ShellExecute. The are defined in the table as character of 254 width. I have also checked to make sure these variables are returning the same thing my hard-coded statement has.

lcfile = vacancies_view.fp_name
lcpath = vacancies_view.fp_path
lcop = 'open'
lcparms = ""
lnshow = 9

DOESN'T WORK:
lnresult = ShellExecute(0,@lcop,@lcfile,@lcparms,@lcpath,@lnshow)

WORKS:
lnresult = ShellExecute(0,'open',"wmar-100.dwg","","s:\drafting\acts\98202", 9)

Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform