设置Variable By InputBox错误

时间:2014-04-03 10:14:32

标签: vb.net inputbox

我试图使用以下内容将文件保存到朋友位置,但是我给出了错误?

  Dim FILENAME As String
    FILENAME = InputBox("Template name: ")
    'Writes values to new file...
    Dim objWriter As New System.IO.StreamWriter("C:\MYFOLDER\" & FILENAME & ".txt")

0 个答案:

没有答案