Hi,

I am experiencing a weird problem with the program manager.
On an existing project it does not add automatically the forms, programs,
icons etc used.

If I create a new project and just add the main program, everything is
rebuilt correctly.
But, if I reopen the project and remove a form (for test reasons) and
rebuild the project, the form is not added.
It reports that the form is Undefined !

I found and read another relative post but those guidelines do nothing for
me.

I have deleted all foxuser files, Rebuild, Cleanup the project. Recompile
all files.

The problem does not seem to appear on other projects, on other directories.

Pleeeaaase Help, before I get crazy.
Demetrios, Greece

Re: Project Manager problem by Stefan

Stefan
Fri Sep 17 02:09:09 CDT 2004

> If I create a new project and just add the main program, everything is rebuilt
> correctly.
> But, if I reopen the project and remove a form (for test reasons) and rebuild the
> project, the form is not added.

That is, the effect is probably not caused by corrupted old.pjx/pjt files
but the newTest.pjx immediately shows the same bahaviour?

Do you have "hard-coded" form calls in your code like
Do Form customer.scx
as opposed to something like a "form manager" approach
LParameters tcFormFile
Do Form (tcFormFile)


-Stefan

"Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im Newsbeitrag
news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I am experiencing a weird problem with the program manager.
> On an existing project it does not add automatically the forms, programs, icons etc
> used.
>
> If I create a new project and just add the main program, everything is rebuilt
> correctly.
> But, if I reopen the project and remove a form (for test reasons) and rebuild the
> project, the form is not added.
> It reports that the form is Undefined !
>
> I found and read another relative post but those guidelines do nothing for me.
>
> I have deleted all foxuser files, Rebuild, Cleanup the project. Recompile all
> files.
>
> The problem does not seem to appear on other projects, on other directories.
>
> Pleeeaaase Help, before I get crazy.
> Demetrios, Greece
>
>
>
>


Re: Project Manager problem by Demetrios

Demetrios
Fri Sep 17 04:08:54 CDT 2004

Stefan,

The problem does not appear if I create a new project.
Everything is included correctly. Forms, prgs, icons.
If I keep working and something is needed or if I remove a program or form
that was included in the initial project (as described above) then the
problem re-apears.!!!

I cannot explain what leads to that behaviour, and especially since it works
fine if I build a new project based on the same main prg.

Demetrios, Greece

"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
> > If I create a new project and just add the main program, everything is
rebuilt
> > correctly.
> > But, if I reopen the project and remove a form (for test reasons) and
rebuild the
> > project, the form is not added.
>
> That is, the effect is probably not caused by corrupted old.pjx/pjt files
> but the newTest.pjx immediately shows the same bahaviour?
>
> Do you have "hard-coded" form calls in your code like
> Do Form customer.scx
> as opposed to something like a "form manager" approach
> LParameters tcFormFile
> Do Form (tcFormFile)
>
>
> -Stefan
>
> "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
Newsbeitrag
> news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
> > Hi,
> >
> > I am experiencing a weird problem with the program manager.
> > On an existing project it does not add automatically the forms,
programs, icons etc
> > used.
> >
> > If I create a new project and just add the main program, everything is
rebuilt
> > correctly.
> > But, if I reopen the project and remove a form (for test reasons) and
rebuild the
> > project, the form is not added.
> > It reports that the form is Undefined !
> >
> > I found and read another relative post but those guidelines do nothing
for me.
> >
> > I have deleted all foxuser files, Rebuild, Cleanup the project.
Recompile all
> > files.
> >
> > The problem does not seem to appear on other projects, on other
directories.
> >
> > Pleeeaaase Help, before I get crazy.
> > Demetrios, Greece




Re: Project Manager problem by Fernando

Fernando
Fri Sep 17 04:40:43 CDT 2004

Hi:

Have you tryed to check "recompile all files" when rebuilding the project?


Fernando D. Bozzo


"Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
> Stefan,
>
> The problem does not appear if I create a new project.
> Everything is included correctly. Forms, prgs, icons.
> If I keep working and something is needed or if I remove a program or form
> that was included in the initial project (as described above) then the
> problem re-apears.!!!
>
> I cannot explain what leads to that behaviour, and especially since it
works
> fine if I build a new project based on the same main prg.
>
> Demetrios, Greece
>
> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
> > > If I create a new project and just add the main program, everything is
> rebuilt
> > > correctly.
> > > But, if I reopen the project and remove a form (for test reasons) and
> rebuild the
> > > project, the form is not added.
> >
> > That is, the effect is probably not caused by corrupted old.pjx/pjt
files
> > but the newTest.pjx immediately shows the same bahaviour?
> >
> > Do you have "hard-coded" form calls in your code like
> > Do Form customer.scx
> > as opposed to something like a "form manager" approach
> > LParameters tcFormFile
> > Do Form (tcFormFile)
> >
> >
> > -Stefan
> >
> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> Newsbeitrag
> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
> > > Hi,
> > >
> > > I am experiencing a weird problem with the program manager.
> > > On an existing project it does not add automatically the forms,
> programs, icons etc
> > > used.
> > >
> > > If I create a new project and just add the main program, everything is
> rebuilt
> > > correctly.
> > > But, if I reopen the project and remove a form (for test reasons) and
> rebuild the
> > > project, the form is not added.
> > > It reports that the form is Undefined !
> > >
> > > I found and read another relative post but those guidelines do nothing
> for me.
> > >
> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
> Recompile all
> > > files.
> > >
> > > The problem does not seem to appear on other projects, on other
> directories.
> > >
> > > Pleeeaaase Help, before I get crazy.
> > > Demetrios, Greece
>
>
>



