VB app running at 50% CPU usage consistently

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paulcybulski
    New Member
    • Nov 2007
    • 25

    VB app running at 50% CPU usage consistently

    Hi,

    I am building applications using VB and it appears that while these applications are executing, or as they stay open (not performing any tasks such as calculations) the Task Manager in Windows shows that the CPU is at 50% usage...this doesn't fluctuate much until the application is closed...does anyone have any idea why this may be? Any way to solve it?

    Paul
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    that might be because of any opended databass connection or any processing going on in back ground .

    Comment

    • paulcybulski
      New Member
      • Nov 2007
      • 25

      #3
      no there are no databases open when this occurs...and there is no processing going on other than a loop with a sleep command in it...

      Comment

      • lotus18
        Contributor
        • Nov 2007
        • 865

        #4
        Hi

        Sometimes we need to be careful of the dataypes that we used. Are you executing your application thru visual studio ide it is already complete?

        Rey Sean

        Comment

        Working...