Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
SaveFileDialog1.ShowDialog()
End Sub
Private Sub SaveFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles SaveFileDialog1.FileOk
If SaveFileDialog1.FileName = "7.iso" Or SaveFileDialog1.FileName = "" Then
Call MsgBox("Incorrect save directory - [email protected]")
Else
My.Computer.FileSystem.CopyFile(W_7.My.Resources.7.Clone, SaveFileDialog1.FileName)
End If
End Sub
End Class
There are no errors to this code, except the resource file error which is..
Error 1 Invalid Resx file. Arithmetic operation resulted in an overflow. Line 123, position 5. C:\Users\Noob\AppData\Local\Temporary Projects\W7\My Project\Resources.resx 123 5 W7