Re: Project Manager problem by Demetrios

Demetrios
Fri Sep 17 04:56:08 CDT 2004

Fernando,

Yes I did. It even does not find files in the current deirectory.
Paths are all OK.
If I "DO Form", which should be included it is executed, but the project
manager reports that it cannot find it.

As I said the weird is that the problem does not appear on other projects.

Demetrios, Greece

"Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
> Hi:
>
> Have you tryed to check "recompile all files" when rebuilding the project?
>
>
> Fernando D. Bozzo
>
>
> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
> > Stefan,
> >
> > The problem does not appear if I create a new project.
> > Everything is included correctly. Forms, prgs, icons.
> > If I keep working and something is needed or if I remove a program or
form
> > that was included in the initial project (as described above) then the
> > problem re-apears.!!!
> >
> > I cannot explain what leads to that behaviour, and especially since it
> works
> > fine if I build a new project based on the same main prg.
> >
> > Demetrios, Greece
> >
> > "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
> > news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
> > > > If I create a new project and just add the main program, everything
is
> > rebuilt
> > > > correctly.
> > > > But, if I reopen the project and remove a form (for test reasons)
and
> > rebuild the
> > > > project, the form is not added.
> > >
> > > That is, the effect is probably not caused by corrupted old.pjx/pjt
> files
> > > but the newTest.pjx immediately shows the same bahaviour?
> > >
> > > Do you have "hard-coded" form calls in your code like
> > > Do Form customer.scx
> > > as opposed to something like a "form manager" approach
> > > LParameters tcFormFile
> > > Do Form (tcFormFile)
> > >
> > >
> > > -Stefan
> > >
> > > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> > Newsbeitrag
> > > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
> > > > Hi,
> > > >
> > > > I am experiencing a weird problem with the program manager.
> > > > On an existing project it does not add automatically the forms,
> > programs, icons etc
> > > > used.
> > > >
> > > > If I create a new project and just add the main program, everything
is
> > rebuilt
> > > > correctly.
> > > > But, if I reopen the project and remove a form (for test reasons)
and
> > rebuild the
> > > > project, the form is not added.
> > > > It reports that the form is Undefined !
> > > >
> > > > I found and read another relative post but those guidelines do
nothing
> > for me.
> > > >
> > > > I have deleted all foxuser files, Rebuild, Cleanup the project.
> > Recompile all
> > > > files.
> > > >
> > > > The problem does not seem to appear on other projects, on other
> > directories.
> > > >
> > > > Pleeeaaase Help, before I get crazy.
> > > > Demetrios, Greece
> >
> >
> >
>
>



Re: Project Manager problem - Problem located but not Solved by Demetrios

Demetrios
Fri Sep 17 09:28:37 CDT 2004

Hi all,

I noticed that all forms and programs that are ignored during project
rebuild are those referenced in the menu.
If I include the same command, for example Do Form Test in a prg, it will
automatically included.

Any ideas?

Demetrios, Greece


"Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
> Hi:
>
> Have you tryed to check "recompile all files" when rebuilding the project?
>
>
> Fernando D. Bozzo
>
>
> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
>> Stefan,
>>
>> The problem does not appear if I create a new project.
>> Everything is included correctly. Forms, prgs, icons.
>> If I keep working and something is needed or if I remove a program or
>> form
>> that was included in the initial project (as described above) then the
>> problem re-apears.!!!
>>
>> I cannot explain what leads to that behaviour, and especially since it
> works
>> fine if I build a new project based on the same main prg.
>>
>> Demetrios, Greece
>>
>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
>> > > If I create a new project and just add the main program, everything
>> > > is
>> rebuilt
>> > > correctly.
>> > > But, if I reopen the project and remove a form (for test reasons) and
>> rebuild the
>> > > project, the form is not added.
>> >
>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
> files
>> > but the newTest.pjx immediately shows the same bahaviour?
>> >
>> > Do you have "hard-coded" form calls in your code like
>> > Do Form customer.scx
>> > as opposed to something like a "form manager" approach
>> > LParameters tcFormFile
>> > Do Form (tcFormFile)
>> >
>> >
>> > -Stefan
>> >
>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
>> Newsbeitrag
>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
>> > > Hi,
>> > >
>> > > I am experiencing a weird problem with the program manager.
>> > > On an existing project it does not add automatically the forms,
>> programs, icons etc
>> > > used.
>> > >
>> > > If I create a new project and just add the main program, everything
>> > > is
>> rebuilt
>> > > correctly.
>> > > But, if I reopen the project and remove a form (for test reasons) and
>> rebuild the
>> > > project, the form is not added.
>> > > It reports that the form is Undefined !
>> > >
>> > > I found and read another relative post but those guidelines do
>> > > nothing
>> for me.
>> > >
>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
>> Recompile all
>> > > files.
>> > >
>> > > The problem does not seem to appear on other projects, on other
>> directories.
>> > >
>> > > Pleeeaaase Help, before I get crazy.
>> > > Demetrios, Greece
>>
>>
>>
>
>



Re: Project Manager problem - Problem located but not Solved by Demetrios

Demetrios
Fri Sep 17 10:15:38 CDT 2004

More input.
Not only the menus have problems but the forms also.
Including a call to another program or form does not include that to the
project.

Gggrrrrr

What the #%^&@ is going on?

Dmetrios, Greece

> Hi all,
>
> I noticed that all forms and programs that are ignored during project
> rebuild are those referenced in the menu.
> If I include the same command, for example Do Form Test in a prg, it will
> automatically included.
>
> Any ideas?
>
> Demetrios, Greece
>
>
> "Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
> news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
>> Hi:
>>
>> Have you tryed to check "recompile all files" when rebuilding the
>> project?
>>
>>
>> Fernando D. Bozzo
>>
>>
>> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
>> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
>>> Stefan,
>>>
>>> The problem does not appear if I create a new project.
>>> Everything is included correctly. Forms, prgs, icons.
>>> If I keep working and something is needed or if I remove a program or
>>> form
>>> that was included in the initial project (as described above) then the
>>> problem re-apears.!!!
>>>
>>> I cannot explain what leads to that behaviour, and especially since it
>> works
>>> fine if I build a new project based on the same main prg.
>>>
>>> Demetrios, Greece
>>>
>>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
>>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
>>> > > If I create a new project and just add the main program, everything
>>> > > is
>>> rebuilt
>>> > > correctly.
>>> > > But, if I reopen the project and remove a form (for test reasons)
>>> > > and
>>> rebuild the
>>> > > project, the form is not added.
>>> >
>>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
>> files
>>> > but the newTest.pjx immediately shows the same bahaviour?
>>> >
>>> > Do you have "hard-coded" form calls in your code like
>>> > Do Form customer.scx
>>> > as opposed to something like a "form manager" approach
>>> > LParameters tcFormFile
>>> > Do Form (tcFormFile)
>>> >
>>> >
>>> > -Stefan
>>> >
>>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
>>> Newsbeitrag
>>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
>>> > > Hi,
>>> > >
>>> > > I am experiencing a weird problem with the program manager.
>>> > > On an existing project it does not add automatically the forms,
>>> programs, icons etc
>>> > > used.
>>> > >
>>> > > If I create a new project and just add the main program, everything
>>> > > is
>>> rebuilt
>>> > > correctly.
>>> > > But, if I reopen the project and remove a form (for test reasons)
>>> > > and
>>> rebuild the
>>> > > project, the form is not added.
>>> > > It reports that the form is Undefined !
>>> > >
>>> > > I found and read another relative post but those guidelines do
>>> > > nothing
>>> for me.
>>> > >
>>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
>>> Recompile all
>>> > > files.
>>> > >
>>> > > The problem does not seem to appear on other projects, on other
>>> directories.
>>> > >
>>> > > Pleeeaaase Help, before I get crazy.
>>> > > Demetrios, Greece
>>>
>>>
>>>
>>
>>
>
>



Re: Project Manager problem - Problem located but not Solved by Fernando

Fernando
Fri Sep 17 13:41:14 CDT 2004

I don't have a clue of what is happening, but I can give you one choice: Add
a class with one method for each form and place de call here, then call that
method from the menu. It's an intermediate tier to decouple the menus from
de name of the form and sure it resolves the problem. To test it try with
one of those problematic forms.

Regards,

Fernando D. Bozzo


"Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> escribió en el
mensaje news:OIlvelMnEHA.3988@TK2MSFTNGP10.phx.gbl...
> More input.
> Not only the menus have problems but the forms also.
> Including a call to another program or form does not include that to the
> project.
>
> Gggrrrrr
>
> What the #%^&@ is going on?
>
> Dmetrios, Greece
>
> > Hi all,
> >
> > I noticed that all forms and programs that are ignored during project
> > rebuild are those referenced in the menu.
> > If I include the same command, for example Do Form Test in a prg, it
will
> > automatically included.
> >
> > Any ideas?
> >
> > Demetrios, Greece
> >
> >
> > "Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
> > news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
> >> Hi:
> >>
> >> Have you tryed to check "recompile all files" when rebuilding the
> >> project?
> >>
> >>
> >> Fernando D. Bozzo
> >>
> >>
> >> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
> >> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
> >>> Stefan,
> >>>
> >>> The problem does not appear if I create a new project.
> >>> Everything is included correctly. Forms, prgs, icons.
> >>> If I keep working and something is needed or if I remove a program or
> >>> form
> >>> that was included in the initial project (as described above) then the
> >>> problem re-apears.!!!
> >>>
> >>> I cannot explain what leads to that behaviour, and especially since it
> >> works
> >>> fine if I build a new project based on the same main prg.
> >>>
> >>> Demetrios, Greece
> >>>
> >>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
> >>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
> >>> > > If I create a new project and just add the main program,
everything
> >>> > > is
> >>> rebuilt
> >>> > > correctly.
> >>> > > But, if I reopen the project and remove a form (for test reasons)
> >>> > > and
> >>> rebuild the
> >>> > > project, the form is not added.
> >>> >
> >>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
> >> files
> >>> > but the newTest.pjx immediately shows the same bahaviour?
> >>> >
> >>> > Do you have "hard-coded" form calls in your code like
> >>> > Do Form customer.scx
> >>> > as opposed to something like a "form manager" approach
> >>> > LParameters tcFormFile
> >>> > Do Form (tcFormFile)
> >>> >
> >>> >
> >>> > -Stefan
> >>> >
> >>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> >>> Newsbeitrag
> >>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
> >>> > > Hi,
> >>> > >
> >>> > > I am experiencing a weird problem with the program manager.
> >>> > > On an existing project it does not add automatically the forms,
> >>> programs, icons etc
> >>> > > used.
> >>> > >
> >>> > > If I create a new project and just add the main program,
everything
> >>> > > is
> >>> rebuilt
> >>> > > correctly.
> >>> > > But, if I reopen the project and remove a form (for test reasons)
> >>> > > and
> >>> rebuild the
> >>> > > project, the form is not added.
> >>> > > It reports that the form is Undefined !
> >>> > >
> >>> > > I found and read another relative post but those guidelines do
> >>> > > nothing
> >>> for me.
> >>> > >
> >>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
> >>> Recompile all
> >>> > > files.
> >>> > >
> >>> > > The problem does not seem to appear on other projects, on other
> >>> directories.
> >>> > >
> >>> > > Pleeeaaase Help, before I get crazy.
> >>> > > Demetrios, Greece
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>



Re: Project Manager problem - Problem located but not Solved by Stefan

Stefan
Sat Sep 18 03:28:57 CDT 2004

Hi Demetrios,

>>>> The problem does not appear if I create a new project.
>>>> Everything is included correctly. Forms, prgs, icons.
>>>> If I keep working and something is needed or if I remove a program or form
>>>> that was included in the initial project (as described above) then the
>>>> problem re-apears.!!!
Not completely sure: it reappears with the newproject.pjx then, right?

Did you switch off aggressive AntiVirus watchers?
Are all project member files on your local drive, i.e. not in a W/LAN
folder?
Do you use a subfolder hierarchy, so that the project manager can use
relative paths like ..\Menus, ..\Forms ?
Do you have invalid or locale characters along the project's path / folder
names?
Do you use leading numbers or "new*" for file names?
What happens when you move the project to another location like
d:\temp, any short-path. Or even to another local drive/partition?
Which operating system do you use, does the %path% system variable
have invalid content (like "," instead of ";" , / vs \ etc.)
Can you reproduce the effect on another machine by chance?
(Does it help to cleanup the Temp folder, getenv('temp')?)


Hope you'll solve it
-Stefan


"Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im Newsbeitrag
news:OIlvelMnEHA.3988@TK2MSFTNGP10.phx.gbl...
> More input.
> Not only the menus have problems but the forms also.
> Including a call to another program or form does not include that to the project.
>
> Gggrrrrr
>
> What the #%^&@ is going on?
>
> Dmetrios, Greece
>
>> Hi all,
>>
>> I noticed that all forms and programs that are ignored during project rebuild are
>> those referenced in the menu.
>> If I include the same command, for example Do Form Test in a prg, it will
>> automatically included.
>>
>> Any ideas?
>>
>> Demetrios, Greece
>>
>>
>> "Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
>> news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
>>> Hi:
>>>
>>> Have you tryed to check "recompile all files" when rebuilding the project?
>>>
>>>
>>> Fernando D. Bozzo
>>>
>>>
>>> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
>>> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
>>>> Stefan,
>>>>
>>>> The problem does not appear if I create a new project.
>>>> Everything is included correctly. Forms, prgs, icons.
>>>> If I keep working and something is needed or if I remove a program or form
>>>> that was included in the initial project (as described above) then the
>>>> problem re-apears.!!!
>>>>
>>>> I cannot explain what leads to that behaviour, and especially since it
>>> works
>>>> fine if I build a new project based on the same main prg.
>>>>
>>>> Demetrios, Greece
>>>>
>>>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
>>>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
>>>> > > If I create a new project and just add the main program, everything is
>>>> rebuilt
>>>> > > correctly.
>>>> > > But, if I reopen the project and remove a form (for test reasons) and
>>>> rebuild the
>>>> > > project, the form is not added.
>>>> >
>>>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
>>> files
>>>> > but the newTest.pjx immediately shows the same bahaviour?
>>>> >
>>>> > Do you have "hard-coded" form calls in your code like
>>>> > Do Form customer.scx
>>>> > as opposed to something like a "form manager" approach
>>>> > LParameters tcFormFile
>>>> > Do Form (tcFormFile)
>>>> >
>>>> >
>>>> > -Stefan
>>>> >
>>>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
>>>> Newsbeitrag
>>>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
>>>> > > Hi,
>>>> > >
>>>> > > I am experiencing a weird problem with the program manager.
>>>> > > On an existing project it does not add automatically the forms,
>>>> programs, icons etc
>>>> > > used.
>>>> > >
>>>> > > If I create a new project and just add the main program, everything is
>>>> rebuilt
>>>> > > correctly.
>>>> > > But, if I reopen the project and remove a form (for test reasons) and
>>>> rebuild the
>>>> > > project, the form is not added.
>>>> > > It reports that the form is Undefined !
>>>> > >
>>>> > > I found and read another relative post but those guidelines do nothing
>>>> for me.
>>>> > >
>>>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
>>>> Recompile all
>>>> > > files.
>>>> > >
>>>> > > The problem does not seem to appear on other projects, on other
>>>> directories.
>>>> > >
>>>> > > Pleeeaaase Help, before I get crazy.
>>>> > > Demetrios, Greece
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>


Re: Project Manager problem - Problem located but not Solved by Demetrios

Demetrios
Sat Sep 18 11:31:16 CDT 2004

Hi Stefan,


"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:Og6r3lVnEHA.2216@TK2MSFTNGP10.phx.gbl...
> Hi Demetrios,
>
>>>>> The problem does not appear if I create a new project.
>>>>> Everything is included correctly. Forms, prgs, icons.
>>>>> If I keep working and something is needed or if I remove a program or
>>>>> form
>>>>> that was included in the initial project (as described above) then the
>>>>> problem re-apears.!!!

> Not completely sure: it reappears with the newproject.pjx then, right?
The problem appears on a specific project/folder, but only after having
built the project for the first time.
If I create the project Test using the main.prg everyting will go OK. But,
if I modify something in this project that needs another form, the needed
one will not be added. I create a new project Test_1 using the same
main.prg. Everything will be included correctly. But once again, this one
will not be able to include the rest needed code, forms if a new call is
included.

> Did you switch off aggressive AntiVirus watchers?
The problem appears on a specific project..
I did test it though. No difference.

> Are all project member files on your local drive, i.e. not in a W/LAN
> folder?
All Local

> Do you use a subfolder hierarchy, so that the project manager can use
> relative paths like ..\Menus, ..\Forms ?
No.

> Do you have invalid or locale characters along the project's path / folder
> names?
No.

> Do you use leading numbers or "new*" for file names?
No.

> What happens when you move the project to another location like
> d:\temp, any short-path. Or even to another local drive/partition?
Exactly the same problem. I had test it.

> Which operating system do you use, does the %path% system variable
> have invalid content (like "," instead of ";" , / vs \ etc.)
Path is OK. The path is the same for all my projects, where I have no
problem. The path is dynamically created every time I start VFP for each
directory. The current directory appears first ant the rest follow.

> Can you reproduce the effect on another machine by chance?
> (Does it help to cleanup the Temp folder, getenv('temp')?)
Same Problem.
>
>
> Hope you'll solve it
> -Stefan
>
>
> "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> Newsbeitrag
> news:OIlvelMnEHA.3988@TK2MSFTNGP10.phx.gbl...
>> More input.
>> Not only the menus have problems but the forms also.
>> Including a call to another program or form does not include that to the
>> project.
>>
>> Gggrrrrr
>>
>> What the #%^&@ is going on?
>>
>> Dmetrios, Greece
>>
>>> Hi all,
>>>
>>> I noticed that all forms and programs that are ignored during project
>>> rebuild are
>>> those referenced in the menu.
>>> If I include the same command, for example Do Form Test in a prg, it
>>> will
>>> automatically included.
>>>
>>> Any ideas?
>>>
>>> Demetrios, Greece
>>>
>>>
>>> "Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
>>> news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
>>>> Hi:
>>>>
>>>> Have you tryed to check "recompile all files" when rebuilding the
>>>> project?
>>>>
>>>>
>>>> Fernando D. Bozzo
>>>>
>>>>
>>>> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
>>>> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
>>>>> Stefan,
>>>>>
>>>>> The problem does not appear if I create a new project.
>>>>> Everything is included correctly. Forms, prgs, icons.
>>>>> If I keep working and something is needed or if I remove a program or
>>>>> form
>>>>> that was included in the initial project (as described above) then the
>>>>> problem re-apears.!!!
>>>>>
>>>>> I cannot explain what leads to that behaviour, and especially since it
>>>> works
>>>>> fine if I build a new project based on the same main prg.
>>>>>
>>>>> Demetrios, Greece
>>>>>
>>>>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
>>>>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
>>>>> > > If I create a new project and just add the main program,
>>>>> > > everything is
>>>>> rebuilt
>>>>> > > correctly.
>>>>> > > But, if I reopen the project and remove a form (for test reasons)
>>>>> > > and
>>>>> rebuild the
>>>>> > > project, the form is not added.
>>>>> >
>>>>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
>>>> files
>>>>> > but the newTest.pjx immediately shows the same bahaviour?
>>>>> >
>>>>> > Do you have "hard-coded" form calls in your code like
>>>>> > Do Form customer.scx
>>>>> > as opposed to something like a "form manager" approach
>>>>> > LParameters tcFormFile
>>>>> > Do Form (tcFormFile)
>>>>> >
>>>>> >
>>>>> > -Stefan
>>>>> >
>>>>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
>>>>> Newsbeitrag
>>>>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
>>>>> > > Hi,
>>>>> > >
>>>>> > > I am experiencing a weird problem with the program manager.
>>>>> > > On an existing project it does not add automatically the forms,
>>>>> programs, icons etc
>>>>> > > used.
>>>>> > >
>>>>> > > If I create a new project and just add the main program,
>>>>> > > everything is
>>>>> rebuilt
>>>>> > > correctly.
>>>>> > > But, if I reopen the project and remove a form (for test reasons)
>>>>> > > and
>>>>> rebuild the
>>>>> > > project, the form is not added.
>>>>> > > It reports that the form is Undefined !
>>>>> > >
>>>>> > > I found and read another relative post but those guidelines do
>>>>> > > nothing
>>>>> for me.
>>>>> > >
>>>>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
>>>>> Recompile all
>>>>> > > files.
>>>>> > >
>>>>> > > The problem does not seem to appear on other projects, on other
>>>>> directories.
>>>>> > >
>>>>> > > Pleeeaaase Help, before I get crazy.
>>>>> > > Demetrios, Greece
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>







Re: Project Manager problem - SOLVED - Is it compiler's error? by Demetrios

Demetrios
Sat Sep 18 12:57:37 CDT 2004

Hi all,

I found the problem.
There was a call to PRG which had the folowing construction error, because
was under development.

Do TEST

and the TEST.PRG :
----------------------------------
Function Sub1
...
Return

Function Sub2
...
Return
----------------------------------

Actually TEST.PRG had NO code, only subroutines. The first line contained
the Function Sub1

During project built the compiler reported that TEST.PRG was missing.
I thought that the TEST.PRG was really missing because it was also not
appearing in the project.
TEST.PRG was in the directory, but still under development.
Et voila. !!!
Checking the existing code in TEST.PRG and fixing it everything corrected.
All needed programs, forms, icons were automatically inserted into the
project.

Could that be a Project's build malfunction ?

Thank you all for your help.

Demetrios, Greece


"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:Og6r3lVnEHA.2216@TK2MSFTNGP10.phx.gbl...
> Hi Demetrios,
>
>>>>> The problem does not appear if I create a new project.
>>>>> Everything is included correctly. Forms, prgs, icons.
>>>>> If I keep working and something is needed or if I remove a program or
>>>>> form
>>>>> that was included in the initial project (as described above) then the
>>>>> problem re-apears.!!!
> Not completely sure: it reappears with the newproject.pjx then, right?
>
> Did you switch off aggressive AntiVirus watchers?
> Are all project member files on your local drive, i.e. not in a W/LAN
> folder?
> Do you use a subfolder hierarchy, so that the project manager can use
> relative paths like ..\Menus, ..\Forms ?
> Do you have invalid or locale characters along the project's path / folder
> names?
> Do you use leading numbers or "new*" for file names?
> What happens when you move the project to another location like
> d:\temp, any short-path. Or even to another local drive/partition?
> Which operating system do you use, does the %path% system variable
> have invalid content (like "," instead of ";" , / vs \ etc.)
> Can you reproduce the effect on another machine by chance?
> (Does it help to cleanup the Temp folder, getenv('temp')?)
>
>
> Hope you'll solve it
> -Stefan
>
>
> "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> Newsbeitrag
> news:OIlvelMnEHA.3988@TK2MSFTNGP10.phx.gbl...
>> More input.
>> Not only the menus have problems but the forms also.
>> Including a call to another program or form does not include that to the
>> project.
>>
>> Gggrrrrr
>>
>> What the #%^&@ is going on?
>>
>> Dmetrios, Greece
>>
>>> Hi all,
>>>
>>> I noticed that all forms and programs that are ignored during project
>>> rebuild are
>>> those referenced in the menu.
>>> If I include the same command, for example Do Form Test in a prg, it
>>> will
>>> automatically included.
>>>
>>> Any ideas?
>>>
>>> Demetrios, Greece
>>>
>>>
>>> "Fernando D. Bozzo" <fdbozzo@ezrs.com> wrote in message
>>> news:euAQ5rJnEHA.3996@TK2MSFTNGP09.phx.gbl...
>>>> Hi:
>>>>
>>>> Have you tryed to check "recompile all files" when rebuilding the
>>>> project?
>>>>
>>>>
>>>> Fernando D. Bozzo
>>>>
>>>>
>>>> "Demetrios Panayotakopoulos" <dpanayotakopoulos_my_dat@_my_ametro.gr>
>>>> escribió en el mensaje news:#jxAMaJnEHA.3628@TK2MSFTNGP09.phx.gbl...
>>>>> Stefan,
>>>>>
>>>>> The problem does not appear if I create a new project.
>>>>> Everything is included correctly. Forms, prgs, icons.
>>>>> If I keep working and something is needed or if I remove a program or
>>>>> form
>>>>> that was included in the initial project (as described above) then the
>>>>> problem re-apears.!!!
>>>>>
>>>>> I cannot explain what leads to that behaviour, and especially since it
>>>> works
>>>>> fine if I build a new project based on the same main prg.
>>>>>
>>>>> Demetrios, Greece
>>>>>
>>>>> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
>>>>> news:Oc1DeXInEHA.3480@TK2MSFTNGP09.phx.gbl...
>>>>> > > If I create a new project and just add the main program,
>>>>> > > everything is
>>>>> rebuilt
>>>>> > > correctly.
>>>>> > > But, if I reopen the project and remove a form (for test reasons)
>>>>> > > and
>>>>> rebuild the
>>>>> > > project, the form is not added.
>>>>> >
>>>>> > That is, the effect is probably not caused by corrupted old.pjx/pjt
>>>> files
>>>>> > but the newTest.pjx immediately shows the same bahaviour?
>>>>> >
>>>>> > Do you have "hard-coded" form calls in your code like
>>>>> > Do Form customer.scx
>>>>> > as opposed to something like a "form manager" approach
>>>>> > LParameters tcFormFile
>>>>> > Do Form (tcFormFile)
>>>>> >
>>>>> >
>>>>> > -Stefan
>>>>> >
>>>>> > "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
>>>>> Newsbeitrag
>>>>> > news:%23U3sDVBnEHA.2708@TK2MSFTNGP10.phx.gbl...
>>>>> > > Hi,
>>>>> > >
>>>>> > > I am experiencing a weird problem with the program manager.
>>>>> > > On an existing project it does not add automatically the forms,
>>>>> programs, icons etc
>>>>> > > used.
>>>>> > >
>>>>> > > If I create a new project and just add the main program,
>>>>> > > everything is
>>>>> rebuilt
>>>>> > > correctly.
>>>>> > > But, if I reopen the project and remove a form (for test reasons)
>>>>> > > and
>>>>> rebuild the
>>>>> > > project, the form is not added.
>>>>> > > It reports that the form is Undefined !
>>>>> > >
>>>>> > > I found and read another relative post but those guidelines do
>>>>> > > nothing
>>>>> for me.
>>>>> > >
>>>>> > > I have deleted all foxuser files, Rebuild, Cleanup the project.
>>>>> Recompile all
>>>>> > > files.
>>>>> > >
>>>>> > > The problem does not seem to appear on other projects, on other
>>>>> directories.
>>>>> > >
>>>>> > > Pleeeaaase Help, before I get crazy.
>>>>> > > Demetrios, Greece
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>



Re: Project Manager problem - SOLVED - Is it compiler's error? by Stefan

Stefan
Sun Sep 19 00:12:28 CDT 2004

That's an interesting solution and I can reproduce the effect.
PM Build seems to work as expected when you add .PRG to
this line, right?
> Do TEST

If you like, I can forward your steps to MS.

-Stefan

(repro trial pasted below)

"Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im Newsbeitrag
news:%233pyhkanEHA.1304@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> I found the problem.
> There was a call to PRG which had the folowing construction error, because was
> under development.
>
> Do TEST
>
> and the TEST.PRG :
> ----------------------------------
> Function Sub1
> ...
> Return
>
> Function Sub2
> ...
> Return
> ----------------------------------
>
> Actually TEST.PRG had NO code, only subroutines. The first line contained the
> Function Sub1
>
> During project built the compiler reported that TEST.PRG was missing.
> I thought that the TEST.PRG was really missing because it was also not appearing in
> the project.
> TEST.PRG was in the directory, but still under development.
> Et voila. !!!
> Checking the existing code in TEST.PRG and fixing it everything corrected.
> All needed programs, forms, icons were automatically inserted into the project.
>
> Could that be a Project's build malfunction ?
>
> Thank you all for your help.
>
> Demetrios, Greece

*repro.prg
CLOSE ALL
ERASE test55* &&&&&&&&&&

LOCAL cOldSafety, cCode, cFile
cOldSafety = SET("Safety")
SET SAFETY OFF

CREATE PROJECT test55 NOWAIT SAVE

* create "main.prg"
TEXT TO cCode NOSHOW
*!* DO test55_invalid.prg
DO test55_invalid && must be no extension
DO FORM test55.scx
DO test55_valid.prg
*!* DO test55_invalid.prg
&& sequence matters to make PM give up
&& looking for the missing form above
RETURN
ENDTEXT
cFile = 'test55_main.prg'
STRTOFILE(cCode,cFile)
_vfp.ActiveProject.Files.Add(cFile)

* create member files
cFile = 'test55.scx'
KEYBOARD '{CTRL+W}'
CREATE FORM (cFile) SAVE
* _vfp.ActiveProject.Files.Add(cFile)
&& missing file

TEXT TO cCode NOSHOW
LOCAL test
test = 5
RETURN
ENDTEXT
cFile = 'test55_valid.prg'
STRTOFILE(cCode,cFile)
_vfp.ActiveProject.Files.Add(cFile)

TEXT TO cCode NOSHOW
* invalid prg does not contain actual code by accident
PROCEDURE Foo
ENDPROC
ENDTEXT
cFile = 'test55_invalid.prg'
STRTOFILE(cCode,cFile)
_vfp.ActiveProject.Files.Add(cFile)


_vfp.ActiveProject.Build(,1,.T.,.T.)



SET SAFETY &cOldSafety
*!* CLOSE ALL
*!* ERASE test55*
*eop
<snipped previous>


Re: Project Manager problem - SOLVED - Is it compiler's error? by Demetrios

Demetrios
Sun Sep 19 04:38:55 CDT 2004

Hi Stefan,

Actuall the call of the PRG was done using the folowing syntax:
TEST()
and not
Do Test

I wrote "DO TEST" to make it "clear" (to you) that I was calling a PRG file.
But now I think that this was a mistake.
Anyway, you are absolutely right. Adding PRG (--> Do Test.PRG) works !!!

You can forward it. I have no problem.
Does this "problem" appear and the latest versions? (I use VFP 6.0)

Your repro code failed to run in my computer.(due to VFP 6.0 ?)
STRTOFILE(cCode,cFile) generates error because cCode=.F.

* create "main.prg"
TEXT TO cCode NOSHOW <---???
*!* DO test55_invalid.prg
DO test55_invalid && must be no extension
DO FORM test55.scx
DO test55_valid.prg
*!* DO test55_invalid.prg
&& sequence matters to make PM give up
&& looking for the missing form above
RETURN
ENDTEXT
cFile = 'test55_main.prg'
STRTOFILE(cCode,cFile) <----

But If you could reproduce it, then it's OK.

Demetrios, Greece

