Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I created a program containing all the students in school (VB.net 2008 and access data base)
When a user chooses a student a new form opens containing all the informations about the student.

The problem is creating a new table in the main database.
I used Adox.dll but the problem is I can't add new tables to old Database ?
I find code to create new Database and create table but I need to add new tables to old database
error message show ("Database is really exist")
Can anyone put code explain how to add table into old database ?
for examble I have C:\Data.mdb
I need to add Table (T1) to old data (C:\Data.mdb)
Thank you
Posted
Updated 5-Aug-12 7:43am
v3
Comments
[no name] 1-Aug-12 14:25pm    
How exactly is that a problem? Do you not know how to create a table? Did creating a table show an error? Where is the code that you have tried?
Ganesan Senthilvel 1-Aug-12 15:01pm    
Share your code and error for better clarity

1 solution

Since you dont give us any feedback Im going to give you a link to Microsoft customer support:

http://support.microsoft.com/kb/317881[^]

That should make the connection work. And here is a link were your question, hopefully is answerd:
http://www.mahipalreddy.com/vb/article86695.htm[^]

If this does not meed your requirements then please use the Improve question button to update or give us some example code. Good luck :)
 
Share this answer
 
Comments
Maciej Los 5-Aug-12 16:31pm    
Second link is OK. My 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900