Click here to Skip to main content
15,913,773 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Sending RCON commands tto a Counter-Strike: Source server. Pin
DJMOH29-Dec-08 3:08
DJMOH29-Dec-08 3:08 
GeneralRe: Sending RCON commands tto a Counter-Strike: Source server. Pin
DJMOH7-Jan-09 18:35
DJMOH7-Jan-09 18:35 
GeneralRe: Sending RCON commands tto a Counter-Strike: Source server. Pin
DJMOH29-Dec-08 3:04
DJMOH29-Dec-08 3:04 
QuestionRe: Sending RCON commands tto a Counter-Strike: Source server. Pin
DJMOH29-Dec-08 3:01
DJMOH29-Dec-08 3:01 
Questionwallpaper problem Pin
onlyehtisham28-Dec-08 10:45
onlyehtisham28-Dec-08 10:45 
AnswerRe: wallpaper problem Pin
Colin Angus Mackay28-Dec-08 12:44
Colin Angus Mackay28-Dec-08 12:44 
AnswerRe: wallpaper problem Pin
Dave Kreskowiak28-Dec-08 19:44
mveDave Kreskowiak28-Dec-08 19:44 
QuestionDownloadQueue [modified] Pin
Noctris28-Dec-08 2:19
Noctris28-Dec-08 2:19 
Hi guys,

I am not sure if this should be VB specific or more design but i'm a bit stuck with a dll i try to write. This dll should take care of communication with our server (tcp) and download files. Then this dll can be used by various host applications that need connection with our infrastructure. Now i want to build a download queue which in the back is downloaded ( backgroundworker ) and where i can add downloads selected by the app (it's about music and video files). This "queue" needs to be exposed to the host application so they can see the queue and what is happening..

However.. first i thought of doing this using our database ( we use sqlite for the communications DLL).. however.. sqlite and multithreading don't get along AT ALL.. so this locked the database giving all sorts of evil errors (and worse.. sometimes blocked the TCP Socket from writing data into the local database which takes priority over the downloads

Then i wanted to do this using a datatable but this too gives all sort of strange issues which just seem to send me in a loop (exposing the queue using a dataview.. the connected datagridview doesn't refresh as it should, when row is selected that is downloaded and then gets removed from the view we get "isnull" errors etc, etc, etc)

Now my ideas are out and i turn here:

What is the best way to build a download queue which:

Needs to be able to prioritized
needs to be visualised like our background thread is using it (so with the priority in place)
Where multiple threads can add / remove downloads from it..

Can anyone point me in a right direction ?

Many thanks !

Do Or Don't, there is no "try catch ex as exception end try"

modified on Sunday, December 28, 2008 9:42 AM

AnswerRe: DownloadQueue Pin
Ben Fair29-Dec-08 9:20
Ben Fair29-Dec-08 9:20 
QuestionVB.NET application to login in Website Pin
shrekage27-Dec-08 17:30
shrekage27-Dec-08 17:30 
AnswerRe: VB.NET application to login in Website Pin
Tony Richards28-Dec-08 1:34
Tony Richards28-Dec-08 1:34 
AnswerRe: VB.NET application to login in Website Pin
Mycroft Holmes28-Dec-08 15:10
professionalMycroft Holmes28-Dec-08 15:10 
QuestionWindows Mobile Toolbar Pin
UniBond27-Dec-08 14:58
UniBond27-Dec-08 14:58 
QuestionVB.NET - OLEDB with Foxpro table Pin
iluha27-Dec-08 13:49
iluha27-Dec-08 13:49 
AnswerRe: VB.NET - OLEDB with Foxpro table Pin
CodingYoshi27-Dec-08 21:56
CodingYoshi27-Dec-08 21:56 
GeneralRe: VB.NET - OLEDB with Foxpro table Pin
iluha28-Dec-08 4:26
iluha28-Dec-08 4:26 
GeneralRe: VB.NET - OLEDB with Foxpro table Pin
CodingYoshi29-Dec-08 3:18
CodingYoshi29-Dec-08 3:18 
GeneralRe: VB.NET - OLEDB with Foxpro table Pin
Ben Fair29-Dec-08 8:54
Ben Fair29-Dec-08 8:54 
QuestionVB.net & XML Pin
Shazz Rock26-Dec-08 21:50
Shazz Rock26-Dec-08 21:50 
AnswerRe: VB.net & XML Pin
Guffa27-Dec-08 3:58
Guffa27-Dec-08 3:58 
Questionresizing a tree node Pin
Sanam26-Dec-08 21:07
Sanam26-Dec-08 21:07 
AnswerRe: resizing a tree node Pin
Dave Kreskowiak27-Dec-08 5:51
mveDave Kreskowiak27-Dec-08 5:51 
GeneralAnyone with web browser making experience please read this! Pin
113st4life26-Dec-08 20:43
113st4life26-Dec-08 20:43 
GeneralRe: Anyone with web browser making experience please read this! Pin
Colin Angus Mackay27-Dec-08 8:30
Colin Angus Mackay27-Dec-08 8:30 
GeneralRe: Anyone with web browser making experience please read this! Pin
Mycroft Holmes28-Dec-08 16:20
professionalMycroft Holmes28-Dec-08 16:20 

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.