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. 4 2331
Greg,
Maybe you can add the process in the debugger. Be aware that it than has to
run before you can attach it. Be as well aware that there probably is no
source code availalable, so you only see the calls.
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht
news:E9**********************************@microsof t.com...
>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.
I have no idea what you just said.
"Cor Ligthert [MVP]" wrote:
Greg,
Maybe you can add the process in the debugger. Be aware that it than has to
run before you can attach it. Be as well aware that there probably is no
source code availalable, so you only see the calls.
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht
news:E9**********************************@microsof t.com...
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.
Greg,
Have a look in the debug button in top to "Attach to process"
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht
news:16**********************************@microsof t.com...
>I have no idea what you just said.
"Cor Ligthert [MVP]" wrote:
>Greg,
Maybe you can add the process in the debugger. Be aware that it than has to run before you can attach it. Be as well aware that there probably is no source code availalable, so you only see the calls.
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht news:E9**********************************@microso ft.com...
>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.
No, I'm not debugging a process. I'm debugging a Class Libbrary. A Windows
Script application just happens to create the class library object.
"Cor Ligthert [MVP]" wrote:
Greg,
Have a look in the debug button in top to "Attach to process"
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht
news:16**********************************@microsof t.com...
I have no idea what you just said.
"Cor Ligthert [MVP]" wrote:
Greg,
Maybe you can add the process in the debugger. Be aware that it than has
to
run before you can attach it. Be as well aware that there probably is no
source code availalable, so you only see the calls.
Cor
"Greg" <Gr**@discussions.microsoft.comschreef in bericht
news:E9**********************************@microsof t.com...
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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Patrick |
last post by:
I am almost certain that I could use HTTP Post/Get to submit XML Web Service
call (over SSL as well, if using Version 3 of MSXML2) from an ASP
Application?
However, would I only be able to call...
|
by: Craig |
last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a
method in a C# class library component.
My C# DLL is called CSharpProject.dll and contains a public class
called CSharpClass....
|
by: Razzie |
last post by:
Hey all,
I'm really going through a small hell right now - I've completely lost it :)
I made a project, using two interop libraries from exchange (created them as
in this msdn article:...
|
by: Hatim Ali |
last post by:
Hello,
I have a class library project which has a class supporting COM+
transactions. This class library project refers a COM interop assembly. Now i
need to register the assembly after...
|
by: Rob Edwards |
last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message:
"A reference to 'Microsoft CDO for Exchange Management Library' could not be...
|
by: Peter Sutcliffe |
last post by:
In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind in
my project. I have moved the app to VS2005...
|
by: phnimx |
last post by:
Hi ,
We have developed a number of plug-in .NET Library Components that we
typically deploy with our various applications by installing them into the
GAC.
Each of the applications contains an...
|
by: stimpy_cm |
last post by:
Hi everyone, I’m not a programmer but have a little notion about how
things work. I recently downloaded an emulator for my calculator (Texas
Instruments Voyage 200), the program uses a library...
|
by: GaryDean |
last post by:
(this was also posted on the MSDN WCF forum but the answers over there are
not so good)
I have a WCF Library hosted by IIS 6 and it all works fine. However I need
to step through the code in the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |