troubleshooting Question

Form data transfer

Avatar of JoeBo747
JoeBo747 asked on
Visual Basic Classic.NET ProgrammingVisual Basic.NET
6 Comments1 Solution175 ViewsLast Modified:
Hi Experts

I have three forms form1 is loaded as the main form, form2 is loaded when a button is clicked on form1, and in turn the user can select another option on form2 and form3 loads.

If form2 is loaded independently and form3 is opened from form2 and an item is selected  on a listview on form3,  the listview items text is sent to a textbox on form2.

Why will this not work when form2 is opened by the button on form1? I need form1 to stay open as the background while these events take place.

Sample Code:
form2.ColName.Text = StrConv(Me.MyListview.SelectedItems(0).SubItems(0).Text, VbStrConv.ProperCase)

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros