Information générale
Catégorie:
Visual FoxPro Beta
Titre:
Odd problem with VFP9 SP1 Beta
Versions des environnements
I have installed the SP1 beta to test my application.
After installing I get an error in my runtime application with SQLEXEC(),SQLPREP() statements in a few spots in the app. The error is "Connection handle is invalid."
I store the connection handle in a public object's property: oData.iConn
SQLEXEC(),SQLPREP() statements do not error until this line of code runs:
this.parent.parent.page2.oleTree.Object.imagelist = this.parent.parent.page2.oleImageList
If I test this class in isolation in the VFP IDE I do not see the same problem.
To get around this I have tried to set the Treeview's ImageList property at runtime in the Treecntrl's property sheet. I see the oleImagelist and choose it, hit apply, hit ok. But it does not save. Am I doing something incorrectly? Any idea why attaching an imagelist would kill a SQL connection?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement