G
Guest
I have a very simple Visual Basic .NET 2003 class library project
ClassLibrary1 configured to run an external program (in this case
C:\WINDOWS\system32\wscript.exe), in the Debugging Configuration Properties
Dialog Box with command line arguments C:\test.vbs. When I run the project, I
get an "unable to start debugging" error "unable to start program
'C:\WINDOWS\system32\wscript.exe'".
Why do I get this error and how can I solve it?
The Class Library is very simple
Public Class Class1
Public Sub Test()
Stop
MsgBox("Test")
End Sub
End Class
C:\test.vbs contains (if that matters):
msgbox "Here"
Set objApplication = Wscript.CreateObject("ClassLibrary1.Class1")
objApplication.Test
I selected the Build Configuration Properties Register for COM Interop
checkbox, because wscript.exe is unmanaged code.
I am running Windows XP Professional Service Pack 2.
ClassLibrary1 configured to run an external program (in this case
C:\WINDOWS\system32\wscript.exe), in the Debugging Configuration Properties
Dialog Box with command line arguments C:\test.vbs. When I run the project, I
get an "unable to start debugging" error "unable to start program
'C:\WINDOWS\system32\wscript.exe'".
Why do I get this error and how can I solve it?
The Class Library is very simple
Public Class Class1
Public Sub Test()
Stop
MsgBox("Test")
End Sub
End Class
C:\test.vbs contains (if that matters):
msgbox "Here"
Set objApplication = Wscript.CreateObject("ClassLibrary1.Class1")
objApplication.Test
I selected the Build Configuration Properties Register for COM Interop
checkbox, because wscript.exe is unmanaged code.
I am running Windows XP Professional Service Pack 2.