Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem when running an exe
Message
 
To
26/02/2016 05:00:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01632118
Message ID:
01632121
Views:
41
>>The following code works fine when running the exe within VFP but does not work when running the exe from explorer - I think it is a problem with the mline function - the records are created in superdata but there is no data in ggg and consequently no data in linexdata
>>
>>Any ideas?
>>
>>SELECT super
>>STORE 0 TO nn
>>SCAN
>>
>>store memlines(indydata) to totlines
>>
>>for xx=1 to totlines
>>store mline(indydata,xx) to ggg
>>SELECT superdata
>>APPEND blank
>>replace linexdata WITH ggg
>>SELECT super
>>next
>>endscan
>
>Apart from checking the contents of the super table (which are presumably OK if you say it runs fine in IDE), I'd check what settings may be different between your exe and IDE - set("memowidth") and what else may be related to mline() and memlines(). Check sys(2019) to see which config.fpw is in effect in each case.

I think I could run the program by running vfp from explorer and the program within vfp if you see what i mean - but I cant remember precisely how to do this
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Reply
Map
View

Click here to load this message in the networking platform