473,387 Members | 1,463 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.

Access Maintenance Question

Maybe this is possible and maybe not, but does anyone know how I could use
ASP.NET and maybe a Button control to perform the "Compact and Repair"
option on a database like I can inside Access? I could do this by taking the
db offline, compacting and repairing, then upload the compacted one, but it
would be easier if I could just do it from a button in the Admin section of
this small app I am working on.

TIA,

Grant
Nov 18 '05 #1
2 964
Hi, Grant,

Try this knowlege base artice: http://support.microsoft.com/?kbid=306287

The example is for console application, but maybe if your webapplication has
enough rights on the webserver (and the underlying filesystem) it will do
the job.

Hope this helps
Martin
"Grant Harmeyer" <ne*@internetapollo.com> wrote in message
news:#2**************@TK2MSFTNGP09.phx.gbl...
Maybe this is possible and maybe not, but does anyone know how I could use
ASP.NET and maybe a Button control to perform the "Compact and Repair"
option on a database like I can inside Access? I could do this by taking the db offline, compacting and repairing, then upload the compacted one, but it would be easier if I could just do it from a button in the Admin section of this small app I am working on.

TIA,

Grant

Nov 18 '05 #2
Worked like a charm. Thanks

Grant

"Martin Dechev" <de*******@hotmail.com> wrote in message
news:OZ**************@TK2MSFTNGP14.phx.gbl...
Hi, Grant,

Try this knowlege base artice: http://support.microsoft.com/?kbid=306287

The example is for console application, but maybe if your webapplication
has
enough rights on the webserver (and the underlying filesystem) it will do
the job.

Hope this helps
Martin
"Grant Harmeyer" <ne*@internetapollo.com> wrote in message
news:#2**************@TK2MSFTNGP09.phx.gbl...
Maybe this is possible and maybe not, but does anyone know how I could
use
ASP.NET and maybe a Button control to perform the "Compact and Repair"
option on a database like I can inside Access? I could do this by taking

the
db offline, compacting and repairing, then upload the compacted one, but

it
would be easier if I could just do it from a button in the Admin section

of
this small app I am working on.

TIA,

Grant


Nov 18 '05 #3

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

Similar topics

5
by: Rob Wahmann | last post by:
I have a SQL Server database that is showing 2853.44 mb in size but when I export the data into MS Access the size is less than 1 mb. Can anyone tell me how to reduce the size of my SQL Server...
2
by: Jimi Ffondu | last post by:
Hi there - it's pretty simple, and I'm an idiot. I'm not a developer, I just seem to have landed in this job building this Access database - I've got two days to make it work... aaahh! 1) ...
35
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 =...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
35
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this...
5
by: Ted | last post by:
I am working on two versions of an application, one of which will be a windows forms application (which will need to be redistributable) and the other will be a web application. I have MS Visual...
3
by: Larry Rebich | last post by:
How do I block access to an Asp.Net web application so that I can perform system maintenance? I will be doing the following during the maintenance process: 1. Update the SQL database 2....
1
by: chaitanya02 | last post by:
Hi All, Well- this question might have appeared several times on this forum- but would appreciate your reply on this: I have a asp page, where customers login with some username and the pwd,...
47
by: editormt | last post by:
Software maintenance is an important part of the software development activity, but it is also the less discussed. A recent poll seems to show that the part of maintenance in software development...
36
by: Peter Olcott | last post by:
So far the only way that I found to do this was by making a single global instance of the container class and providing access to the contained class, through this single global instance. Are...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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:
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...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.