Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error code0x8000ffff : Unexpected Failure ?????
Message
De
16/07/1999 09:45:15
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
15/07/1999 16:43:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00241709
Message ID:
00242282
Vues:
30
>The kludge I have implemented to get around this peculiar behaviour is simply to test for the existence of the variable 'oform.name' ahead of the 'oForm Release() command. (If type('oform.name')<>'U' )
>
>which resolves the problem, but the question left hanging in the air is, of course, why should I need to do that in the first place?

Is the diary form instanciated from another form? If that other form was released before it, the diary form may have be released with it (lost its only object referrence), and therefore already didn't exist at the time. Well, it happens in some cases - it really depends on the order of the forms in the _screen.forms collection.

One sure way to avoid this is to

do while _screen.formcount#0
_screen.forms[1].release
endd

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform