Solved

How to add fields to an MS Access Database in ASP.net in VB

Posted on 2004-09-09
4
236 Views
Last Modified: 2010-04-23
Given the problems with locked ldb MS Access files, a second best solution to teh problem of modifying an active database would be to add fields while it is on-line. Can you help me with this?

I can program in standard VB, but am most comfortable using Dreamweaver's MX shortcuts. But either way would be helpful.

Rick
0
Comment
Question by:flameout2
4 Comments
 
LVL 4

Accepted Solution

by:
Javert93 earned 125 total points
ID: 12029727
You can use the ADO and ADOX libraries with COM interop to modify an Access database. Just add a reference to "Microsoft ADO Ext. <Version> for DDL and Security" from the "COM" tab in the "Add Reference" dialog (note that you should replace "Version" with whatever version of ADO you are using). Also note that you will have to reference "Microsoft ActiveX Data Object <Version>" to use ADOX because ADO.NET is not compatible with this library.
0

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

Suggested Solutions

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

17 Experts available now in Live!

Get 1:1 Help Now