Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SDT with a VB application...possible?
Message
 
 
To
29/09/2004 12:13:55
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00947229
Message ID:
00947259
Views:
14
>Greetings!
>
>I have a VB6/SP5 application which is using a VFP6/SP5 database. The data is accessed through a DNS-less connection using ADO. A couple of questions regarding using SDT in this scenario:
>
>1) Can I use SDT 5.1j for this database?
>2) Can I instantiate SDT's objects from a VFP6/SP5 DLL?
>3) Any suggestions on how I might accomplish this?

I do not see why not as long as you are compiling into the DLL only those SDT components that are licensed for distribution. The DLL would not be using ADO to access the data. It would open the DBC and tables natively. Now here's the quagmire. Before doing anything that requires exclusive use, you have to have some means of closing all the tables opened by your ADO connection. You also have the issue of the SDT UI which may be undesirable when performing some of the functions.

Since SDT has to have direct access to the DBC and tables, I would store the path and DBC name in an external text file or in the registry. Then have your DLL retrieve this information.

All of this should be fairly easy to test.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform