Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error C0000005
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00595224
Message ID:
00595254
Vues:
30
>>>>I have a form that is called from the .Click event of a command button on another form. Sometimes this works fine and sometimes I get a Fatal Error C0000005 when the DO FORM occurs. The form being called is a large multi-paged scrollable form, if that matters. I am using VFP6 SP5.
>>>>
>>>>Any ideas or known issues on what may be causing this to occur?
>>>
>>>Does this message show, which method gives you the error? Do you have all objects in this form in design time or you add them as necessary in run-time (delayed instantiation)?
>>
>>Nadya,
>>
>>Yes, it tells me that the .Click event is where the error is being encountered on line 72. Line 72 contains the DO FORM. As for the objects, they are all there at design time. There is no delayed instantiation.
>
>Do you have code in Load/Init methods of this form? Can you temporary remove pageframe from this form and test, if it resolves this problem?

Yes, there is code in Load/Init methods of this form. The Load creates 8 cursors and runs SQL-SELECTS to populate these. The Init opens a table of lookup values and populates the choices for 11 comboboxes using .AddItem()

Removing the pageframe would be a bit of a hassle. What are your thoughts in regards to this?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform