Click here to Skip to main content
15,914,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 10:57
mveDave Kreskowiak15-Feb-06 10:57 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:32
IH8Microsoft15-Feb-06 11:32 
GeneralRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 13:03
mveDave Kreskowiak15-Feb-06 13:03 
AnswerRe: Using setFilePointer API Pin
progload15-Feb-06 11:49
progload15-Feb-06 11:49 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:58
IH8Microsoft15-Feb-06 11:58 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:13
IH8Microsoft15-Feb-06 12:13 
GeneralRe: Using setFilePointer API Pin
progload15-Feb-06 12:37
progload15-Feb-06 12:37 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:51
IH8Microsoft15-Feb-06 12:51 
I've seen that before, actually I have the source from the "Direct read/write disk access" thread.

It's buggy at best. It seems to read Fat drives ok, but fails to read NTFS. Also, after stepping through it, I discovered that he does not get the correct values for a lot of things. For example, in one section he is looking for BytesPerSector. If it isn't retrieved, he just hard codes in 512. That takes place throughout the code and nothing is reliable.

The one thing that does seem to work is the setFilePointer part. Unfortunately I am using the exact same call and it is not working the same.

I imagine that my problem has a simple solution, I just can't seem to find it.

Just to be sure that we're all on the same page (as sometimes I'm not all that clear) everyting is working fine and not failing at any point, it's just that I can't get readFile to START reading after the 1st byte. IE. it is always starting it's read at the 1st byte no matter what I set the file pointer to.

Thanks
QuestionCombobox Items Pin
kostasdiktia215-Feb-06 10:02
kostasdiktia215-Feb-06 10:02 
AnswerRe: Combobox Items Pin
Dave Kreskowiak15-Feb-06 10:45
mveDave Kreskowiak15-Feb-06 10:45 
GeneralRe: Combobox Items Pin
kostasdiktia215-Feb-06 13:35
kostasdiktia215-Feb-06 13:35 
AnswerRe: Combobox Items Pin
Steve Pullan15-Feb-06 11:50
Steve Pullan15-Feb-06 11:50 
GeneralRe: Combobox Items Pin
Dave Kreskowiak15-Feb-06 13:01
mveDave Kreskowiak15-Feb-06 13:01 
QuestionRegistry keys Pin
kostasdiktia215-Feb-06 9:50
kostasdiktia215-Feb-06 9:50 
AnswerRe: Registry keys Pin
Dave Kreskowiak15-Feb-06 10:43
mveDave Kreskowiak15-Feb-06 10:43 
GeneralRe: Registry keys Pin
kostasdiktia215-Feb-06 13:39
kostasdiktia215-Feb-06 13:39 
GeneralRe: Registry keys Pin
Dave Kreskowiak15-Feb-06 14:28
mveDave Kreskowiak15-Feb-06 14:28 
Questionole automation help? Pin
İsmail Durmaz15-Feb-06 9:41
İsmail Durmaz15-Feb-06 9:41 
AnswerRe: ole automation help? Pin
Dave Kreskowiak15-Feb-06 10:40
mveDave Kreskowiak15-Feb-06 10:40 
QuestionNeed help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Slow Learner15-Feb-06 9:27
Slow Learner15-Feb-06 9:27 
AnswerRe: Need help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Dave Kreskowiak15-Feb-06 10:37
mveDave Kreskowiak15-Feb-06 10:37 
GeneralRe: Need help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Slow Learner15-Feb-06 11:13
Slow Learner15-Feb-06 11:13 
GeneralRe: Need help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Steve Pullan15-Feb-06 11:41
Steve Pullan15-Feb-06 11:41 
GeneralRe: Need help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Dave Kreskowiak15-Feb-06 13:00
mveDave Kreskowiak15-Feb-06 13:00 
GeneralRe: Need help on creating an .exe file that move files on the production server - VS2005 and vb.net Pin
Slow Learner15-Feb-06 13:41
Slow Learner15-Feb-06 13:41 

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.