Solved

hooking up event sinks to events that an EXE exposes

Posted on 1998-10-21
1
170 Views
Last Modified: 2010-04-30
I have written an EXE servers which exposes certain events. I want to hook up the event sinks in Vb to the events fired by the EXE
0
Comment
Question by:Narayan
1 Comment
 
LVL 1

Accepted Solution

by:
zivf earned 100 total points
ID: 1440986
You should expose them through the COM interface (in the idl/odl file if you wrote it in VC).
if the class you created is a visual one (a control in the VB language) then you should draw it on a form, and when you'll double-click it, you'll get to the events list in the code module.
If it is a non-visual class (see rdoResultset and rdoConnection) you should Dim it with the WithEvents Keyword in the code module of a class (or form class), and when you'll see the name of the variable in the left combo of the code module, the events will appear on the right.
a procedure will be created in the code, and this is the callback function.
I would also like you to email me very much, I have a question from the other side of the server I think you have an answer to.
my email is ziv@pidcgroup.com
 thanks.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now