1 Replies - 765 Views - Last Post: 01 June 2011 - 11:17 AM Rate Topic: -----

#1 musya  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 11
  • View blog
  • Posts: 1,012
  • Joined: 25-April 07

Startup class

Posted 01 June 2011 - 10:54 AM

I created a VB.Net Windows Forms application and my Form1 is my startup form. I want to have a class be my startup file instead of my form. In c# you have program.cs which does that for you but I cant seem to find something like that in vb.net. Is there any way of doing this?

Thank you,
Is This A Good Question/Topic? 0
  • +

Replies To: Startup class

#2 motcom  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 290
  • View blog
  • Posts: 1,371
  • Joined: 16-June 08

Re: Startup class

Posted 01 June 2011 - 11:17 AM

normally it's called "sub main" (the starting function of the application). it gets created by default. I can't remember now, but you are able to use that in a class. I found that on google some where.. Sorry i can't show you now. Not at a Development PC.. But check out "Sub Main VB.Net" on Google or even Microsofts website
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1