Solved

VB4.0 and Btrieve 6.15

Posted on 1997-06-04
4
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

707 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