Discussion Locked

Perform Action In Form1 When Form2 Exits

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

(Visual Basic .NET)

I think this should be fairly simple, but I don't know the right commands for it. What I want to do is have Form1 be the main program, when you click a button it opens Form2. The user then inputs information into Form2 and clicks a "Save" button.

When Form2 closes, I want Form1 to run some specific code. How do I do this?

5 replies

by john_wills

You can update the information on Form1 by referring to Form1 in another module, e.g. [Form1].itemonform1.source="Select..."

This discussion is closed to new replies.