|
-
Nov 17th, 2005, 05:11 PM
#1
Thread Starter
New Member
Creating a Microsoft Access Database at Runtime
Hello,
How would I go about creating a Microsoft Access at runtime. I want the database to be created purley in code. I dont want to embed the database into my exe. Any pointers in the right direction would be very useful
-
Nov 17th, 2005, 06:32 PM
#2
Re: Creating a Microsoft Access Database at Runtime
You would need to use ADOX to create the database in the first place. Once the database exists you could do some things in ADO.NET if you wanted, but it might be just as easy to stick completely with ADOX. Search MSDN and you'll get heaps of hits, but below is a link to some code examples. You've got a choice of VB.NET or C++ I'm afraid, but between them you should be able to convert to C#. There's also a link to a code converter in my signature if you need it, but don't expect it to be 100% reliable.
http://msdn.microsoft.com/library/de...dlexamples.asp
Edit:
I recommend against posting your actual e-mail address where spammers can easily find it.
Last edited by jmcilhinney; Nov 17th, 2005 at 06:36 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|