Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Form Pin
Abhinav S9-Apr-12 22:12
Abhinav S9-Apr-12 22:12 
QuestionHow to store data(images, Text, Music) in one file? like.dat Pin
Abed AlSayed8-Apr-12 6:17
Abed AlSayed8-Apr-12 6:17 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
riced8-Apr-12 6:29
riced8-Apr-12 6:29 
GeneralRe: How to store data(images, Text, Music) in one file? like.dat Pin
Abed AlSayed8-Apr-12 6:43
Abed AlSayed8-Apr-12 6:43 
GeneralRe: How to store data(images, Text, Music) in one file? like.dat Pin
Bernhard Hiller10-Apr-12 0:14
Bernhard Hiller10-Apr-12 0:14 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
Eddy Vluggen8-Apr-12 8:43
professionalEddy Vluggen8-Apr-12 8:43 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
enhzflep9-Apr-12 21:18
enhzflep9-Apr-12 21:18 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
LCARS x3211-Apr-12 5:55
LCARS x3211-Apr-12 5:55 
If you want to do it through your own code, use a FileStream to read the files into memory and another to write them to the same file. FileStreams read the raw bytes of the files. You'll want to put some sort of delimiter between the files so you can separate them later. To add your delimiter to the file, create a string and then use System.Text.Encoding.Ascii.GetBytes(YourStringVariable). That will give you a byte array with which to write with the filestream's write method.

Hope that wasn't too confusing!

Ray

PS: If you want to compress your files, there are lots of examples for compressing files in .NET, just search google for "compression vb.net"
QuestionRaise Event vs Logger Pin
instantmaker7-Apr-12 16:54
instantmaker7-Apr-12 16:54 
AnswerRe: Raise Event vs Logger Pin
Eddy Vluggen7-Apr-12 23:21
professionalEddy Vluggen7-Apr-12 23:21 
GeneralRe: Raise Event vs Logger Pin
instantmaker9-Apr-12 17:00
instantmaker9-Apr-12 17:00 
AnswerRe: Raise Event vs Logger Pin
Eddy Vluggen10-Apr-12 7:32
professionalEddy Vluggen10-Apr-12 7:32 
QuestionRehash and Resign Xbox 360 game save files Pin
flinchy36-Apr-12 12:16
flinchy36-Apr-12 12:16 
AnswerRe: Rehash and Resign Xbox 360 game save files Pin
Dave Kreskowiak6-Apr-12 17:13
mveDave Kreskowiak6-Apr-12 17:13 
GeneralRe: Rehash and Resign Xbox 360 game save files Pin
flinchy323-May-12 10:50
flinchy323-May-12 10:50 
GeneralRe: Rehash and Resign Xbox 360 game save files Pin
Dave Kreskowiak23-May-12 12:13
mveDave Kreskowiak23-May-12 12:13 
GeneralRe: Rehash and Resign Xbox 360 game save files Pin
flinchy316-Jun-12 2:24
flinchy316-Jun-12 2:24 
QuestionCant paging Pin
tan8735-Apr-12 22:57
tan8735-Apr-12 22:57 
AnswerRe: Cant paging Pin
Wes Aday6-Apr-12 0:50
professionalWes Aday6-Apr-12 0:50 
Generalerror in sending data code in mikrobasic Pin
vefaa115-Apr-12 10:13
vefaa115-Apr-12 10:13 
GeneralRe: error in sending data code in mikrobasic Pin
Richard MacCutchan5-Apr-12 22:38
mveRichard MacCutchan5-Apr-12 22:38 
GeneralRe: error in sending data code in mikrobasic Pin
vefaa116-Apr-12 0:01
vefaa116-Apr-12 0:01 
GeneralRe: error in sending data code in mikrobasic Pin
vefaa116-Apr-12 0:01
vefaa116-Apr-12 0:01 
Questionerror vbc30205 Pin
kusum pandey5-Apr-12 0:03
kusum pandey5-Apr-12 0:03 
AnswerRe: error vbc30205 Pin
Simon_Whale5-Apr-12 1:20
Simon_Whale5-Apr-12 1: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.