Implementing a COM object in vb.net

Hello,

I have a dll that listens to events from our PBX, I am trying to implement this dll in a web application using vb.net to create pop-ups. The problem I am having is figuring out how to implement this dll in my code to listen to the COM locally on the user machine. I can reference the dll in my vb code but how will it listen to the event locally?

I hope the question is clear enough.

Thanks,
htabbachAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
vs1784Connect With a Mentor Commented:
If you mean client machine by "locally" then it is not possible to do that. You have to use ActiveX control for that.
0
 
htabbachAuthor Commented:
Ok, then, in this case, I can use a VB6 program that would listen to these events and fire a web page. The problem with that is users login to that web application and I store their data in a session coockie, if I use the shell command from my vb6 program I cannot access the session information from the page, any way around that?
0
 
vs1784Commented:
You can develop a mechanism to communicate with browser and VB application. May be using Activex or URL Protocol or Browser Helper Object.
0
 
htabbachAuthor Commented:
Can I create an ActiveX control using that dll and use vb.net with that activex?
0
 
vs1784Commented:
Yes you can create ActiveX using any COM DLL. And you can communicate with VB.NET application using activex
0
All Courses

From novice to tech pro — start learning today.