Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Errors
Message
De
18/07/2001 18:23:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00532240
Message ID:
00532287
Vues:
13
Try using the debugger, to see what value ENTRADA has. Or check your code, to see whether you don't assign a value to it.

ENTRADA = CreateObject("cMainForm") && Type = "O"
ENTRADA = .T. && Now, Type = "L" (logical)

Or perhaps the variable ENTRADA gets out of scope. Is it a public variable? Do you hide it somewhere with LOCAL or PRIVATE?

Hilmar.

>Hi Friends!
>
>I have a new trivia:
>
>An application works fine. But sometimes, only sometimes, 1 in 1000, the app returns an error. The Main form it´s named ENTRADA and calls 8 subforms in that way:
>
>Thisform.visible = .F.
>Thisform.lostfocus()
>do form formx
>
>And every object returns to main form in that way
>
>Thisform.release
>ENTRADA.visible = .t.
>ENTRADA.gotfocus()
>
>The problem is that sometimes, with no aparent reason, the app returns this error message:
>
>"ENTRADA is not an object"
>
>
>The other problem, it´s in other part of the application, the client, that sometimes returns:
>
>"OLE erro code 0x80020006 Uknown COM status mode" Everything works fine, just this error, and in the same way, 1 in 1000.
>
>Can anybody help?
>
>Thanks in advance!
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform