Follow @RoyOsherove on Twitter

The equivalent of a VB6 ActiveX Exe using .Net would be..?

Does anyone know how to implement a public object that can be shared among different applications?

In VB6 you could just implement a public object in a module inside an ActiveX EXE and expose it's instance when needed. How do you do this in .NET?

 

Update: Never mind . It just hit me that the way to do this in .NET is using remoting. A remoted Singleton object would act just the same as an Out-of-proc server ActiveX Exe in VB6.

 

 

.Net Rocks Rocks!

Free GUI component for VS .NET users