Solved

Listbox to Listbox (dif. forms)

Posted on 2004-08-24
1
163 Views
Last Modified: 2010-05-03
Anyone know the code for clicking an item in a listbox on one form, and by doing so copying that item to a different listbox on a different form?  Found a couple of book references for doing this between listboxes on *same* form, but not this.  Thanks!
0
Comment
Question by:di6non
1 Comment
 
LVL 3

Accepted Solution

by:
nichia earned 50 total points
ID: 11882038
This should not be a problem as long as the forms are in the same project.  You reference the listbox in the second form like this:

Form2.List2.Additem(...) 'Reference List2 on Form2
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question