Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I got this for 0 to some big number.... the problem is that it kinda hangs the application until it is done.... how I make it so it wont hang the applicaiton like how do I tell the program only to use like 70% of CPU .... or something like that....

 

 

 

oh and one other question.... I would like to do a setup program for my application.... what program should I use ? or is there something with .net 2003 I could use...

 

 

-thank you

"Everything should be made as simple as possible, but not simpler."

"It's not that I'm so smart , it's just that I stay with problems longer ."

- Albert Einstein

Posted

In your "for" loop put the following line:

 

Application.DoEvents

 

 

What is happening is that your program is getting tied up doing the code for your loop and isn't handling other messaging events. This tells it to do that.

"Programmers are tools for converting caffeine into code."

 

Madcow Inventions -- Software for the Sanity Challenged.

Posted

I would like to do a setup program for my application.... what program should I use ? or is there something with .net 2003 I could use...

 

Look into the Setup and Deployment Projects in VS.NET.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...