I have an application where I export some crystal reports to a shared folder like:
My question is: I looks it uses the machine account to access this folder like:
Dim ReportFilePath As String = "\\XXXXX\AutoLoad Reports\Reports"
DiskOpts.DiskFileName = ReportFilePath & "\" & ReportName
myCrystalReport1.ExportOptions.DestinationOptions = DiskOpts
domain\vgiwpw03-xxx$ (name of the server is vgiwpw03-xxx2). Is there a way to programaticall speciy which account to use accessing the shared folder? We do not like to use machine accounts as this may change if we switch servers etc. Thank you.