User Profile

Collapse

Profile Sidebar

Collapse
ansuhua
ansuhua
Last Activity: Feb 13 '08, 01:41 AM
Joined: Sep 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ansuhua
    started a topic MySql file structure?

    MySql file structure?

    Hi,

    I want to build a file structure to store information in binary format. Can mysql file structure be used for reference?

    How is the mysql file structure?
    What is .MYD format?

    Thanks
    See more | Go to post

  • ansuhua
    started a topic how to read and write big file using c#?
    in .NET

    how to read and write big file using c#?

    Hi,

    In windows api,there is a method to read and write big file using memory maping,such as:

    CreateFile(...)
    CreateFileMappi ng(...)
    MapViewOfFile(. ..)

    But i didn't find the methods similar to above in c#.

    Does c# has poor performance on big file.

    thanks
    See more | Go to post

  • ansuhua
    started a topic How to read "long" value from Excel using C#
    in .NET

    How to read "long" value from Excel using C#

    Hi,

    I want to read a long string(34242519 8510303710) from Excel,but what i get
    is "#####", why?

    code :

    string m_czxm = ((Excel.Range)A ctiveSheet.Cell s.get_Item(2, 2)).Text.ToStri ng().Trim();

    Thanks.
    See more | Go to post

  • ansuhua
    started a topic To create a binary file library
    in .NET

    To create a binary file library

    Hi,

    I need a big binary file to hold data, as DataBase does.
    Now I have several type libraries,in each library,there are some different parameter. For example,there are 3 school in a city,the first school has 10
    classes,calss 1 has 50 students and class 2 has 45 students ,etc. I need to
    save the information of all students,

    How to design the file structure, all data are in the same file.
    ...
    See more | Go to post

  • Hi,

    How to insert an EOF to terninate the file?

    After I deleted the data at a position, I removed the rest data to this position and then I call SetLength to set new file size.
    Is there any other good methods?

    thanks....
    See more | Go to post

    Leave a comment:


  • ansuhua
    started a topic how to delete a chunk of bytes in a binary file
    in .NET

    how to delete a chunk of bytes in a binary file

    Hi,

    How can I delete a chunk of bytes in my binary files to decrease the size.
    I read an write bytes from or to file in Stream.
    See more | Go to post

  • ansuhua
    replied to insert bytes to a file
    in .NET
    Good idea,Thank you very much!...
    See more | Go to post

    Leave a comment:


  • ansuhua
    replied to insert bytes to a file
    in .NET
    thanks ,do you mean that i should move the rest of the file to another file and then move back?
    My file is big,Maybe 200M~2000M.I think it will be slow to move so many data....
    See more | Go to post

    Leave a comment:


  • ansuhua
    started a topic insert bytes to a file
    in .NET

    insert bytes to a file

    I need save huge data in a file in byte format.Sometime s i have to insert some bytes in a special position.I use FileStream,but i can only append byte at the end of the file or rewrite data in the file.So how can i insert bytes into the file without destroy other data?

    thanks
    See more | Go to post
No activity results to display
Show More
Working...