【发布时间】:2014-01-16 02:04:09
【问题描述】:
所以我得到的是它查看文件是否存在然后打开它然后我想将文件保存为字符串作业我想在后台运行它并且也没有任何窗口弹出并且也许显示一个进度条?
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
Dim job As String
Dim wo As String
Dim fpath As String
fpath = "U:\Output\REV B Template Program Info.xlsm"
job = InputBox("Please enter the job number.")
wo = InputBox("Please enter the work order number.")
If My.Computer.FileSystem.FileExists(fpath) Then
MsgBox("File found.")
Process.Start(fpath)
'I then wanna Save As the sting job
'I would also like to do it in the back ground and not have it show up
'and also show a Progress Bar if we can.
Else
MsgBox("File not found.")
End If
End Sub
【问题讨论】:
标签: vb.net file-io progress-bar