Results 1 to 17 of 17

Thread: [RESOLVED] Background Worker & Progress (reporting to the default instance of the main form)

Hybrid View

  1. #1
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Background Worker not Reporting Progress

    Quote Originally Posted by marcellus View Post
    The only reason why I am calling it from Module1 is because I don't want all of the code to be in Form1.
    There is no reason a form cannot contain all your code. You could use a Partial class to move the code into another file, but there is no real benefit.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Sep 2011
    Posts
    27

    Re: Background Worker not Reporting Progress

    Quote Originally Posted by Grimfort View Post
    There is no reason a form cannot contain all your code. You could use a Partial class to move the code into another file, but there is no real benefit.
    That's it. All this time I was making a simple problem much more complicated.
    At least I learned more about instances in vb. Maybe in the future I will actually use it and now I will convert my project to use Partial Classes. Gasp...

    I feel dumb...

    Thank you all for your help!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width