I want to write a C# application that opens a
batch of Reports and modifies them by removing or disabling their
tooltips and then saves them. The reason why I want to do this is that tooltips are causing some display problems in a RDP connection.
I cannot modify the application that displays the reports in a viewer since I have not written it.
I've found the following tip of code in VB and I need to replicate it in C#
Dim i As Integer
Dim ii As Integer
Dim iii As Integer
Dim iiii As Integer
For i = 1 To Report.Sections.Count
For ii = 1 To Report.Sections(i).ReportObjects.Count
Report.Sections(i).ReportObjects(ii).ConditionFormula(crToolTipTextConditionFormulaType) = "chr(9)"
If Report.Sections(i).ReportObjects(ii).Kind = crSubreportObject Then
Set subreport = Report.OpenSubreport(Report.Sections(i).ReportObjects(ii).SubreportName)
For iii = 1 To subreport.Sections.Count
For iiii = 1 To subreport.Sections(iii).ReportObjects.Count
subreport.Sections(iii).ReportObjects(iiii).ConditionFormula(crToolTipTextConditionFormulaType) = "chr(9)"
Next iiii
Next iii
End If
Next ii
Next i
Can anyone suggest me how to accomplish this task?
Best regards.
Alessandro