Re : Re ## Startup Forms and Splash screen Problem - Please helpme!! ##

  • Thread starter Thread starter BuzzLight
  • Start date Start date
B

BuzzLight

Thanks alot Charles m8, your suggestion was very useful, Iam very new to vb.net ... I used application.run and it works fine but I do not know what "Application.Run" means.. what it does..

But Thankyou for your help
 
It basically just starts a Windows message loop. If you use the traditional
(VB) method of

<code>
Sub Main

Dim frm As New MyForm

frm.Show

End Sub
</code>

your form will be displayed momentarily, but as soon as Sub Main terminates
your form will terminate too. Application.Run(frm) causes a message loop to
run which 'feeds' your form until it terminates.

If you have the .NET help installed, you can get a brief description and
example from the dynamic help.

HTH

Charles


BuzzLight said:
Thanks alot Charles m8, your suggestion was very useful, Iam very new to
vb.net ... I used application.run and it works fine but I do not know what
"Application.Run" means.. what it does..
 
Back
Top