473,657 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compessing an Access database

Hi:

I have read a number of threads on the issue of compressing (compacting) Access data bases
programmaticall y, and have been left confused. We are using Access 2000, and I need code
that will programmaticall y compress an open database. (called "InvoiceManagem ent.be).

Can someone give me a piece of code that will do this, or a pointer to one, please?

Thanks

John Baker
Mar 14 '06 #1
12 2193
"John Baker" <jo********@com cast.net> wrote in message
news:cv******** *************** *********@4ax.c om...
Hi:

I have read a number of threads on the issue of compressing (compacting)
Access data bases
programmaticall y, and have been left confused. We are using Access 2000,
and I need code
that will programmaticall y compress an open database. (called
"InvoiceManagem ent.be).

Can someone give me a piece of code that will do this, or a pointer to
one, please?

Thanks

John Baker

You should not be trying to compact a database which others might be using.

I don't believe there is one standard solution to this because it depends on
a number of factors:
Is the database split front/back end?
Is there user-level security?
When should this action happen - by user click or scheduled automatically?

Your code should
establish that no-one is using the database to be compacted ('original.mdb' )
rename it to 'temp.mdb' (makes sure no-one is using it, or will be able to
during compact routine)
take a copy called 'copy1.mdb'
compact this to a new database 'copy2.mdb'
if all goes well, rename 'copy2.mdb' 'original.mdb'
delete 'copy1.mdb' and 'temp.mdb'
Mar 14 '06 #2
Anthony:

I am a bit of a neophyte with this aspect of access.

The db is single user right now, so no problem there. However, I am not certain of the
code to use to accomplish what I want.

I stumbled on this code in the Access Web site:

Public Sub CompactDB()

CommandBars("Me nu Bar"). _
Controls("Tools "). _
Controls("Datab ase utilities"). _
Controls("Compa ct and repair database..."). _
accDoDefaultAct ion

End Sub

I have installed it, and can run it from a button called directlt, but would like to
combine it with some other actions, and don't appear to be able to set up as "code" call
in a macro that will execute it.

The actual code does the job when i execute it through the debugger, but it wont execute
when I try and set it up using a macro. I would like to make it into an nice easy button
press to remove a lot of excess data (old historical data that is unnecessary) and
compress the files, but if the code wont execute in a macro this is hard to accomplish,
since Im not skilled in Basic code.

Best

John

"Anthony England" <ae******@oops. co.uk> wrote:
"John Baker" <jo********@com cast.net> wrote in message
news:cv******* *************** **********@4ax. com...
Hi:

I have read a number of threads on the issue of compressing (compacting)
Access data bases
programmaticall y, and have been left confused. We are using Access 2000,
and I need code
that will programmaticall y compress an open database. (called
"InvoiceManagem ent.be).

Can someone give me a piece of code that will do this, or a pointer to
one, please?

Thanks

John Baker

You should not be trying to compact a database which others might be using.

I don't believe there is one standard solution to this because it depends on
a number of factors:
Is the database split front/back end?
Is there user-level security?
When should this action happen - by user click or scheduled automatically?

Your code should
establish that no-one is using the database to be compacted ('original.mdb' )
rename it to 'temp.mdb' (makes sure no-one is using it, or will be able to
during compact routine)
take a copy called 'copy1.mdb'
compact this to a new database 'copy2.mdb'
if all goes well, rename 'copy2.mdb' 'original.mdb'
delete 'copy1.mdb' and 'temp.mdb'


Mar 14 '06 #3

"John Baker" <jo********@com cast.net> wrote in message
news:u0******** *************** *********@4ax.c om...
Anthony:

I am a bit of a neophyte with this aspect of access.

The db is single user right now, so no problem there. However, I am not
certain of the
code to use to accomplish what I want.

I stumbled on this code in the Access Web site:

Public Sub CompactDB()

CommandBars("Me nu Bar"). _
Controls("Tools "). _
Controls("Datab ase utilities"). _
Controls("Compa ct and repair database..."). _
accDoDefaultAct ion

End Sub

I have installed it, and can run it from a button called directlt, but
would like to
combine it with some other actions, and don't appear to be able to set up
as "code" call
in a macro that will execute it.

The actual code does the job when i execute it through the debugger, but
it wont execute
when I try and set it up using a macro. I would like to make it into an
nice easy button
press to remove a lot of excess data (old historical data that is
unnecessary) and
compress the files, but if the code wont execute in a macro this is hard
to accomplish,
since Im not skilled in Basic code.

Best

John

"Anthony England" <ae******@oops. co.uk> wrote:
"John Baker" <jo********@com cast.net> wrote in message
news:cv****** *************** ***********@4ax .com...
Hi:

I have read a number of threads on the issue of compressing (compacting)
Access data bases
programmaticall y, and have been left confused. We are using Access 2000,
and I need code
that will programmaticall y compress an open database. (called
"InvoiceManagem ent.be).

Can someone give me a piece of code that will do this, or a pointer to
one, please?

Thanks

John Baker

You should not be trying to compact a database which others might be
using.

I don't believe there is one standard solution to this because it depends
on
a number of factors:
Is the database split front/back end?
Is there user-level security?
When should this action happen - by user click or scheduled automatically?

Your code should
establish that no-one is using the database to be compacted
('original.md b')
rename it to 'temp.mdb' (makes sure no-one is using it, or will be able to
during compact routine)
take a copy called 'copy1.mdb'
compact this to a new database 'copy2.mdb'
if all goes well, rename 'copy2.mdb' 'original.mdb'
delete 'copy1.mdb' and 'temp.mdb'


You won't find much use of macros in this newsgroup as they only offer
limited functionality - most work is done with vba. But anyway, I take it
from your reply that the database is not split (so you have one mdb file
with tables and forms in it), you have no security implemented and there are
no multi-user issues.
In that case you can just modify the code you found so that it is a function
, rather than a sub:

Public Function CompactDB()

CommandBars("Me nu Bar"). _
Controls("Tools "). _
Controls("Datab ase utilities"). _
Controls("Compa ct and repair database..."). _
accDoDefaultAct ion

End Function
Then you can use this in a macro by having a step of RunCode and fill in the
function name:

=CompactDB()

Note that this needs to be the final step of any macro as Access needs to
re-start the database during this step and a macro cannot continue during
this.

Note that you could also just switch on the CompactOnClose option, so the
database is automatically compcted.



Mar 14 '06 #4
Anthony:

Thanks for your comments, I appreciate them. Unfortunately the DB and the programs are
split, so that there is a back end and a front end. I don't know if this impacts what you
advised, but I thought I should at least mention it,.

By the way, what is the "CompactOnClose " option, and how do I activate it?
Thanks again

John Baker

"Anthony England" <ae******@oops. co.uk> wrote:

"John Baker" <jo********@com cast.net> wrote in message
news:u0******* *************** **********@4ax. com...
Anthony:

I am a bit of a neophyte with this aspect of access.

The db is single user right now, so no problem there. However, I am not
certain of the
code to use to accomplish what I want.

I stumbled on this code in the Access Web site:

Public Sub CompactDB()

CommandBars("Me nu Bar"). _
Controls("Tools "). _
Controls("Datab ase utilities"). _
Controls("Compa ct and repair database..."). _
accDoDefaultAct ion

End Sub

I have installed it, and can run it from a button called directlt, but
would like to
combine it with some other actions, and don't appear to be able to set up
as "code" call
in a macro that will execute it.

The actual code does the job when i execute it through the debugger, but
it wont execute
when I try and set it up using a macro. I would like to make it into an
nice easy button
press to remove a lot of excess data (old historical data that is
unnecessary) and
compress the files, but if the code wont execute in a macro this is hard
to accomplish,
since Im not skilled in Basic code.

Best

John

"Anthony England" <ae******@oops. co.uk> wrote:
"John Baker" <jo********@com cast.net> wrote in message
news:cv***** *************** ************@4a x.com...
Hi:

I have read a number of threads on the issue of compressing (compacting)
Access data bases
programmaticall y, and have been left confused. We are using Access 2000,
and I need code
that will programmaticall y compress an open database. (called
"InvoiceManagem ent.be).

Can someone give me a piece of code that will do this, or a pointer to
one, please?

Thanks

John Baker
You should not be trying to compact a database which others might be
using.

I don't believe there is one standard solution to this because it depends
on
a number of factors:
Is the database split front/back end?
Is there user-level security?
When should this action happen - by user click or scheduled automatically?

Your code should
establish that no-one is using the database to be compacted
('original.m db')
rename it to 'temp.mdb' (makes sure no-one is using it, or will be able to
during compact routine)
take a copy called 'copy1.mdb'
compact this to a new database 'copy2.mdb'
if all goes well, rename 'copy2.mdb' 'original.mdb'
delete 'copy1.mdb' and 'temp.mdb'


You won't find much use of macros in this newsgroup as they only offer
limited functionality - most work is done with vba. But anyway, I take it
from your reply that the database is not split (so you have one mdb file
with tables and forms in it), you have no security implemented and there are
no multi-user issues.
In that case you can just modify the code you found so that it is a function
, rather than a sub:

Public Function CompactDB()

CommandBars("Me nu Bar"). _
Controls("Tools "). _
Controls("Datab ase utilities"). _
Controls("Compa ct and repair database..."). _
accDoDefaultAct ion

End Function
Then you can use this in a macro by having a step of RunCode and fill in the
function name:

=CompactDB()

Note that this needs to be the final step of any macro as Access needs to
re-start the database during this step and a macro cannot continue during
this.

Note that you could also just switch on the CompactOnClose option, so the
database is automatically compcted.




Mar 15 '06 #5

"John Baker" <jo********@com cast.net> wrote in message
news:6g******** *************** *********@4ax.c om...
Anthony:

Thanks for your comments, I appreciate them. Unfortunately the DB and the
programs are
split, so that there is a back end and a front end. I don't know if this
impacts what you
advised, but I thought I should at least mention it,.

By the way, what is the "CompactOnClose " option, and how do I activate it?
Thanks again

John Baker


Hi John
Yes it does make a difference - in fact it was one of the first questions I
asked. The difference it makes is that you could be compacting either the
front or the back end. Normally, it is the back end which needs compacting
as this is what holds the data and which has the additions and deletions
that cause the bloat (the space is not automatically re-claimed after
records are deleted)
So, what you need to do is compact the back end from the front end - this is
something the compact on close cannot do for you. This, by the way, is
under Tools>Options>G eneral tab and simply compacts the database
automatically when you close it.
However, in your case, you should create a new module named "modCompact " and
cut and paste the following code into it. You need to alter one line where
you write in the name of any front-end linked table instead of:
"ReplaceThisWit hYourTableName"
Make sure it compiles and then save the database. You can now have a macro
with a step of RunCode where you write in the name of the function
=CompactBackEnd ()

I have tested this code, but I can't guarantee it, so test cautiously.
' *** Code Starts ***
Option Compare Database
Option Explicit

Private Const TABLE_NAME As String = "ReplaceThisWit hYourTableName"
'
'

Public Function CompactBackEnd( ) As Boolean

On Error GoTo Err_Handler

Dim strBackEndPath As String
Dim strBackEndDir As String
Dim strBackEndFile As String
Dim strTempPath As String
Dim strCopyPath1 As String
Dim strCopyPath2 As String
Dim strStartSize As String
Dim strStopSize As String
Dim strWarning As String

strBackEndPath = BackEndPath(TAB LE_NAME)

If Len(strBackEndP ath) > 0 Then
strBackEndFile = Dir(strBackEndP ath)
Else
MsgBox "Cannot locate datasource", vbCritical, _
"Compact and Repair Routine"
Exit Function
End If

If Len(strBackEndF ile) > 0 Then
strBackEndDir = Left$(strBackEn dPath, _
Len(strBackEndP ath) - Len(strBackEndF ile))
Else
MsgBox "Cannot locate datasource", vbCritical, _
"Compact and Repair Routine"
Exit Function
End If

strTempPath = strBackEndDir & "tmp" & strBackEndFile

strCopyPath1 = strBackEndDir & "tmpCopyDb1.mdb "

strCopyPath2 = strBackEndDir & "tmpCopyDb2.mdb "

strWarning = "A temporary file has been detected." & vbCrLf & _
"This may have come from a previous attempt " & _
"to compact and repair the database." & vbCrLf & _
"If you are sure this holds no useful data " & _
"then it may be deleted." & vbCrLf & "Otherwise rename " &
_
"or move the file to another location." & vbCrLf & vbCrLf &
_
"The current path is:" & vbCrLf

If Len(Dir(strTemp Path)) > 0 Then
MsgBox strWarning & strTempPath, vbCritical, _
"Compact and Repair Routine"
Exit Function
End If

If Len(Dir(strCopy Path1)) > 0 Then
MsgBox strWarning & strCopyPath1, vbCritical, _
"Compact and Repair Routine"
Exit Function
End If

If Len(Dir(strCopy Path2)) > 0 Then
MsgBox strWarning & strCopyPath2, vbCritical, _
"Compact and Repair Routine"
Exit Function
End If

Name strBackEndPath As strTempPath

strStartSize = GetFileSize(str TempPath)

FileCopy strTempPath, strCopyPath1

DBEngine.Compac tDatabase strCopyPath1, strCopyPath2

strStopSize = GetFileSize(str CopyPath2)

Name strCopyPath2 As strBackEndPath

Kill strCopyPath1

Kill strTempPath

MsgBox "Backup complete for:" & strBackEndPath & vbCrLf & _
"Compacted from: " & strStartSize & _
" to " & strStopSize, vbInformation, _
"Compact and Repair Routine"

CompactBackEnd = True

Exit_Handler:
Exit Function

Err_Handler:
MsgBox Err.Description , vbExclamation, "Error No: " & Err.Number
Resume Exit_Handler

End Function
Private Function BackEndPath(str TableName As String) As String

On Error GoTo Err_Handler

Dim dbs As DAO.Database
Dim tdf As DAO.TableDef
Dim strPath As String

Set dbs = CurrentDb

Set tdf = dbs.TableDefs(s trTableName)

If Len(tdf.Connect ) > 0 Then
strPath = Mid$(tdf.Connec t, 11)
End If

BackEndPath = strPath

Exit_Handler:

If Not tdf Is Nothing Then
Set tdf = Nothing
End If

If Not dbs Is Nothing Then
Set dbs = Nothing
End If

Exit Function

Err_Handler:
'No error message just return a zero-length string
Resume Exit_Handler

End Function

Private Function GetFileSize(str Path As String) As String

On Error GoTo Err_Handler

Dim intFile As Integer
Dim lngSize As Long
Dim sngSize As Single
Dim Digit As Byte
Dim strReturn As String

intFile = FreeFile

Open strPath For Binary Access Read As #intFile

lngSize = LOF(intFile)

Close #intFile

Select Case lngSize

Case Is > 1073741824
sngSize = lngSize / 1073741824
strReturn = "GB " & Format(sngSize, "###,###.00 0")

Case Is > 1048576
sngSize = lngSize / 1048576
strReturn = "MB " & Format(sngSize, "###,###.00 0")

Case Else
sngSize = lngSize / 1024
strReturn = "KB " & Format(sngSize, "###,###.00 0")

End Select

Digit = CByte(Right$(st rReturn, 1))

If Digit > 4 Then
Digit = Digit + 1
End If

strReturn = Left$(strReturn , Len(strReturn) - 2) & CStr(Digit)

If Right$(strRetur n, 3) = ".00" Then
strReturn = Left$(strReturn , Len(strReturn) - 3)
Else
If Right$(strRetur n, 1) = "0" Then
strReturn = Left$(strReturn , Len(strReturn) - 1)
End If
End If

strReturn = Mid$(strReturn, 4) & " " & Left$(strReturn , 2)

GetFileSize = strReturn

Exit_Handler:
Exit Function

Err_Handler:
MsgBox Err.Description , vbExclamation, "Error No: " & Err.Number
Resume Exit_Handler

End Function
' *** Code Ends ***
Mar 15 '06 #6
"Anthony England" <ae******@oops. co.uk> wrote in
news:dv******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com:
So, what you need to do is compact the back end from the front
end. . . .
Keep in mind that you won't be able to compact as long as any tables
in the back end are open by any users. This includes the user
initiating the compact from the front end -- if there is any bound
form open, it will prevent the back end from being compacted.
. . . - this is
something the compact on close cannot do for you.


I think compact on close is a useless and dangerous feature. Given
that it can potentially cause you to lose information/data, I don't
think it's good to have it happen without being requested by the
user.

Secondly, a well-designed front end should never need to be
compacted, and no well-designed application will ever be opening
anything other than the front end. Thus, it's a useless feature.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 15 '06 #7

"David W. Fenton" <XX*******@dfen ton.com.invalid > wrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Anthony England" <ae******@oops. co.uk> wrote in
news:dv******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com:
So, what you need to do is compact the back end from the front
end. . . .
Keep in mind that you won't be able to compact as long as any tables
in the back end are open by any users. This includes the user
initiating the compact from the front end -- if there is any bound
form open, it will prevent the back end from being compacted.


Indeed - so my routine temporarily renames the file which:
a) ensures that (if succesful) no-one else had been using it
b) stops people normally connecting to it while the code is running
. . . - this is
something the compact on close cannot do for you.


I think compact on close is a useless and dangerous feature. Given
that it can potentially cause you to lose information/data, I don't
think it's good to have it happen without being requested by the
user.


I agree.

Secondly, a well-designed front end should never need to be
compacted, and no well-designed application will ever be opening
anything other than the front end. Thus, it's a useless feature.
I pretty much agree, athough Access is frequently used by people who have an
all-in-one mdb file which is used exclusively by them on a single-user
machine. Nevertheless, unless you had reliable backup I would be cautious
of having it done automatically.
I never take any steps to try and compact front ends which I have
distributed and are being used. Some of these have been working for many
years without any need to compact. While I am working on them, however, I
compact regularly.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Mar 15 '06 #8

"David W. Fenton" <XX*******@dfen ton.com.invalid > wrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Anthony England" <ae******@oops. co.uk> wrote in
news:dv******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com:
So, what you need to do is compact the back end from the front
end. . . .
Keep in mind that you won't be able to compact as long as any tables
in the back end are open by any users. This includes the user
initiating the compact from the front end -- if there is any bound
form open, it will prevent the back end from being compacted.


Indeed - so my routine temporarily renames the file which:
a) ensures that (if succesful) no-one else had been using it
b) stops people normally connecting to it while the code is running
. . . - this is
something the compact on close cannot do for you.


I think compact on close is a useless and dangerous feature. Given
that it can potentially cause you to lose information/data, I don't
think it's good to have it happen without being requested by the
user.


I agree.

Secondly, a well-designed front end should never need to be
compacted, and no well-designed application will ever be opening
anything other than the front end. Thus, it's a useless feature.
I pretty much agree, athough Access is frequently used by people who have an
all-in-one mdb file which is used exclusively by them on a single-user
machine. Nevertheless, unless you had reliable backup I would be cautious
of having it done automatically.
I never take any steps to try and compact front ends which I have
distributed and are being used. Some of these have been working for many
years without any need to compact. While I am working on them, however, I
compact regularly.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/

Mar 15 '06 #9
"Anthony England" <ae******@oops. co.uk> wrote in
news:dv******** **@nwrdmz02.dmz .ncs.ea.ibs-infra.bt.com:

"David W. Fenton" <XX*******@dfen ton.com.invalid > wrote in message
news:Xn******** *************** ***********@127 .0.0.1...
"Anthony England" <ae******@oops. co.uk> wrote in
news:dv******** **@nwrdmz01.dmz .ncs.ea.ibs-infra.bt.com:
So, what you need to do is compact the back end from the front
end. . . .
Keep in mind that you won't be able to compact as long as any
tables in the back end are open by any users. This includes the
user initiating the compact from the front end -- if there is any
bound form open, it will prevent the back end from being
compacted.


Indeed - so my routine temporarily renames the file which:


Er, you can't rename a file that's open, so it's really no different
than a compact, which exclusively locks the MDB while it's working.
a) ensures that (if succesful) no-one else had been using it
b) stops people normally connecting to it while the code is
running


