Try this:
Option Explicit
Private Sub Command1_Click()
Dim source As String 'the path to the source file
Dim dest As String 'the path to the destination file
Dim raw As String * 256
source = "c:\notes.mdb"
dest = "c:\temp\notes.mdb"
Open source For Binary As #1
Open dest For Binary As #2
Do While Not EOF(1)
Get #1, , raw
Put #2, , raw
Loop
Close #1
Close #2
MsgBox "done"
Option Explicit
Private Sub Command1_Click()
Dim source As String 'the path to the source file
Dim dest As String 'the path to the destination file
Dim raw As String * 256 'this is a buffer, you can increase or decrease this depending on your systems ram.
source = "c:\notes.mdb"
dest = "c:\temp\notes.mdb"
Open source For Binary As #1
Open dest For Binary As #2
Do While Not EOF(1)
Get #1, , raw
Put #2, , raw
Loop
Close #1
Close #2
End Sub
Troy Williams B.Eng.
fenris@hotmail.com