Private Sub cmdStart_Click()
Dim result As Long
result = DESKTOPTODEVICE("d:\vbpj\inventory.mdb", _
"truckinv..", False, True, ")
If result <> 0 Then
MsgBox "An error occurred transferring the " & _
"data: " & result
End If
MsgBox "Done!"
End Sub
Private Sub cmdFinish_Click()
Dim result As Long
result = DEVICETODESKTOP("d:\vbpj\inventory.mdb", _
"truckinv..", False, True, ")
If result <> 0 Then
MsgBox "An error occurred transferring the " & _
"data: " & result
End If
MsgBox "Done!"
End Sub
|