By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,905 Members | 1,762 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,905 IT Pros & Developers. It's quick & easy.

Merge Multiple Files in Vb 2005

P: 32
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

Expand|Select|Wrap|Line Numbers
  1. Dim sw As New IO.FileStream(NewFilePath, IO.FileMode.Create)
  2.                 Dim fmt As New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
  3.                 Dim bmp As Bitmap
  5.    Filelist.Items.Add(ImageName)
  6.                 For Each item As String In Filelist.Items
  7.                   bmp = CType(Bitmap.FromFile(ImageName), Bitmap)
  8.                     fmt.Serialize(sw, bmp)
  9.                 Next
  10.                 sw.Close()
any help would be good
Feb 2 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.