Hi ortizmario, here is the code from the language browser on how to do this:
Sub Main
' Declare variables and objects.
Dim pm As Object
Dim SourcePath As String
Dim DestinationPath As String
'Declare the current project and the destination folder before calling ClientRunAtServer False.
Set SourcePath = Client.WorkingDirectory
Set DestinationPath = "C:\Temp"
' Access the project management object.
Set pm = Client.ProjectManagement
' Copy a file from the current project folder to another local directory.
pm.CopyDatabase SourcePath + "Sample-Customers.IMD", DestinationPath
' Refresh the File Explorer.
Client.RefreshFileExplorer
' Clear the path.
Set pm = Nothing
End Sub
Hi ortizmario, here is the
Hi ortizmario, here is the code from the language browser on how to do this: