在构建
中收到此错误运营商'&'未定义类型'字符串'和' Microsoft.VisualBasic.TabInfo'
这就是这一行,我该怎样做才能使这个有效(在vb6中有效)
Printer.Print("ATICTS PROBLEM REPORT: " _
& txtCallId.Text & FileSystem.TAB(70) & "Hours to date:" _
& FileSystem.TAB(90) & txtHours.Text)
答案 0 :(得分:0)
我建议你打破它...
Printer.Print("ATICTS PROBLEM REPORT: ")
Printer.Print(txtCallId.Text)
Printer.Print(FileSystem.TAB(70))
Printer.Print("Hours to date:")
Printer.Print(FileSystem.TAB(90))
Printer.Print(txtHours.Text)
据了解,FileSystem.Tab不是一个简单的制表符或空格数。我相信上述内容最有可能产生相同的结果。