Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tables are open when building exe
Message
De
17/12/2010 12:38:24
 
 
À
17/12/2010 12:04:08
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01493098
Message ID:
01493121
Vues:
78
Maybe you could set a breakpoint on USED("alias") where alias is one of the table aliases open after the build and then run the build. That should show you when the table gets opened.


>Yes, no tables are open. The other thing is that not only are all these tables opened but a lot of ON KEY LABELS are set. The only thing I do is: BUILD EXE myproj.exe FROM myproj.pjx RECOMPILE
>
>Maybe I'll create a new project file. It's just annoying having to CLOSE ALL, and ON KEY LABEL etc... after I build.
>
>Thanks,
>
>Jerry
>
>
>
>
>>That shouldn't make a difference. I can't think of any other way to run code when a project gets built. Are you sure the tables aren't open before you start the build?
>>
>>>Thanks, but my Project Class isn't checked. Maybe I'll try checking it and unchecking it to see if that helps.
>>>
>>>Thanks,
>>>
>>>Jerry
>>>
>>>
>>>
>>>>>I am using VFP9 SP2.
>>>>>
>>>>>I inherited a VFP9 application. When I build the project I do this: BUILD EXE myproj.exe FROM myproj.pjx RECOMPILE
>>>>>
>>>>>Everything compiles fine and the EXE is created. The thing I don't get is that each time I do this, several tables are open after the EXE is built. How do you make a VFP project run code to open tables after building an EXE? And how do I stop this?
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Jerry
>>>>
>>>>Check if your project has a hook associated with it. Right click on the project manager and choose "Project Info", then look at the "Project Class" check box and the class name field next to it, if it is checked.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform