Results 1 to 8 of 8

Thread: maybe VB is the wrong language ??

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,602
    Hey guys.

    I have tried for several months to write a small app that will let a user write data, not files but just data, to a cluster on a floppy disk that he or she specifies. It seems that it is impossible in VB.

    Well, I want to know from those of you who program other languages, is there a language that is capable of this? If so, which one and where can I learn about it?

    Also, I wonder if there is ANY way I can accomplish formatting a disk without using windows format or DOS format. I mean, in VB, totally rewrite the format process from beginning to end. Again, if not VB, then which language?

    Thanks

    Wengang
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Hmmmm

    I don'y have any answers for you, but I have to ask, WHY do you want to do this? I understand why not just use whats already there? What strange project are you cooking up?

  3. #3

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,602
    Well, this started as a quest to break this floppy key (that was needed to use a certain software). Because it was data written on the diskette but not in a file that made the pc recognize it and unlock the program, I tried disk imaging. Well, it didn't work because the floppy maker also marks sectors on the floppy as bad. Well, first that was easy to overcome by using Disk Edit to break up the readable portions of the disk, paste their Ascii code into text files and then write the data in those files back to other floppy diskettes at specified locations. Problem solved. Then I wanted to make a project that would do this in Windows, namely VB, to just click a button and convert a floppy. I was also able to accomplish this but not in the way I wanted, and also I had to format each diskette before it could be "converted". I just wanted to do this without "borrowing" Windows Format tool or DOS format tool. I know there is a solution because Norton Utilities can do this. SOOO, why can't I?

    Oh, does anybody know which language NU was written in?

    BTW, the original software that I cracked the floppy for was written in vb5. That's the amazing part!
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  4. #4
    Hyperactive Member marnitzg's Avatar
    Join Date
    Oct 2000
    Location
    South Africa
    Posts
    372
    Your answer lies in any C language. From what I know NU was written in assembler but even I tread as far away as possible from asm. Its a powerful language but its hard to grasp and unless you want to put your life through many hours of hell and torture stay away from this.

    So anyway, try and get hold of Visual C++. Its the best C language out (in my opinion).

  5. #5
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Assembly can surely do all low level stuff like writing data cluster by cluster but learning assembly(especially disk access routines with assembly) is very very difficult.
    Use C++ instead. VC++ contains inline assembly if you ever need more control.
    I am become death, the destroyer of worlds.
    mail:vlatkovr@hotmail.com

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  6. #6
    Fanatic Member HaxSoft's Avatar
    Join Date
    May 2000
    Location
    Ohio
    Posts
    593
    The only thing I would rely on in case would be NASM AKA NetWide Assembler and it's free. Do a search on it.

  7. #7

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,602
    Thanks everybody. I didn't want to result to Assembly because of what I've heard about it. Last week I started VC but with only Basic background, it'll be a while before I can write what I mentioned. Thanks again.
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  8. #8

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,602
    oh yeah? is there a good forum like this one for VC? it's really improved my vb skills.

    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width