Solved

VB4.0 and Btrieve 6.15

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 65
VBS file using code from 2nd file (txt or vbs) 4 42
message box in access 4 51
vbModal 12 57
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

856 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