Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QuickBooks QBFC - from VFP6 to VFP9
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01605538
Message ID:
01605724
Views:
99
>
>QBSessionManager.OpenConnection() returns .NULL. This does not indicate failure.

Hi Brandon,

Yes, that was indeed the problem. Interestingly, in VFP6, it's an empty string and that's what I was checking for. VFP9 correctly returns .NULL. which I was not checking for so switching from VFP6 to VFP9 caused my app to *think* there was an error when there actually was not. In fact, checking the return value is pointless but I was even dumber 10 years ago when I wrote that than I am now.

Thank you for your reply.

Thank you also to Marcia and Tamar for your responses.


Carl
Carl Chambers
Cardol Data Systems
Previous
Reply
Map
View

Click here to load this message in the networking platform