Implementing an ActiveX Server in .Net

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
 
K

Ken Tucker [MVP]

Hi,

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

Ken
 
M

Matt

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top