Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
Generalmodal user control (Windows.Forms) Pin
Yann CK14-Feb-03 2:00
Yann CK14-Feb-03 2:00 
GeneralRe: modal user control (Windows.Forms) Pin
Heath Stewart14-Feb-03 11:09
protectorHeath Stewart14-Feb-03 11:09 
GeneralShow Snap Grid In Designer Mode of Internet Explorer Pin
gxuqin13-Feb-03 22:51
gxuqin13-Feb-03 22:51 
Questionhow can i convert all the text in a listbox to a string array Pin
jtmtv1813-Feb-03 17:15
jtmtv1813-Feb-03 17:15 
AnswerRe: how can i convert all the text in a listbox to a string array Pin
Furty13-Feb-03 18:52
Furty13-Feb-03 18:52 
GeneralRe: how can i convert all the text in a listbox to a string array Pin
Anonymous13-Feb-03 18:57
Anonymous13-Feb-03 18:57 
GeneralRe: how can i convert all the text in a listbox to a string array Pin
Furty13-Feb-03 19:03
Furty13-Feb-03 19:03 
Generaldvd reading Pin
ahf13-Feb-03 8:18
ahf13-Feb-03 8:18 
hi all
I'm trying to read data from a dvd in order to check if the disc is ok or not
in c++ all is fine I read the files and do my tests
now I'm trying to port to c#, mostly for fun and to add a ui quickly.
what happens is: file reading is slower (about 1/3 the speed i get in c++) - code is below - and the files that contain the actual video data are locked.
I can unlock them running a dvd player, and I suppose I could find a way to do it on my own, still it's way too slow. do you have any idea about why it's so slow reading?

code

FileStream f = new FileStream(fl,FileMode.Open, FileAccess.Read, FileShare.None,16384);
while (0!=f.Read(ba,0,16384))
{
//do nothing - I just need to read the whole thing and time it

thanks!
GeneralRe: dvd reading Pin
Daniel Turini13-Feb-03 8:33
Daniel Turini13-Feb-03 8:33 
GeneralRe: dvd reading Pin
ahf13-Feb-03 9:26
ahf13-Feb-03 9:26 
GeneralRe: dvd reading Pin
Furty13-Feb-03 10:17
Furty13-Feb-03 10:17 
GeneralRe: dvd reading Pin
ahf13-Feb-03 11:12
ahf13-Feb-03 11:12 
GeneralRe: dvd reading Pin
ahf13-Feb-03 11:26
ahf13-Feb-03 11:26 
GeneralRe: dvd reading Pin
Furty13-Feb-03 18:55
Furty13-Feb-03 18:55 
GeneralRe: dvd reading Pin
ahf13-Feb-03 21:24
ahf13-Feb-03 21:24 
GeneralRe: dvd reading Pin
ahf13-Feb-03 21:42
ahf13-Feb-03 21:42 
GeneralRe: dvd reading Pin
Heath Stewart14-Feb-03 11:15
protectorHeath Stewart14-Feb-03 11:15 
GeneralA simple ADO.NET and table design question Pin
DionChen13-Feb-03 5:42
DionChen13-Feb-03 5:42 
GeneralRe: A simple ADO.NET and table design question Pin
SimonS13-Feb-03 20:28
SimonS13-Feb-03 20:28 
Generaldatagrid column width Pin
endforward13-Feb-03 3:33
endforward13-Feb-03 3:33 
GeneralRe: datagrid column width Pin
A.Wegierski14-Feb-03 2:43
A.Wegierski14-Feb-03 2:43 
GeneralFirstly Hi to everyone :-) 2nd......... Pin
AndyBrew13-Feb-03 3:21
AndyBrew13-Feb-03 3:21 
GeneralRe: Firstly Hi to everyone :-) 2nd......... Pin
Ayyaz13-Feb-03 5:42
Ayyaz13-Feb-03 5:42 
GeneralRe: Firstly Hi to everyone :-) 2nd......... Pin
A.Wegierski14-Feb-03 2:26
A.Wegierski14-Feb-03 2:26 
GeneralRe: Firstly Hi to everyone :-) 2nd......... Pin
Jim Stewart14-Feb-03 6:34
Jim Stewart14-Feb-03 6:34 

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.