Lets say I have a List Box called listBox1 on Form1 and on Form2 I have a button called Delete. Whenever the user presses the Delete button on Form2 it should delete an entry from listBox1 in Form1. How can I manipulate listBox1 from Form2's Delete button?
This depends on what version of VB your using. If you are in fact using VB6 then you can do as stated above For1.Listbox1.item(x).delete
If you are using .net ie VB 2010 express. then you will need to get the handle of the instance of the form. Which you can save to a global variable when you initialize the form.
Bookmarks