在窗口中显示Word报表出现编译错误 Post By:2020/4/17 18:20:00 [只看该作者]
请问:帮助中
在窗口中显示Word报表
的代码
Dim tmp As String = ProjectPath & "Attachments\资料卡.doc" Dim rep As String = ProjectPath & "Reports\资料卡.doc" Dim mht As String = ProjectPath & "Reports\资料卡.mhtml" Dim wrt As New WordReport(Tables("员工"),tmp,rep) wrt.Build() wrt.SaveToMHT(mht) wrt.Quit e.Form.Controls("WebBrowser1").Address = mht