Linked Questions

Popular Questions

Whats a better way to call a form from another form

Asked by At

Say I have 2 forms named, Form1 and Form2. I want to call a function abc() in Form2 from Form1. Which one is better and why?

Method 1:

 'In Form1
  Form2.abc()

Method 2:

 'In Form1
  Dim oFrm As New Form2
  oFrm.abc()

Related Questions