Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE error code0x8000ffff : Unexpected Failure ?????
Message
From
16/07/1999 09:45:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/07/1999 16:43:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00241709
Message ID:
00242282
Views:
21
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform