filePath = System.IO.Path.Combine(projectFolderNodeIist(0).InnerText, fileName)
'*************************************************
Dim fileDetail As System.IO.FileInfo = My.Computer.FileSystem.GetFileInfo(filePath)
If (fileDetail.IsReadOnly AndAlso System.IO.File.Exists(filePath)) Then
System.IO.File.SetAttributes(filePath, System.IO.FileAttributes.Normal)
End If
'*********************************************************
'Load the RTF file
ReportUtilities.SetRTFControl(rpt,"Detail1","txtScopeofWork",filePath) |