|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Does somebody here knows how to directly access a Floppy or H-Disk. For example:
'I want to read out sector 2 of A:' Can somebody please help me? |
|
#2
|
|||
|
|||
|
I don't know your answer, I suspect you'll need to use the Windows API.
|
|
#3
|
|||
|
|||
|
|
|
#4
|
|||
|
|||
|
Hey cleverpig,
Ok, I downloaded the 'assembler'. Now what? it''s a nice app but I really don't know what to do with it. Can you help me on this too?? |
|
#5
|
|||
|
|||
|
If U don't kown assebler&vb,u can use shell "C:\WINNt\System32\RUNDLL32.EXE Shell32.DLL,SHFormatDrive" to format floppy disk.
|
|
#6
|
|||
|
|||
|
VB has no native methods to inline assembly code. You'd be better off creating a C++ dll using _asm, or a pure ASM dll using masm32.
|
|
#7
|
|||
|
|||
|
Misunderstanding
I think there is a little misunderstanding between us. My actual goal was to directly read an write from a disk. I created a new kind of archiving, and my goal was to create a File System from that. That's why i need Low-Level disk access. For example:
'I want to read out sector 2 and put it into variable A' or 'I want to write variable A to sector 23' You know? I really appreciate your support! |
|
#8
|
|||
|
|||
|
Yes!I know,But using vb to access low-level disk is too difficult.U would make a dll that use assembler to do it and a vb program with using this dll.
|
|
#9
|
|||
|
|||
|
Thanks
OK, now I get it. Can you tell me where I can find a DLL that can do this? If possible, simple to use?
|
|
#10
|
|||
|
|||
|
Hi PimVelders!I take very more time to finded a source code that can access/edit disk sector!
This is the introduce: Disk Editor 2.0 This is utility to see, edit your computer's harddisk or floppy sector. it can store disk sector to file and also write sectors from file.i included source code in c-language also. This is the C language code: http://www.programmersheaven.com/Us...Files/29254.zip U can make it to dll by VC! |
|
#11
|
|||
|
|||
|
Another one:
Disk Sector Reader http://63.229.91.6/file/asm/80x86/GETSECT.ZIP how to write bootsector code in assembler http://63.229.91.6/file/asm/80x86/bootsec.zip Plz visit http://www.programmersheaven.com/zone5/cat469/index.htm for more... |
|
#12
|
|||
|
|||
|
Yeah!!
Cool man, you really helped me with this!!!!!!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Direct Disk Access: HELP!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|