Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

mbyamukama

@mbyamukama
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Good way to detect a useful portion of equivalent expressions
    M mbyamukama

    David, if these expressions are analytic expressions (defined and differentiable for all values of input), then a simple proof by induction will ALWAYS verify their equivalence. So you only have to try for a few values.

    BHM

    Algorithms testing beta-testing help learning

  • The stream does not support concurrent I/O ReadWrite operations
    M mbyamukama

    for each of the threads, it is different. say AAA.avi for one and BBB.avi for another. The two are meant to be written to the same forlder nonetheless.

    BHM

    C# help question

  • I need help decrypting an encrypted text (I also got cleartext examples)
    M mbyamukama

    Have you by any chance tried the common Algoprithms? Blowfish, Catfish etc?

    BHM

    Algorithms database algorithms security help tutorial

  • The stream does not support concurrent I/O ReadWrite operations
    M mbyamukama

    I am writing a multithreaded application. A download manager to be precise. When downloading one file, everything is quite fine. The thread starts, downloads the file and terminates as expected. When i start another download thread, however, when the first is still running, i get the error above 9in the subject). The problem is on this line of code which is meant to create a new filestream and write the retrieved data to the stream. strLocal = new FileStream(Application.StartupPath+"\\"+SaveAsTextBox.Text,FileMode.Create, FileAccess.Write,FileShare.ReadWrite); The download method is called Download(), is void and does not take any arguments. A thread is started using DownloadThread[j] = new Thread(new ThreadStart(Download)); DownloadThread[j].Start(); where j has a value incremented per click, so as to start a new thread each time. What i do not understand is that the exception seems to suggest that 2 write operations are requesting to be handled by the same stream, yet it is actually a different stream because the user changes the SaveAsTextBox.Text on every new download. Any answers?

    BHM

    C# help question

  • The stream does not support concurrent I/O read or write operations
    M mbyamukama

    I am writing a multithreaded application. A download manager to be precise. When downloading one file, everything is quite fine. The thread starts, downloads the file and terminates as expected. When i start another download thread, however, when the first is still running, i get the error above 9in the subject). The problem is on this line of code which is meant to create a new filestream and write the retrieved data to the stream. strLocal = new FileStream(Application.StartupPath+"\\"+SaveAsTextBox.Text,FileMode.Create, FileAccess.Write,FileShare.ReadWrite); The download method is called Download(), is void and does not take any arguments. A thread is started using DownloadThread[j] = new Thread(new ThreadStart(Download)); DownloadThread[j].Start(); where j has a value incremented per click, so as to start a new thread each time. What i do not understand is that the exception seems to suggest that 2 write operations are requesting to be handled by the same stream, yet it is actually a different stream because the user changes the SaveAsTextBox.Text on every new download. Any answers?

    BHM

    C# help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups