Form Instantiating

G

Green Taylor

We have a form called frmCustomers

Two way we can instantiate this form.
1. Dim frmCustomers as New frmCustomers
2. Dim Frm as new FrmCustomers

Which one is the professional way to use.
Please tell me which is prefered any why.

Thanks in advance,
Green
 
H

Herfried K. Wagner [MVP]

Green Taylor said:
We have a form called frmCustomers

Two way we can instantiate this form.
1. Dim frmCustomers as New frmCustomers
2. Dim Frm as new FrmCustomers

Which one is the professional way to use.
Please tell me which is prefered any why.

There is no preferred way. You can choose an (almost) arbitrary name for
the variable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top