General information
Category:
Visual FoxPro Beta
Title:
Odd problem with VFP9 SP1 Beta
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only