Merge Multiple Files in Vb 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BarryM
    New Member
    • Mar 2008
    • 32

    Merge Multiple Files in Vb 2005

    hey does anybody know how to merge any kind of two or several files and split them up. I know how to merge multiple image files but dont know to do it with any other type


    Code:
    Dim sw As New IO.FileStream(NewFilePath, IO.FileMode.Create)
                    Dim fmt As New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
                    Dim bmp As Bitmap
    
       Filelist.Items.Add(ImageName)
                    For Each item As String In Filelist.Items
                      bmp = CType(Bitmap.FromFile(ImageName), Bitmap)
                        fmt.Serialize(sw, bmp)
                    Next
                    sw.Close()
    any help would be good
Working...