"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:eeAgodgnEHA.2680@TK2MSFTNGP15.phx.gbl...
> That's an interesting solution and I can reproduce the effect.
> PM Build seems to work as expected when you add .PRG to
> this line, right?
>> Do TEST
>
> If you like, I can forward your steps to MS.
>
> -Stefan
>
> (repro trial pasted below)
>
> "Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im
> Newsbeitrag news:%233pyhkanEHA.1304@TK2MSFTNGP09.phx.gbl...
>> Hi all,
>>
>> I found the problem.
>> There was a call to PRG which had the folowing construction error,
>> because was under development.
>>
>> Do TEST
>>
>> and the TEST.PRG :
>> ----------------------------------
>> Function Sub1
>> ...
>> Return
>>
>> Function Sub2
>> ...
>> Return
>> ----------------------------------
>>
>> Actually TEST.PRG had NO code, only subroutines. The first line contained
>> the Function Sub1
>>
>> During project built the compiler reported that TEST.PRG was missing.
>> I thought that the TEST.PRG was really missing because it was also not
>> appearing in the project.
>> TEST.PRG was in the directory, but still under development.
>> Et voila. !!!
>> Checking the existing code in TEST.PRG and fixing it everything
>> corrected.
>> All needed programs, forms, icons were automatically inserted into the
>> project.
>>
>> Could that be a Project's build malfunction ?
>>
>> Thank you all for your help.
>>
>> Demetrios, Greece
>
> *repro.prg
> CLOSE ALL
> ERASE test55* &&&&&&&&&&
>
> LOCAL cOldSafety, cCode, cFile
> cOldSafety = SET("Safety")
> SET SAFETY OFF
>
> CREATE PROJECT test55 NOWAIT SAVE
>
> * create "main.prg"
> TEXT TO cCode NOSHOW
> *!* DO test55_invalid.prg
> DO test55_invalid && must be no extension
> DO FORM test55.scx
> DO test55_valid.prg
> *!* DO test55_invalid.prg
> && sequence matters to make PM give up
> && looking for the missing form above
> RETURN
> ENDTEXT
> cFile = 'test55_main.prg'
> STRTOFILE(cCode,cFile)
> _vfp.ActiveProject.Files.Add(cFile)
>
> * create member files
> cFile = 'test55.scx'
> KEYBOARD '{CTRL+W}'
> CREATE FORM (cFile) SAVE
> * _vfp.ActiveProject.Files.Add(cFile)
> && missing file
>
> TEXT TO cCode NOSHOW
> LOCAL test
> test = 5
> RETURN
> ENDTEXT
> cFile = 'test55_valid.prg'
> STRTOFILE(cCode,cFile)
> _vfp.ActiveProject.Files.Add(cFile)
>
> TEXT TO cCode NOSHOW
> * invalid prg does not contain actual code by accident
> PROCEDURE Foo
> ENDPROC
> ENDTEXT
> cFile = 'test55_invalid.prg'
> STRTOFILE(cCode,cFile)
> _vfp.ActiveProject.Files.Add(cFile)
>
>
> _vfp.ActiveProject.Build(,1,.T.,.T.)
>
>
>
> SET SAFETY &cOldSafety
> *!* CLOSE ALL
> *!* ERASE test55*
> *eop
> <snipped previous>



Re: Project Manager problem - SOLVED - Is it compiler's error? by Stefan

Stefan
Sun Sep 19 16:26:57 CDT 2004

> Does this "problem" appear and the latest versions?

Yes, same in Vfp8 and Vfp9

> Your repro code failed to run in my computer.(due to VFP 6.0 ?)

Right, Text/Endtext + StrToFile() were introduced later.
Would FCreate() , FPuts() , FClose() work instead?
cFile = 'test55_main.prg'
nHandle = FCREATE(cFile)
FPUTS(nHandle, "DO test55_invalid")
FPUTS(nHandle, "DO FORM test55.scx")
FPUTS(nHandle, "DO test55_valid.prg")
FPUTS(nHandle, "RETURN")
FCLOSE(nHandle)
_vfp.ActiveProject.Files.Add(cFile)
...


Regards
-Stefan

"Demetrios Panayotakopoulos" <dpan__dp@_ath.forthnet.gr> schrieb im Newsbeitrag
news:%23ObdfyinEHA.1180@TK2MSFTNGP10.phx.gbl...
> Hi Stefan,
>
> Actuall the call of the PRG was done using the folowing syntax:
> TEST()
> and not
> Do Test
>
> I wrote "DO TEST" to make it "clear" (to you) that I was calling a PRG file.
> But now I think that this was a mistake.
> Anyway, you are absolutely right. Adding PRG (--> Do Test.PRG) works !!!
>
> You can forward it. I have no problem.
> Does this "problem" appear and the latest versions? (I use VFP 6.0)
>
> Your repro code failed to run in my computer.(due to VFP 6.0 ?)
> STRTOFILE(cCode,cFile) generates error because cCode=.F.
>
> * create "main.prg"
> TEXT TO cCode NOSHOW <---???
> *!* DO test55_invalid.prg
> DO test55_invalid && must be no extension
> DO FORM test55.scx
> DO test55_valid.prg
> *!* DO test55_invalid.prg
> && sequence matters to make PM give up
> && looking for the missing form above
> RETURN
> ENDTEXT
> cFile = 'test55_main.prg'
> STRTOFILE(cCode,cFile) <----
>
> But If you could reproduce it, then it's OK.
>
> Demetrios, Greece
>
> "Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
> news:eeAgodgnEHA.2680@TK2MSFTNGP15.phx.gbl...
>> That's an interesting solution and I can reproduce the effect.
>> PM Build seems to work as expected when you add .PRG to
>> this line, right?
>>> Do TEST
>>
>> If you like, I can forward your steps to MS.
>>
>> -Stefan
>>

<snipped previous>