P
Pauras Desani
Dear friends,
I have developed a module in VB6 and now I want to redevelop it into
..NET .
VB6
Dim cat as Object
Set cat =GetObject("","ABC.Application")
Dot NET
Dim cat as Object
Set cat =GetObject("","ABC.Application")
I don't have deep knowledge of Dot NET so I use this code and its
working.
It runs smoothly when the application is running. But in VB6 if the
application is not working then it shows an error "ActiveX component
can not create object". But in Dot NET I don't get this error
message?. But I need the error message so that I can find out whether
the application is working or not? Or how can I know that ABC
application is running or not.
Thanks in Advance.
I have developed a module in VB6 and now I want to redevelop it into
..NET .
VB6
Dim cat as Object
Set cat =GetObject("","ABC.Application")
Dot NET
Dim cat as Object
Set cat =GetObject("","ABC.Application")
I don't have deep knowledge of Dot NET so I use this code and its
working.
It runs smoothly when the application is running. But in VB6 if the
application is not working then it shows an error "ActiveX component
can not create object". But in Dot NET I don't get this error
message?. But I need the error message so that I can find out whether
the application is working or not? Or how can I know that ABC
application is running or not.
Thanks in Advance.