Click here to Skip to main content
15,906,335 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to determine if you control is inside a panel or not? Pin
dan!sh 14-Sep-09 23:07
professional dan!sh 14-Sep-09 23:07 
JokeRe: how to determine if you control is inside a panel or not? Pin
Greg Chelstowski14-Sep-09 23:10
Greg Chelstowski14-Sep-09 23:10 
GeneralRe: how to determine if you control is inside a panel or not? Pin
dan!sh 15-Sep-09 2:57
professional dan!sh 15-Sep-09 2:57 
GeneralRe: how to determine if you control is inside a panel or not? Pin
Greg Chelstowski15-Sep-09 3:05
Greg Chelstowski15-Sep-09 3:05 
GeneralRe: how to determine if you control is inside a panel or not? Pin
dan!sh 15-Sep-09 3:27
professional dan!sh 15-Sep-09 3:27 
AnswerRe: how to determine if you control is inside a panel or not? Pin
Greg Chelstowski14-Sep-09 23:09
Greg Chelstowski14-Sep-09 23:09 
AnswerRe: how to determine if you control is inside a panel or not? Pin
TheCardinal14-Sep-09 23:11
TheCardinal14-Sep-09 23:11 
Questionwriting values to device in WinCE os through serial port Pin
arun_pk14-Sep-09 22:38
arun_pk14-Sep-09 22:38 
Questionhow to restrict the user from entering numbers or any special char.... Pin
amaankhan14-Sep-09 22:29
amaankhan14-Sep-09 22:29 
AnswerRe: how to restrict the user from entering numbers or any special char.... Pin
DaveyM6914-Sep-09 22:40
professionalDaveyM6914-Sep-09 22:40 
QuestionHow to call Google API Pin
Nekkantidivya14-Sep-09 22:18
Nekkantidivya14-Sep-09 22:18 
AnswerRe: How to call Google API Pin
benjymous14-Sep-09 22:40
benjymous14-Sep-09 22:40 
GeneralRe: How to call Google API Pin
OriginalGriff14-Sep-09 22:46
mveOriginalGriff14-Sep-09 22:46 
GeneralRe: How to call Google API Pin
benjymous14-Sep-09 23:01
benjymous14-Sep-09 23:01 
GeneralRe: How to call Google API Pin
Anil Veeraghattapu 415-Sep-09 0:44
Anil Veeraghattapu 415-Sep-09 0:44 
GeneralRe: How to call Google API Pin
Henry Minute15-Sep-09 2:05
Henry Minute15-Sep-09 2:05 
GeneralRe: How to call Google API Pin
Vikram A Punathambekar15-Sep-09 0:11
Vikram A Punathambekar15-Sep-09 0:11 
GeneralRe: How to call Google API Pin
OriginalGriff15-Sep-09 2:43
mveOriginalGriff15-Sep-09 2:43 
QuestionHow to Store the Image file in Database and then retrive it from the database Pin
amaankhan14-Sep-09 22:18
amaankhan14-Sep-09 22:18 
AnswerRe: How to Store the Image file in Database and then retrive it from the database Pin
SeMartens14-Sep-09 22:28
SeMartens14-Sep-09 22:28 
QuestionReading multiple binary files as one... Pin
User 224816814-Sep-09 21:44
User 224816814-Sep-09 21:44 
AnswerRe: Reading multiple binary files as one... Pin
SeMartens14-Sep-09 22:25
SeMartens14-Sep-09 22:25 
Hi,

well I don't know if there is any kind of ready-made component/library for this case. But I think your solution is not that ugly. But I would suggest to write your own stream-object.

For this you could inherit FileStream or StreamReader etc. Then override the methods ReadByte etc. so that when you hit the last bytes of the file, you can open the next one and go on to read further. The advantage of this approach is that your own stream is reusable and it seems that you are reading from just "one" file instead of many.

Regards
Sebastian

It's not a bug, it's a feature!

Check out my CodeProject article Permission-by-aspect.

Me in Softwareland.

GeneralRe: Reading multiple binary files as one... Pin
User 224816814-Sep-09 22:38
User 224816814-Sep-09 22:38 
Questionset Page Margin using Calc with C# [modified] Pin
natmed8014-Sep-09 21:25
natmed8014-Sep-09 21:25 
AnswerRe: set Page Margin using Calc with C# Pin
natmed8018-Sep-09 23:18
natmed8018-Sep-09 23:18 

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.