VB.NET equivalent to "classic" VB "DoEvents"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pcnerd

    #1

    VB.NET equivalent to "classic" VB "DoEvents"

    I have VB.NET 2005 Express Edition. Is there a VB.NET equivalent to the
    "classic" VB's DoEvents? I searched the VB.NET Help & had no luck. In
    "classic" VB, DoEvents was used in code that might lock up the PC. Thank you.
    David
  • Tom Shelton

    #2
    Re: VB.NET equivalent to "classic&q uot; VB "DoEvents& quot;


    pcnerd wrote:[color=blue]
    > I have VB.NET 2005 Express Edition. Is there a VB.NET equivalent to the
    > "classic" VB's DoEvents? I searched the VB.NET Help & had no luck. In
    > "classic" VB, DoEvents was used in code that might lock up the PC. Thank you.
    > David[/color]

    Sure... As long as you have System.Windows. Forms referenced in your
    project:

    Application.DoE vents

    or new in VB.NET 2005

    My.Application. DoEvents

    HTH

    --
    Tom Shelton [MVP]

    Comment

    Working...