Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > API > Selecting an item in a list box in an external program


Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2003, 04:36 PM
JohnVM JohnVM is offline
Newcomer
 
Join Date: Oct 2003
Posts: 2
Exclamation Selecting an item in a list box in an external program


Hello,

I am currently working on writing a program for work, and I have come across something that I dont know exactly how to do.

The program that I am working with runs while another program is running. The program I am writing is to "use" (act as a person using the program itself) the other program.

The program that this program is interfacing with and using has a big list box with a few thousand entries in it. This list box allows multiple items in it to be selected at once.

The problem at the moment is that a actual human has to look at an excel list, and then find these entries in this big list box, hold down the control button and click all of the items in the list that are on the excel sheet. What I am hoping to do is create a program that will read the excel sheet, get the contents of this list box, and then select the items in the list box that are also on the excel sheet.

I know how to do all the code so far except for the part of selecting the items in the actual list box.


Since the program that I need to select the item in the list box in is an external program (its not the program that I am coding, its the one I am coding this program to modify) I assume that in order to select the item I will have to use some sort of API code.

Any person that can help me out with this (tell me the API that I could use, give me a code example, whatever) to select an item in a list box in an external program, would be VERY appreciated.

Thanks a million,

John
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting next item in list using a timer FaTaLy2k General 3 06-18-2003 02:15 PM
finding index number in external list? Csharp API 18 05-13-2003 11:23 PM
Intellisense usetheforce2 Miscellaneous Languages 10 10-16-2002 07:48 PM
VB Menus John General 8 02-05-2002 09:31 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->