Implementing an ActiveX Server in .Net

  • Thread starter Thread starter GIO NEWS
  • Start date Start date
G

GIO NEWS

Hi
I am trying to create a simple Client/Server application in VB.Net

In VB6 the easiest way to do this is to create an ActiveX Exe that exposes a
public method in a class. The Client would then have a reference to that
server Class and call the method to pass any parameters to the server. In
effect we have craeted an automation interface that can run as a standalone
app or have certain methods called by a client app if a reference is
included to that server.

How can you do this same thing in vb.net? There is no project to Create an
ActiveX.exe anymore! So, how does a client get a reference to a server to
call methods in it.

Sorry if this is all a bit naive but I'm new to VB.Net and just want to make
sure I can convert my old app to it

Thanks in advance for any help

Matt
 
Hi,

There is no longer an activex.exe project type. Take a look at
webservices.

Ken
 
Hi
From my understanding, WebServices are Internet based - it seems like a lot
of overhead to do what I want to do. All I want is for two windows apps on
the same machine to be able to talk to each other.
At its simplest level, one app (the client) sends a string to the other app
(server) on the click of a button, and this string is displayed in a text
box on the server. Surely there must be an easy way to do this in .NET
without webservices and complicated API calls or creating ASP.NET
applications?

It was So EASY to do in VB6 using an ActiveX server!
If anyone can show me a way of doing this simply in .NET I'd be most
grateful
Regards
Matt
 
Back
Top