Solved

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

Posted on 2004-09-09
4
239 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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