473,698 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create an access database through C# using ADOX.

I am trying to create an access db using ADOX in C# and I am finding
difficulties to find documentation on this in msdn library. Does anyone have
any documentation or samples of creating an access db programatically in c#?
THANKS.
Jul 21 '05 #1
2 5784
I did this once.
you would have to create a COM-interop library for ADOX using tlbimp.exe .
Then call into the resulting RCWs .
There is a newsgroup that discusses .NET-to-COM interop -
try mirosoft.public .dotnet.interop

They may have more answers.

or try
http://www.google.com/search?hl=en&n...ET+ADOX+tlbimp
-Dino
"desc" <de**@discussio ns.microsoft.co m> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
I am trying to create an access db using ADOX in C# and I am finding
difficulties to find documentation on this in msdn library. Does anyone
have
any documentation or samples of creating an access db programatically in
c#?
THANKS.

Jul 21 '05 #2
On Wed, 17 Nov 2004 12:23:04 -0800, "desc" <de**@discussio ns.microsoft.co m> wrote:

¤ I am trying to create an access db using ADOX in C# and I am finding
¤ difficulties to find documentation on this in msdn library. Does anyone have
¤ any documentation or samples of creating an access db programatically in c#?
¤ THANKS.

HOW TO: Create an Access Database Using ADOX and Visual C# .NET
http://support.microsoft.com/default...b;en-us;317881
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2585
by: Tink | last post by:
I have Googled this topic to death to the best of my ability and hope that somebody here can help. I do not want to have any COM dependencies in a project. For various reasons, the application will use an Access database. Unfortunately, it appears ADO.NET does not allow you to create a database and tables. Everything I have seen seems to point to ADOX, but that requires an ActiveX component which I extremely want to avoid. Does...
3
2734
by: cql90 | last post by:
Hi all PRO, I don't know how to create the MSAccess database in the runtime with C#, Are there any body know how to do this? I am pretty sure that all of you know how to do it, except me :( . Thanks you so much in advance, I am deeply appreciated for your help. Take care and have a good one... Kate
9
8310
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the records in the database. Is it possible to create a SQL Server database using vb.net? I know I can use vb.net and ADOX to create a Access database. But I can't create SQL database using vb.net.
2
3068
by: gaffar | last post by:
Hello Sir, i need the funtionality of Using ADOX to create a JET Database and tables in it and one to many relationship between the tables. Thanks for your help Gaffar.
4
8123
by: Wayne Wengert | last post by:
I am trying to create a VB.NET Windows application to move some data from a local Access DB table to a table in a SQL Server. The approach I am trying is to open an OLEDB connection to the local Access DB and then add a Linked Table pointing to the table on the SQL Server and then run an "Insert Into (linked table)" query to add the new rows. I am having a problem getting the syntax to add that linked table to my local Access DB. When I...
1
3446
by: sunlight_sg | last post by:
Hello, i am using ADOX + VB .NET to create a Access Database programmatically. I plan to set some properties of the column such primary key. The code is as follows: Dim cat As ADOX.Catalog Dim tbl As ADOX.Table Dim idx As ADOX.Index Dim prp As ADOX.Property
2
312
by: desc | last post by:
I am trying to create an access db using ADOX in C# and I am finding difficulties to find documentation on this in msdn library. Does anyone have any documentation or samples of creating an access db programatically in c#? THANKS.
5
5134
by: Savante | last post by:
I am trying to investigate the JET databases to enable me to save data from a datalogging program I'm writing. At the moment, I've been using tutorial 21 of the SAMS "Learn it in 24 hours book". Whilst the book has been useful in terms of adding and editing records from an already existing database file, I want to be able to make my own database file at runtime. My databasing program can create an unknown number of columns and I...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.