Open .DBF

Posted on 2009-04-18
Last Modified: 2012-05-06
I've got a file from the internet name myinstruction.dbf
How can I open this file and modify since i know the password "03241977vnr01111980"
I changed the file into .mdb so that i can attach it here. its extension .dbf
Question by:Whing Dela Cruz
    LVL 4

    Expert Comment

    You should be able to open the DBF directly with ADO.Net using either of the following connection string templates:

    OLE DB:
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\folder;Extended Properties=dBASE IV;User ID=Admin;Password="

    "Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:\mydbpath;"

    Hope that helps

    Author Comment

    by:Whing Dela Cruz
    Can i modify it? and can I add a table on it?
    LVL 4

    Assisted Solution

    Yes you can.

    Connect to the database.

    Then use the Connection object's Execute method to execute an SQL CREATE TABLE statement.


    Accepted Solution

    okey, i will try it now... Thanks


    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    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…
    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.
    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…

    755 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

    20 Experts available now in Live!

    Get 1:1 Help Now