Hi, i have loaded my VBScript to VB.Net(VS class library).Here is the sample.Problem is that when i am trying to complie im getting this error as to include exe in the project.I acn have exe only if the project is compiled atleast once.But iam unable to compile my project.Could anyone tell me whats the problem?Thankx for any ideas.
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim fso
fso = CreateObject("Scripting.FileSystemObject")
fso.CopyFile("c:\mydir\*.*", "d:\backup\", True)
End Sub
End Class
Comment