Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem when running an exe
Message
 
À
26/02/2016 09:21:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01632118
Message ID:
01632135
Vues:
44
>>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
>
>
>I just want to point out that that code is not a good idea. If any of your memo fields are particularly large, it will be horribly slow. At a minimum, you should use the 3rd parameter of _MLINE for MLINE(), which picks up where you left off. However, you can probably do this much faster with ALINES().
>
>Tamar

Tamar thanks but it does not explain why the exe does not run correctly from explorer
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform