saçma bişeymiş.
Yeni versiyonların böyle değişiklikler getirmesi çok can sıkıcı oluyor. Ben foxpro dos'ta dosyaları exe içine ekleyip sonra da copy file komutuyla exe dışına atıyordum ama vfp de tuhaf bir şekilde exe nin oluşturulduğu directory de değilse çalıştırılan exe dosyayı bulamıyor. birinin yardımıyla çözdüm (filetostr-strtofile)...
>Form exe'de mevcut. Problem, eger ExecScript() ile cagirildiysa oralarda bir yerlerde oldugunu bilmiyor:). Yani sunu dene:
>
>lcForm = "form1.scx"
>do form (m.lcForm)
>
>text to m.lcScript noshow
>do form form2.scx
>endtext
>
>ExecScript(m.lcScript)
>
Her iki form da projede olmasina ragmen, ikincisi calismiyor.
>Cetin
>
>
>
>Cetin
>
>>yanlış mı anladım bilmiyorum ama formu execscript ile çağırıyorsan external form kullanmadan exe ye eklememesi heralde normaldir...
>>
>>>>Old version of the application was build under VFP7.
>>>>New version was developed using the old projectunder VFP9. Forms are not called directly like:
>>>>do form formname
>>>>
>>>>but formnames are in a table included in the project - table has field action:
>>>>DoForm("formname",'parms')
>>>>FormMethod('methodname','parms')
>>>>etc.
>>>>An 'executor' object handles what to call based on that data. This worked very well in previous version.
>>>>
>>>>New forms/classes/frx/prg/prg based classes etc were added in new project (files needed are explicitly added -included- to the project). After build however the exe complains about missing files. ie:
>>>>
>>>>c:\exepath\formX.scx doesn't exist.
>>>>
>>>>but that form is explicitly included in project. Did anybody encounter this and know of a quick solution? (I'm going to add
>>>>if .f.
>>>>do form ...
>>>>do this
>>>>do that
>>>>endif) but I don't think it'd do.
>>>>TIA
>>>>Cetin
>>>
>>>Solved somewhat (still parts to check). Cause was ExecScript(). If form is called via execscript then it fails (a bug or a by design???) and doesn't see files included in project.
>>>Cetin