A regular compact does both of those things, and you couldn't rename
it in any circumstance where you also couldn't compact it.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Mar 15 '06 #10

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

Similar topics

3
23870
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how to use a database table but all I want to do now is to click a command button to display this access report. Any suggestions please ?????
17
2888
by: chicha | last post by:
Hey people, I have to convert MS Access 2000 database into mysql database, the whole thing being part of this project I'm doing for one of my faculty classes. My professor somehow presumed I knew db's and gave me long list of things to do with that particular database, first thing being that particular conversion. Truth is that I don't know a first thing about db's, let alone using mysql... I downloaded mysql form www.mysql.com and...
3
6116
by: *no spam* | last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing Wizard crashes (a known bug wi A2K), so I'm using the following suggested method: Access --> New --> Project (Existing Database) This asks for the name of the .adp file to create and then launches into the Data Link Properties dialog box (so far so good) I select my MSDE server from the drop-down, enter the sa account & passwd, attach a database file and try to...
63
5893
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
13
13336
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages and disadvantages of both programs. Many Thanks Simon
11
17042
by: Rosco | last post by:
Does anyone have a good URL or info whre Oracle and Access are compared to one another in performance, security, cost etc. Before you jump on me I know Oracle is a Cadillac compared to Access the Ford Fairlane. I need this info to complete a school project. Thanks.
64
5216
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. Any comments? Thanks
52
9955
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server 2005, and, since he already has licenses for Office Pro 2002, he wants to upgrade to that. I've been saying that we need to upgrade to Access 2003, not 2002, even if Office is kept at 2002. We are also looking to do a fair amount of...
21
4086
by: nihad.nasim | last post by:
Hi there, I have a database in Access that I need on the web. The web page should connect to the database and write records for certain tables and view records for others. I want to know a reliable way of connecting Access to a server. I am willing to switch to any version of Access which might solve the problem. Which server would you recommend and what are the advanatages and disadvantatges of the server you propose? Please also inlcude...
0
8413
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
8740
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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
8617
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
6176
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
5642
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
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.