如何在Visual Studio 2017中安装RDLC报表

时间:2019-06-11 16:21:57

标签: visual-studio-2017 rdlc vsix

我正在尝试为Visual Studio 2017安装RDLC报表。为此,我尝试安装以下软件包。

  1. Microsoft RDLC Report Designer

  2. Microsoft Reporting Services Projects

在安装软件包时出现以下错误消息。

enter image description here

有如下安装日志,

Sub ExtractHighlightedText()

    Dim oDoc As Document
    Dim s As String
    With Selection
        .HomeKey Unit:=wdStory 
        With .Find
            .ClearFormatting
            .Text = ""
            .Highlight = True
            Do While .Execute
                s = s & Selection.Text & vbCrLf
            Loop
        End With
    End With
Set oDoc = Documents.Add 
oDoc.Range.InsertAfter s 

End Sub

我还尝试使用Sub ConvertTextsFromShadedToHighlighted() Dim objParagraph As Paragraph Dim objCharacterRange As Range For Each objParagraph In ActiveDocument.Paragraphs If objParagraph.Range.Information(wdWithInTable) = False Then If objParagraph.Range.Shading.BackgroundPatternColor <> wdColorAutomatic Then objParagraph.Range.Shading.BackgroundPatternColor = wdColorAutomatic objParagraph.Range.HighlightColorIndex = wdPink End If End If Next objParagraph For Each objCharacterRange In ActiveDocument.Characters if objCharacterRange.Font.Shading.BackgroundPatternColor <> wdColorAutomatic Then objCharacterRange.Font.Shading.BackgroundPatternColor = wdColorAutomatic objCharacterRange.HighlightColorIndex = wdPink End If Next objCharacterRange End Sub 在两个软件包上方进行安装。但这也没有成效。我该怎么解决?

0 个答案:

没有答案