473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to Compact an Access Database in VB.NET?

http://www.vbdotnetforums.com/?f=43&m=797
--

Neal Culiner
President, NC Software, Inc.
http://www.nc-software.com

Catalog your favorite music, videos,
books and software with AVCataloger

Aviators, check out Logbook Pro
Nov 20 '05 #1
3 4547
Hi,

http://support.microsoft.com/default...b;en-us;306287

Ken
----------------
"Neal" <ne**@nc-software.com> wrote in message news:uT****************@TK2MSFTNGP09.phx.gbl...
http://www.vbdotnetforums.com/?f=43&m=797
--

Neal Culiner
President, NC Software, Inc.
http://www.nc-software.com

Catalog your favorite music, videos,
books and software with AVCataloger

Aviators, check out Logbook Pro
Nov 20 '05 #2
Create a new instance of access thru either interop or the visual studio tools for MS office (whatever ur using), and call "CompactDatabase(Source, destination)" on it.

- Sahil Malik
Independept Consultant.
"Neal" <ne**@nc-software.com> wrote in message news:uT****************@TK2MSFTNGP09.phx.gbl...
http://www.vbdotnetforums.com/?f=43&m=797
--

Neal Culiner
President, NC Software, Inc.
http://www.nc-software.com

Catalog your favorite music, videos,
books and software with AVCataloger

Aviators, check out Logbook Pro
Nov 20 '05 #3
Create a new instance of access thru either interop or the visual studio tools for MS office (whatever ur using), and call "CompactDatabase(Source, destination)" on it.

- Sahil Malik
Independept Consultant.
"Neal" <ne**@nc-software.com> wrote in message news:uT****************@TK2MSFTNGP09.phx.gbl...
http://www.vbdotnetforums.com/?f=43&m=797
--

Neal Culiner
President, NC Software, Inc.
http://www.nc-software.com

Catalog your favorite music, videos,
books and software with AVCataloger

Aviators, check out Logbook Pro
Nov 20 '05 #4

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

Similar topics

13
by: Larry L | last post by:
Access is noted for bloating a database when you add and delete records frequently. I have always had mine set to compact on close, and that works great. Now after everyone's advice I split my...
3
by: Trevor Hughes | last post by:
Hello All I have a database (Access 2000, running on Win 2000), which suffers from bloat over a period of time. In order to solve the problem I set the option to compact on exit. This however...
3
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
6
by: MLH | last post by:
I just used Tools / Database Utilities / Compact Database in Access 97 for the first time. Unlike Access 2.0, it does not ask me to furnish a filename for it to compact into. It just launched...
6
by: owengoodhew | last post by:
Hi, I am responsible for maintaining an MS Access 97 Database that reliably becomes corrupt following a compact......... About the Database: The database is made up of three linked databases,...
5
by: Wayne | last post by:
I have been trying to get to the bottom of some bloating that I have in a frontend database. I started deleting objects a few at a time and have now deleted all objects and custom menu bars. The...
2
by: gibsonsgman | last post by:
hello, i have a question about compactin/repairing a database at runtime. i have code that will do this, but when it runs i get the error "You can't compact the open database while running a...
2
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
29
by: Neil | last post by:
I would like to compact on close only if the database size goes over a certain amount, rather than each time. Thus, I'd like to check the file size and then perform the compact through code as the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.