Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd problem with VFP9 SP1 Beta
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Odd problem with VFP9 SP1 Beta
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
DB2
Miscellaneous
Thread ID:
01053455
Message ID:
01053455
Views:
57
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
Map
View

Click here to load this message in the networking platform