Sign in to follow this  
Followers 0
Guest larsivi

Getting/setting in SysListView

5 posts in this topic

#1 ·  Posted (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 by larsivi

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

Thank you!

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

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.)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0