[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VB4.0 and Btrieve 6.15

Posted on 1997-06-04
4
Medium Priority
?
242 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses
Course of the Month17 days, 20 hours left to enroll

831 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