|
-
Nov 14th, 2005, 06:47 PM
#1
Thread Starter
Frenzied Member
[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.
-
Nov 14th, 2005, 06:57 PM
#2
Thread Starter
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|