• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

Expose an event from a running vb.net exe "windows forms application"

How to call into a running vb.net exe and invoce a procedure. Like an active x exe server used to be in vb.
I have an exe that, while not running as a service, is allways running. I need to be able to call some exposed objects from vbscript  eg  set something = CreateObject("myproject.mystuff").
I understand that this can be done using an dll/windows controll library but thats not what i want to do, i want to call into a live exe that will do some processing and hand me back a result without affecting the running state of the exe.
  • 2
1 Solution
Hello HarperBen,

You might want to look at .NET Remoting:

Or, if you are looking int othe future, Windows Communication Foundation (WCF)


HarperBenAuthor Commented:
Thanks Rimvis,
I have see the the first link, i dont think its what i am looking for.
Does anyone have any experience in having created an exe in .net that can be called in the following way:   set something = CreateObject("myproject.mystuff").

I am sure it cannot be so difficult, i hope that i am not reduced to monitoring a directory for text file instructions!
HarperBenAuthor Commented:
anyone got any further Ideas or code samples???

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now