Click here to Skip to main content
15,898,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: access function on form Pin
Dave Kreskowiak17-Jul-07 4:32
mveDave Kreskowiak17-Jul-07 4:32 
GeneralRe: access function on form Pin
Tom Deketelaere17-Jul-07 4:35
professionalTom Deketelaere17-Jul-07 4:35 
GeneralRe: access function on form Pin
Dave Kreskowiak17-Jul-07 4:49
mveDave Kreskowiak17-Jul-07 4:49 
GeneralRe: access function on form Pin
Tom Deketelaere17-Jul-07 4:56
professionalTom Deketelaere17-Jul-07 4:56 
GeneralRe: access function on form Pin
Tom Deketelaere17-Jul-07 5:03
professionalTom Deketelaere17-Jul-07 5:03 
QuestionAudio File (Wave file) Splitting & Merging in Vb .Net Pin
amiashu17-Jul-07 2:55
amiashu17-Jul-07 2:55 
QuestionHow to control my Application to use not more then 10 % of CPU Pin
Rizwan Bashir17-Jul-07 2:02
Rizwan Bashir17-Jul-07 2:02 
AnswerRe: How to control my Application to use not more then 10 % of CPU Pin
Luc Pattyn17-Jul-07 3:18
sitebuilderLuc Pattyn17-Jul-07 3:18 
Hi,

AFAIK allocating CPU cycles is not supported, so getting an effective percentage of CPU
power is almost impossible; at best your app could observe its own CPU usage
and include some Thread.Sleep() to compensate when it is too high.

I would suggest though you change your app's priorities.

The simplest approach is, set your app's thread to a priority "below normal" (if
multiple threads, do it for all of them). The advantage is it comes below the normal,
interactive applications (certainly the one that has focus), and it still could
get 100% of CPU power if there is nothing else to do.

A more complex approach, which I do not recommend, is to have a timer, that changes
the app's priority (again one or all threads) between their normal value and a reduced
value, hoping to better match the 10% goal. But that is a lot of hassle (and overhead)
for still an unclear result. And I discourage all attempts to raise priorities
for such purposes, if you suddenly feel your app is not getting enough CPU cycles...

Hope this helps.

Smile | :)


Questionalphabetical order Pin
VB.NET_learner17-Jul-07 1:51
VB.NET_learner17-Jul-07 1:51 
AnswerRe: alphabetical order Pin
Tom Deketelaere17-Jul-07 2:16
professionalTom Deketelaere17-Jul-07 2:16 
Questioncrystal report + vb.net Pin
Jayesh Talsaniya17-Jul-07 1:33
Jayesh Talsaniya17-Jul-07 1:33 
AnswerRe: crystal report + vb.net Pin
_Damian S_17-Jul-07 13:55
professional_Damian S_17-Jul-07 13:55 
QuestionAdding the opacity property to the Panel control Pin
Ahmad Zaidi17-Jul-07 1:13
Ahmad Zaidi17-Jul-07 1:13 
AnswerRe: Adding the opacity property to the Panel control Pin
The ANZAC17-Jul-07 1:31
The ANZAC17-Jul-07 1:31 
GeneralRe: Adding the opacity property to the Panel control Pin
Ahmad Zaidi17-Jul-07 2:35
Ahmad Zaidi17-Jul-07 2:35 
GeneralRe: Adding the opacity property to the Panel control Pin
The ANZAC17-Jul-07 11:18
The ANZAC17-Jul-07 11:18 
AnswerRe: Adding the opacity property to the Panel control Pin
Dave Kreskowiak17-Jul-07 4:04
mveDave Kreskowiak17-Jul-07 4:04 
GeneralRe: Adding the opacity property to the Panel control Pin
Ahmad Zaidi17-Jul-07 22:23
Ahmad Zaidi17-Jul-07 22:23 
QuestionPDF file format in vb.net Pin
Ashish Kumar Vyas17-Jul-07 0:25
Ashish Kumar Vyas17-Jul-07 0:25 
AnswerRe: PDF file format in vb.net Pin
originSH17-Jul-07 0:39
originSH17-Jul-07 0:39 
GeneralRe: PDF file format in vb.net Pin
Ashish Kumar Vyas17-Jul-07 1:05
Ashish Kumar Vyas17-Jul-07 1:05 
GeneralRe: PDF file format in vb.net Pin
Ashish Kumar Vyas17-Jul-07 1:17
Ashish Kumar Vyas17-Jul-07 1:17 
AnswerRe: PDF file format in vb.net Pin
Tom Deketelaere17-Jul-07 1:15
professionalTom Deketelaere17-Jul-07 1:15 
GeneralRe: PDF file format in vb.net Pin
Ashish Kumar Vyas17-Jul-07 1:41
Ashish Kumar Vyas17-Jul-07 1:41 
GeneralRe: PDF file format in vb.net Pin
Tom Deketelaere17-Jul-07 1:54
professionalTom Deketelaere17-Jul-07 1:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.