F
Florishilte
Guest
Hello,
With this i save a file .
But after saving i want to start the file
Using sfd As New SaveFileDialog
sfd.Filter = "Excel file|*.xlsx"
sfd.FileName = Form1.Name.Text & " - " & Form1.Date.Text
sfd.AddExtension = True
If sfd.ShowDialog = DialogResult.OK Then
If System.IO.File.Exists(sfd.FileName) Then
Else
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath & "\W10\Test.xlsx", sfd.FileName)
End If
End If
End Using
End If
But after saving i want to start the file
i tryed this but no luck
System.Diagnostics.Process.Start(sfd.FileName)
WindowState = 1
Continue reading...
With this i save a file .
But after saving i want to start the file
Using sfd As New SaveFileDialog
sfd.Filter = "Excel file|*.xlsx"
sfd.FileName = Form1.Name.Text & " - " & Form1.Date.Text
sfd.AddExtension = True
If sfd.ShowDialog = DialogResult.OK Then
If System.IO.File.Exists(sfd.FileName) Then
Else
My.Computer.FileSystem.CopyFile(My.Application.Info.DirectoryPath & "\W10\Test.xlsx", sfd.FileName)
End If
End If
End Using
End If
But after saving i want to start the file
i tryed this but no luck
System.Diagnostics.Process.Start(sfd.FileName)
WindowState = 1
Continue reading...