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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vs1784Commented:
If you mean client machine by "locally" then it is not possible to do that. You have to use ActiveX control for that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.