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

Visual Basic

 
AnswerRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Eddy Vluggen28-Jun-12 1:49
professionalEddy Vluggen28-Jun-12 1:49 
GeneralRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Dave Kreskowiak28-Jun-12 3:25
mveDave Kreskowiak28-Jun-12 3:25 
GeneralRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Eddy Vluggen28-Jun-12 3:30
professionalEddy Vluggen28-Jun-12 3:30 
GeneralRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Luc Pattyn28-Jun-12 5:07
sitebuilderLuc Pattyn28-Jun-12 5:07 
GeneralRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Eddy Vluggen28-Jun-12 8:27
professionalEddy Vluggen28-Jun-12 8:27 
GeneralRe: Basic program, very basic code, but still error, why!. [rich text box] Pin
Luc Pattyn28-Jun-12 8:37
sitebuilderLuc Pattyn28-Jun-12 8:37 
QuestionProblem in creating a new file format to store text and images Pin
Student1023026-Jun-12 21:12
Student1023026-Jun-12 21:12 
AnswerRe: Problem in creating a new file format to store text and images Pin
Richard MacCutchan26-Jun-12 21:54
mveRichard MacCutchan26-Jun-12 21:54 
There is nothing special about creating files in your own format, all you need is to include some meta data or other pointers to show the type and length of each record. So for example your file type contains text and images you would do something like:
Create new binary stream file
Write header information
Do
    Write text identifier record: flag 0, length L
    Write L text characters
Repeat until all text is written
Do
    Write image identifier record: flag 1, length M
    Write M bytes of the image data
Repeat until all image data is written

Repeat as required for other content

Close file

When reading back you just use the identifier records to rebuild your text or image blocks in memory and display or otherwise process them as required.

GeneralRe: Problem in creating a new file format to store text and images Pin
Student1023027-Jun-12 20:50
Student1023027-Jun-12 20:50 
GeneralRe: Problem in creating a new file format to store text and images Pin
Richard MacCutchan27-Jun-12 22:14
mveRichard MacCutchan27-Jun-12 22:14 
GeneralRe: Problem in creating a new file format to store text and images Pin
Student1023028-Jun-12 17:12
Student1023028-Jun-12 17:12 
AnswerRe: Problem in creating a new file format to store text and images Pin
Eddy Vluggen27-Jun-12 0:21
professionalEddy Vluggen27-Jun-12 0:21 
AnswerRe: Problem in creating a new file format to store text and images Pin
Bernhard Hiller27-Jun-12 1:16
Bernhard Hiller27-Jun-12 1:16 
GeneralRe: Problem in creating a new file format to store text and images Pin
Student1023027-Jun-12 23:35
Student1023027-Jun-12 23:35 
QuestionMS word like lile creater and viewer in vb.net Pin
Student1023026-Jun-12 1:58
Student1023026-Jun-12 1:58 
AnswerRe: MS word like lile creater and viewer in vb.net Pin
Richard MacCutchan26-Jun-12 2:09
mveRichard MacCutchan26-Jun-12 2:09 
AnswerRe: MS word like lile creater and viewer in vb.net Pin
Nick Otten26-Jun-12 2:12
Nick Otten26-Jun-12 2:12 
GeneralRe: MS word like lile creater and viewer in vb.net Pin
Student1023026-Jun-12 2:15
Student1023026-Jun-12 2:15 
GeneralRe: MS word like lile creater and viewer in vb.net Pin
Nick Otten26-Jun-12 3:56
Nick Otten26-Jun-12 3:56 
Questionfillby criteria Pin
Hameed Qasim25-Jun-12 8:45
Hameed Qasim25-Jun-12 8:45 
AnswerRe: fillby criteria Pin
Dave Kreskowiak25-Jun-12 11:28
mveDave Kreskowiak25-Jun-12 11:28 
GeneralRe: fillby criteria Pin
Student1023026-Jun-12 2:12
Student1023026-Jun-12 2:12 
AnswerRe: fillby criteria Pin
Luc Pattyn25-Jun-12 11:57
sitebuilderLuc Pattyn25-Jun-12 11:57 
QuestionHow to create DLL Library for VBA(Excel 2010) Pin
konarex81225-Jun-12 3:46
konarex81225-Jun-12 3:46 
QuestionRe: How to create DLL Library for VBA(Excel 2010) Pin
ZurdoDev25-Jun-12 3:56
professionalZurdoDev25-Jun-12 3:56 

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.