Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

POP3 Locking up computer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
news - 20 Sep 2007 04:47 GMT
I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).

I've put the pop3 reader in a background thread. I've made it lowest
priority. But when its downloading 40KBytes it locks everything up.

If I download messages it locks the app up too.

Its a Csharp Form based app. I have windows.form timers triggering the
threads (I tried Threading timers too).

They all do the same. When I download, nothing works.

I tried async reads, that didn't work. If you need to see the code let me
know.

Any ideas would be appreciatted.

Thanks,
Bill
Peter Duniho - 20 Sep 2007 06:17 GMT
> I have a couple of classes I use. They both work. The problem is if there is
> a bunch of messages, while they are being downloaded nothing else works
[quoted text clipped - 3 lines]
> I tried async reads, that didn't work. If you need to see the code let me
> know.

If you want serious help, you'll need to post a concise-but-complete
example of code.

That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped?  Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.

Pete
TheSteph - 20 Sep 2007 10:11 GMT
Try with your anti-virus disabled...

> > I have a couple of classes I use. They both work. The problem is if there is
> > a bunch of messages, while they are being downloaded nothing else works
[quoted text clipped - 14 lines]
>
> Pete
xzzy - 22 Sep 2007 03:39 GMT
some internet providers ( Comcast would be an example ) only allow one
session on an email account at a time.

> Try with your anti-virus disabled...
>
[quoted text clipped - 18 lines]
>>
>> Pete

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.