Why would they want to do it this way?
Hi all,
I am trying to write a program in VB in a more professinoal way, instead of the way I'm doing it. Any programmer who sees my program will probably will have the loudes lough in his life.
Anyway, I used the Application Wizard in VB 6.0... One thing that I found interesting is that the following code
Set fMainForm = New frmMain
Load fMainForm
You see... there is this frmMain already design..
why can't they just use the following code instead
frmMain.show
I think the main reason of using "load" is because there is a splash screen... So the mainForm is hidden while loaded, so only the splash screen is shown.
But why the creating a new form object ??
Regards
hendra wijaya