Solved

VB4.0 and Btrieve 6.15

Posted on 1997-06-04
4
222 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now