>2 questions
>
>1. how do i 'SET MAIN' a prg in a project through the command line
>
>2. how can i change the icon of an exe file without playing with the registry?
1.
MODIFY PROJECT YourProject.pjx NOWAIT
_vfp.ActiveProject.SetMain([Newmain.Prg])
2.
MODIFY PROJECT YourProject.pjx NOWAIT
_vfp.ActiveProject.Icon = [myicon.ico]
or Project Info->Attach Icon and choose Icon you want.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.