Thread: New Auth GUI
View Single Post

Old 07-09-2009, 12:18 AM   #18 (permalink)
HD
Ex-Móderator
GPT Earnings: $1.90
 
HD's Avatar
 
Join Date: Jan 2009
Location: Never You Mind! TBN's Unofficial Dictator
Posts: 877
Reputation: 35
Default

Quote:
Originally Posted by alphafish View Post
Assuming it supports them do you know how to handle threads in VB? If you run the actual authentication in a separate thread to the gui it shouldn't freeze.

There is a handy java interface called swingworker which helps with the multi-threading of gui freezing tasks. Maybe VB has something similar? It can add a lot of code (especially if you need to communicate between threads), but for something like this which will be used over and over, it's probably worth it.

Other than that, as others have said, p. sexy.

alphafish
I was being a retard about it before :S. I was putting the download string function on MouseDown when i should have been using MouseUp .
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
HD is offline   Reply With Quote