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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Shaga

  1. Shaga

    Open BTRieve in code with Owner

    For the record I have solved it thus: Create a structure in which to store the Owner Name: [StructLayout(LayoutKind.Sequential, Pack=1, CharSet=CharSet.Ansi, Size=8)] public struct BTR_OWNER_NAME { public string OwenerName; } //Declare a struct var: BTR_OWNER_NAME ownerBuf; //Assign...
  2. Shaga

    Btrieve v6.15 Error 51

    For the record I have solved it thus: Create a structure in which to store the Owner Name: [StructLayout(LayoutKind.Sequential, Pack=1, CharSet=CharSet.Ansi, Size=8)] public struct BTR_OWNER_NAME { public string OwenerName; } //Declare a struct var: BTR_OWNER_NAME ownerBuf; //Assign...
  3. Shaga

    Btrieve v6.15 Error 51

    Prior to the Open I was assigning the owner name as follows: ownerBuf.OwenerName = OWNER_NAME; The OWNER_NAME const has a string as is: OWNER_NAME = "mypass"; ... and I have set the dataLen to 1 more than the number of chars and have even looped through the struct to check that it...
  4. Shaga

    Btrieve v6.15 Error 51

    Hi, I can successfully open a Btrieve file with the owner set with BUTIL, but when I attempt to open it via code (C#) I get an error 51 "Invalid Owner"! I have set the owner name in the following Structure, it is 6 chars in length so have set the dataLen to 7 to allow for the binary...
  5. Shaga

    Open BTRieve in code with Owner

    I need to open a BTRieve file which has the OWNER set in C#. I know what the owner is I would like to know what to pass through in the 3rd param for the Open (0) operation. At present I pass through an IntPtr.Zero.
  6. Shaga

    Variable length Fields

    Can you give me an example of the code, either C++ or .NET but VB6 would be ok as well. Cheers
  7. Shaga

    Variable length Fields

    Hi again, I am attempting to read in records from a Btrieve v6.15 file. I can get to the records ok, and have worked out the structure, but the problem seems to be that the FIELDS are variable length. Is this possible in Btrieve? I have set fixed length Fields in my data structure which...
  8. Shaga

    DDF Sniffer

    I have a number of Btrieve v6.15 data files for which I presently do not know the table structures, does anyone know where I could get hold of a DDF Sniffer or equivalent that could do the job? I don't think that the Smithware DDF Sniffer and Builder are available anymore. I have attempted to...
  9. Shaga

    Btrieve v6.15 - Owner Name

    Yes.
  10. Shaga

    Btrieve v6.15 - Owner Name

    Cheers for the reply, I have solved it and located the Owner Name.
  11. Shaga

    Btrieve v6.15 - Owner Name

    I need to access some Btrieve v6.15 files which have had the Owner Name set with Access of 0, and of course I do not know the User Name used, as we have since lost the source-code. Does anyone know any utilities or methods of gaining access to the files or obtaining the User Name that has been...

Part and Inventory Search

Back
Top