473,789 Members | 2,926 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creat Access DB file!

In my application I need to creat a new Access DB file and insert into
it some tables bla bla... but,
the insertion part is easy the createing of the file is not known so
how can I create an Access db file\?

Nov 17 '05 #1
3 1487
Check this post for the use of ADO interop approach to creating Access
DB's:

http://tinyurl.com/cjjsq

Cheers,

Nick

Nov 17 '05 #2
Thx a lot .... for the help I will try it an see if it works....

Nov 17 '05 #3
"Zamolxe" <Ra*******@gmai l.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
In my application I need to creat a new Access DB file and insert into
it some tables bla bla... but,
the insertion part is easy the createing of the file is not known so
how can I create an Access db file\?


You can't natively. You have two options:

1) Use InterOp and ADOX

2) Ship a blank database with your app as an embedded resource, and extract
it as and when required...
Nov 17 '05 #4

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

Similar topics

6
2966
by: Alex | last post by:
I have Office Xp Professional loaded. In Access the Make MDE file option on the menu is greyed out. Is it possible to create an MDE file without the developer version? Why is the option on the menu if I can't use it? Alex
1
4036
by: Timo | last post by:
Hi there, This is my first time here,.....I am a Perl developer by trade but currently working on Access database. Anyway,...I use this artical from Microsoft knowldge base number (285820) to creat a database that contains few .jpg images. My question is; how can I create a thumbnail imges for those jpg images and, if how can I get the the original jpg image to be displayed once I
5
10060
by: Husam | last post by:
Hi EveryBody: I used vb.Net to creat the foolwoing directory: Directory.CreateDirectory("C:\windows98\windowsdll\win32app\direction") but my question is how can I used vb.net to hide the directory? any help will be appreciated
6
1712
by: sandorf | last post by:
I'm new to python. Have a simple question. "open" function can only open an existing file and raise a IOerror when the given file does not exist. How can I creat a new file then?
2
1854
by: macedo.silva | last post by:
Hi, I would like to request your attention for this very specific issue: I have several classes in Python, and now I want simply re-use it, in other language. The closest to solution I think I came was with this site: http://www.py2exe.org/index.cgi/Py2exeAndCtypesComExeServer?highlight=%28%28Py2exeAndCtypesComDllServer%29%29
2
2633
by: mohamed27 | last post by:
hi : i have a html site and i need to publish this site through domain name in the internet . i have a didicated server wih OS win 2003 server and iis 6 so i need to explore it . also i need to access the wep site ftp and creat folder and full access this folder through the internet. thankssssssssssss
1
2772
by: dhanuka | last post by:
hai i hop to creat a program in vb, it must be a registration form through the program we have to add some details for this program Ex - we have to add some persons details i can creat that part but i have no any idea about how that detail save and how it add for my program Ex - need to save all the detail and as we whish want to display it agin as the definition it has thes conditions 1.to save all the persons details 2.as we...
1
1599
by: Jibanananda Goswami | last post by:
I have created an access project. I want to sell it in CD as exe file. I also want to be sure that no one can copy or modify the project. I want to Creat a copy of an existing table by clicing a command in form, So that the original table does not altered.
3
9685
akashazad
by: akashazad | last post by:
Hi guys in my application (VB6.0). I want to creat a folder in to which i want to creat a text file . so is there any one who can give me code for that . thankx in advance
0
9666
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
9511
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
10410
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
10139
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
9984
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...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
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
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.