On a recent PoC (Proof-of-Concept) I had to add items from two comboboxes to a Windows Form combobox. Here is a simple solution to that:
OpenSpan Studio 4.5 is Now Available In Public Beta - for free OpenSpan Studio 4.5 is Now Available In Public Beta - for free.NET VB.NET automation tools, BI, client side integration, Desktop Automation, Free Download, QA, Visual Studio, WIndows automation.
Openspan Studio Free Download
1. Highlight the combobox control in Object Explorer and click the Explore Component Properties button at the top of the Object Explorer.2. You should see the list of properties available for the combobox control. Select the 'Items' property and then select Configure Type to see Properties and Methods of the combobox.
3. Select the Methods you would like to use and then click OK. The methods you selected will appear in the Object Explorer. I've added Items.AddRange(Object[] items) to add an Array of items Commonly used methods are:
- OpenSpan Studio and its counterpart MS-Visual Studio plugin do a pretty good job when you have to integrate applications where you don’t have the source code available, service-enabled applications and/or exposed APIs.
- The integrations and applications defined in Studio are saved to an XML file, which is consumed by the lightweight runtime environment, OpenSpan Integrator; it can launch any applications as required or on startup, and manage the integration between them (which was created in Studio).
- Product Details. OpenSpan solutions are designed and built using the OpenSpan development environment which is available in two options: as a plug-in for Microsoft Visual Studio 2008.
- It enables OpenSpan Studio to interrogate with a Windows application for interrogation purposes. WebAdapter is used to interrogate the Microsoft Internet Explorer.
4. Then on my Automation I just added the AddRange method to be populated by the combobox from a Windows Application. Something similar to the following: