Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to work around VFP Excel Page Fault?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to work around VFP Excel Page Fault?
Divers
Thread ID:
00246455
Message ID:
00246455
Vues:
50
My VFP6 Excel automation project:
oExcel=createobject('Excel.Application')
oExcel.Application.WorkBooks.Open('MYXLS.XLS')
oExcel.Application.Run('Auto_Start')
oExcel.Visible=.t.
Behaves well, and does the job! I can close the session without incident, by simply clicking Excel's main (X) close. BUT, when I click the "workbooks" (X) close, Window's returns an EXCEL.EXE caused a page fault at 157 ...

Something similar too: oExcel.Application.WorkBooks(1).Closable=.f., (BTW this did not work) would be helpful. Is it possible to disable the "sheet's" (X) close, and force to click Main's (X) Close?

Thank you,
Imagination is more important than knowledge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform