Connecting Tech Pros Worldwide Forums | Help | Site Map

VB app running at 50% CPU usage consistently

Newbie
 
Join Date: Nov 2007
Posts: 25
#1: Jul 1 '08
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's Avatar
Moderator
 
Join Date: Dec 2006
Location: Bangalore ,India
Posts: 7,508
#2: Jul 2 '08

re: VB app running at 50% CPU usage consistently


that might be because of any opended databass connection or any processing going on in back ground .
Newbie
 
Join Date: Nov 2007
Posts: 25
#3: Jul 2 '08

re: VB app running at 50% CPU usage consistently


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...
lotus18's Avatar
Site Addict
 
Join Date: Nov 2007
Location: Zamboanga City, Philippines
Posts: 858
#4: Jul 3 '08

re: VB app running at 50% CPU usage consistently


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
Reply