M
Mike
Hi there,
I'm currently working on converting an ActiveX exe that was written in
VB6 to VB.NET. The original application was written as a TSR which
lives in the system tray providing integration between a web site and
3rd party windows apps (such as MS office, etc...).
I've managed to convert the application to .NET originally using the
upgrade wizard (to get it up to .NET 1.1 and finally up to .NET 2) and
then rewriting a fair bit of the code. However, I'm having a few
difficulties getting the application to run like the old ActiveX exe.
Basically what I want is for this application to:
a.) provide a COM interface
b.) stay resident so that other apps can call it
c.) run as a single instance application (i.e. new apps that call the
program shouldn't start a new instance but should be able to hook into
the running instance).
I've compiled the application as a DLL / assembly and given it a COM
interface, however at present whenever an app tries to talk to the TSR
it starts another instance of it rather then just hooking into the
original instance.
Would anyone have some ideas on how to achieve what I want with VB.NET.
Thanks in advance!
I'm currently working on converting an ActiveX exe that was written in
VB6 to VB.NET. The original application was written as a TSR which
lives in the system tray providing integration between a web site and
3rd party windows apps (such as MS office, etc...).
I've managed to convert the application to .NET originally using the
upgrade wizard (to get it up to .NET 1.1 and finally up to .NET 2) and
then rewriting a fair bit of the code. However, I'm having a few
difficulties getting the application to run like the old ActiveX exe.
Basically what I want is for this application to:
a.) provide a COM interface
b.) stay resident so that other apps can call it
c.) run as a single instance application (i.e. new apps that call the
program shouldn't start a new instance but should be able to hook into
the running instance).
I've compiled the application as a DLL / assembly and given it a COM
interface, however at present whenever an app tries to talk to the TSR
it starts another instance of it rather then just hooking into the
original instance.
Would anyone have some ideas on how to achieve what I want with VB.NET.
Thanks in advance!