Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can direct disk I/O be done in VB6?

Status
Not open for further replies.

Bregga

MIS
May 11, 1999
8
US
Does anyone know how to set the FILE_FLAG_NO_BUFFERING parameter in VB. It apparently is available for C, but I don't see how to set it for VB. I am interested in writing a disk test to exercise the disk, and with buffered I/O, NT moves the data through cache, so the disk activity is not constant.<br>
Thanks<br>

 
Well If you know &quot;C&quot; write a &quot;C&quot; program and call it from VB. <p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
 
Good observation, Doug. VB is a little weak in some areas. I'm a little weak in C so I do all my low-level calls by shelling to QB45 apps. Hey, it works! How many Visual Anythings can set the OEM ID on a disk?<br>

 
all i ever do here at work is write ActiveXs in VC++ so that the VB programmers can use it's complex level functionality. (That and also they paid 600$ for the TCP/IP source code, from dundas, which happened to be VC++ and they needed a VC++ programmer to customize it cuz they didnt wana be limited with the 300$ activeX version) <p>Karl<br><a href=mailto:kb244@bellsouth.net>kb244@bellsouth.net</a><br><a href= </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top