User Profile

Collapse

Profile Sidebar

Collapse
andycee
andycee
Last Activity: Sep 9 '07, 03:07 PM
Joined: Oct 17 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • andycee
    started a topic FileStream.Write doing odd things...

    FileStream.Write doing odd things...

    Hi,

    I'm having FileStream.Writ e behave rather oddly.

    The code below should take file a.txt and append it to file b.txt :

    Code:
            Dim buffer As Byte()
            Dim bytesRead As Integer
            Dim fStreamIN As New FileStream("c:\a.txt", FileMode.Open, FileAccess.Read)
            Dim fStreamOUT As New FileStream("c:\b.txt", FileMode.Append, FileAccess.Write)
    ...
    See more | Go to post

  • andycee
    started a topic Accessing UI components from BackgroundWorker
    in .NET

    Accessing UI components from BackgroundWorker

    Hi,

    I'm working on an app to filter images (by size, EXIF info etc..) and display as a slideshow. To allow the worker thread to continue running whilst performing the longer tasks such as loading the image and reading the EXIF data, I have put my code for finding the next image in a BackgroundWorke r thread.

    My problem is that this code accesses several ListViews and variables in the UI thread, and also needs to write...
    See more | Go to post
No activity results to display
Show More
Working...