Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd problem with VFP9 SP1 Beta
Message
From
27/09/2005 11:21:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
DB2
Miscellaneous
Thread ID:
01053455
Message ID:
01053461
Views:
13
>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?

Patrick,
Yesterday at fox4um someone else reported that after applying SP1 they started to lose connection handles for SQL server in exe. Might be true, didn't yet test myself.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform