Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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