Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running code can't find form
Message
De
01/11/2001 10:25:37
 
 
À
31/10/2001 18:31:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575726
Message ID:
00576140
Vues:
21
Hi Dragan,

Thanks for detailing your findings as they confirm what I thought might be going on. I think your conclusion is probably the right one. The other responder to this thread (Charles) gives his workaround to this problem and then my response to him "muses" a bit about what the effect of using SET PROCEDURE might be to solving it.

Albert

>
>No, but I once had an equivalent problem: a .frx file called a form from within its .dataenvironment.init - and the following didn't work:
>- report outside project, form inside, its classlib inside
>- report outside project, form outside, its classlib inside
>
>What eventually worked, was
>- report outside project, form outside, its classlib outside
>- report outside project, form outside based on Fox base classes
>- everything inside project.
>
>The first two didn't work even when we tried to use newobject() with the third parameter to create the form from its class (trying to skip the .scx). This was in VFP6 SP3, I think, maybe SP5.
>
>The conclusion I got from this is if you're running anything from outside the .exe and the .vcxes are inside the .exe, the outside code is marooned and can't find almost any of the stuff which is inside the .exe. IOW, bad news for you, unless someone sheds some light on the problem and comes up with the right way to do this.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform