RE: VFP7: DSN programatically
On Tuesday, June 27, 2006 6:09 PM Chet Gardiner wrote: Control Panel Administrative Tools Data Sources System DSN Tab... I guess you missed the part about 'programmatically'! David L. Crooks ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP7: DSN programatically
I've got something I can send you. Let me look it over so I can explain it... g David Crooks wrote: On Tuesday, June 27, 2006 6:09 PM Chet Gardiner wrote: I guess you missed the part about 'programmatically'! -- Richard Kaye Artfact/RFC Systems Voice: 617.219.1038 For the fastest response time, please send your support queries to: Technical Support - [EMAIL PROTECTED] Australian Support - [EMAIL PROTECTED] Internet Support - [EMAIL PROTECTED] All Other Requests - [EMAIL PROTECTED] - This message has been checked for viruses before sending. - ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP7: DSN programatically
What I did is based on a class written by Mark McCasland, which also has a dependency on something written by Rick Strahl for reading/writing the registry. At the time, I needed to create a DSN for my app to use and had been doing it manually at each user's desktop. I was able to take Mark's code and customize it to test for the existence of the DSN and create it if it wasn't there. It's driven by storing the DSN parms in a VFP table. Anyway, what I did is pretty specific to my situation but could be fairly simply adapted to what you want. OTOH anyone who has the chops to rewrite Lotus Organizer in VFP probably doesn't need to see something as specific as what I've done. g So I've sent you the stuff that I pinched from Mark off list. He's done a nice job of documenting it and shows a number of examples. If you still want to discuss my specific implementation after you've looked at his stuff, I'll be happy to do so. David Crooks wrote: I do appreciate it! -- Richard Kaye Artfact/RFC Systems Voice: 617.219.1038 For the fastest response time, please send your support queries to: Technical Support - [EMAIL PROTECTED] Australian Support - [EMAIL PROTECTED] Internet Support - [EMAIL PROTECTED] All Other Requests - [EMAIL PROTECTED] - This message has been checked for viruses before sending. - ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
VFP7: DSN programatically
I am sure I did this in a previous lifetime, but I would like to create system DSN for a VFP DBC. Any ideas? TIA! David L. Crooks ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Re: VFP7: DSN programatically
David Crooks wrote: I am sure I did this in a previous lifetime, but I would like to create system DSN for a VFP DBC. Any ideas? TIA! David L. Crooks [excessive quoting removed by server] ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.