Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating building exe files from several projects
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00459423
Message ID:
00459459
Views:
19
>>Can anyone direct me to information on compiling and building exe files from
>>several projects and ,if possible, from outside VFP.
>
>Untested:
>
loVFP = CREATEOBJECT("VisualFoxPro.Application")
>loVFP.DoCmd("BUILD EXE myProj.exe FROM myProj.pjx")
...and if this works, you could do it externally with the Windows Script Host
' VFPExe.vbs
' cExe is the fully qualified exectuable filename to build
' cProj is the project to build it from
Dim oVFP, cExe, cProj
Set oVFP = CreateObject("VisualFoxPro.Application")
oVFP.DoCmd("BUILD EXE " & cExe & " FROM " & cProj)
Naturally, the project and executable could be passed as parameters.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform