Solved

VB4.0 and Btrieve 6.15

Posted on 1997-06-04
4
223 Views
Last Modified: 2006-11-17

    I have a problem accesing Btrieve 6.15 with Visual Basic 4.0. When I
  open the Btrieve database and a table of this DB, it appears in the
  Novell monitor like "locked exclusive", but Im openning the file in a
  sharing mode.
 
       Here is the sintaxis of my code:
 
 
          Dim Db as database
          Dim Tb as recordset
 
          Set Db=("n:\scala\file.ddf",false,false,"btrieve;")
          Set Tb = Db.OpenRecordset("SL Customer" , dbOpenTable)
          tb.lockedits= false
 
 
 
 
       I think this way is a sharing mode, maybe theres any patch for this
       combination of products
 
 
       Thanks for your attention, Ill be waiting for any response.
 
 
       Alejandro Yamamoto
       ayamamot@jevansa.attmail.com
0
Comment
Question by:Alejandro060497
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:mirkus
ID: 1426845
Hi ,Alejandro. I recent program  with Engine Btreive  but I buy a custom
Control for Visual Basic that access direct to DDF Table.
This Control are there most power, and you can save most of your program.
Otherwise I can look another mode to access to DDF,Yout E-mail have some bug,you
can put yuor Visual Basic code?

0
 

Author Comment

by:Alejandro060497
ID: 1426846
Edited text of question
0
 
LVL 1

Accepted Solution

by:
mirkus earned 100 total points
ID: 1426847
Another choice to open DDF file is with Microsoft Access.
You must import in Access your DDF file and then you can open
the Table from Visual Basic with functions to access Table.
This method is more slow then direct access to DDF file.

IF you have any question please send me.  
0
 

Author Comment

by:Alejandro060497
ID: 1426848
I don´t have trouble accesing DDF files, my problem is that when i open Btrieve with Visual Basic, I can see the Btrieve file in Novell's Monitor and not in BTRMON, and they  appear like  "locked exclusive".
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 46
Determine Range to Select 5 42
Excel - Save a copy of work book 13 82
How to measure sizes and angles in scanned images ? 3 51
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now