R
Roger Marrs
The folder where I'd like to save a document is located on a remote server
that is accessed via Windows terminal services. When working with a server
on my local network, I can access the folder I want with the following code:
Dim FSO As FileSystemObject
Dim NewDir As String
Set FSO = CreateObject("Scripting.FileSystemObject")
NewDir = "\\lvco-dc\prosecutor\CaseDocs\" & CaseNumber
If Not FSO.FolderExists(NewDir) Then
FSO.CreateFolder NewDir
End If
With Dialogs(wdDialogFileSaveAs)
.Name = "\\lvco-dc\prosecutor\CaseDocs\" & CaseNumber & "\" &
DocFileName
.Show
End With
Is it possible to accomplish the same end result when the destination folder
is accessed through terminal services?
Roger
that is accessed via Windows terminal services. When working with a server
on my local network, I can access the folder I want with the following code:
Dim FSO As FileSystemObject
Dim NewDir As String
Set FSO = CreateObject("Scripting.FileSystemObject")
NewDir = "\\lvco-dc\prosecutor\CaseDocs\" & CaseNumber
If Not FSO.FolderExists(NewDir) Then
FSO.CreateFolder NewDir
End If
With Dialogs(wdDialogFileSaveAs)
.Name = "\\lvco-dc\prosecutor\CaseDocs\" & CaseNumber & "\" &
DocFileName
.Show
End With
Is it possible to accomplish the same end result when the destination folder
is accessed through terminal services?
Roger