Guest larsivi Posted October 12, 2004 Share Posted October 12, 2004 (edited) I'm using AutoIt3 to set up an ODBC data source, using odbcad32.exe. To create a new source, I need to select a driver from a list (The control is called SysListView321 according to the Spy.). I can select by sending letters (e.g. M to select a Microsoft driver), but this doesn't help me finding the drivers available and selecting according to that information. The Spy tells me that the text of the SysListView321 is "List1". As it is, I want to use an Oracle driver if it is present, otherwise I'll use a driver provided by Microsoft. To be sure that I select the correct driver (In case some is missing, messing up the number of letters that must be sent), I want to search in the text and select by using text. Any tips? Edit: By sending the exact name of the driver, the correct driver is selected. I still don't know how to check if one is present, though. Edited October 12, 2004 by larsivi Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2004 Share Posted October 12, 2004 There are LV_ commands included in the latest unstable autoit. Search the forum for syslistview32 and see what you get. Who else would I be? Link to comment Share on other sites More sharing options...
konan Posted October 13, 2004 Share Posted October 13, 2004 Thank you! Link to comment Share on other sites More sharing options...
Guest iampedro Posted June 13, 2005 Share Posted June 13, 2005 I'm using AutoIt3 to set up an ODBC data source, using odbcad32.exe. To create a new source, I need to select a driver from a list (The control is called SysListView321 according to the Spy.). I can select by sending letters (e.g. M to select a Microsoft driver), but this doesn't help me finding the drivers available and selecting according to that information. The Spy tells me that the text of the SysListView321 is "List1".As it is, I want to use an Oracle driver if it is present, otherwise I'll use a driver provided by Microsoft. To be sure that I select the correct driver (In case some is missing, messing up the number of letters that must be sent), I want to search in the text and select by using text.Any tips?Edit: By sending the exact name of the driver, the correct driver is selected. I still don't know how to check if one is present, though.<{POST_SNAPBACK}>Can you please post some of your code... I am a new person to auto IT and programming and I am looking to see about creating an ODBC connection also... Could you please help me out.. Link to comment Share on other sites More sharing options...
Guest larsivi Posted June 15, 2005 Share Posted June 15, 2005 Can you please post some of your code... I am a new person to auto IT and programming and I am looking to see about creating an ODBC connection also... Could you please help me out..<{POST_SNAPBACK}>I would love to help you out, but I found an easier workaround (that is, get someone else to do it.) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now