Results 1 to 2 of 2

Thread: [RESOLVED] VB.Net 2.0 DoEvents

  1. #1

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Resolved [RESOLVED] VB.Net 2.0 DoEvents

    I have an old Class I wrote in VS 2003 and I had a line that said System.Windows.Forms.Application.DoEvents(). When I try to add that line in a class in VS 2005 I get an error saying that Windows is not a memeber of System. Also, the intelisense does not have Windows showing up when I type System. However, if I look in the object browser System.Windows.Forms.Application is there. Oh and by the way, I am doing this in a Windows Service Project.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  2. #2

    Thread Starter
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Re: VB.Net 2.0 DoEvents

    Ok, I figured it out. I had to reference System.Windows.Forms in the Project I guess because Services usually don't have forms so it is not reference by default.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

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