Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
send messages to whatsapp programatically 2 62
Set value of dynamically created checkboxlist 2 42
Help with preventing downloading a zip file 10 45
How to limit User Input 2 27
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
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…

809 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