473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Possible to use COM IMessageFilter interface from VB?

Hi there,

I want to implement the COM interface IMessageFilter from my VB.NET
application. I realize that it's inside ole32.dll, and that ole32.dll
doesn't have a type library inside of it, so I'm unsure if this is
even possible. I'm pretty green to VB.NET, and .NET in general, so
would anyone be able to give me a little push? Specifically, I think
what I want to do is to somehow "import" ole32.dll into my VB app, but
I'm unsure of how to do this.

My basic problem is that I'm automating Visual Studio .NET 2003 with
the EnvDTE interface, and I'm occasionally getting an exception ("Call
was rejected by callee") when I run builds with devenv.exe from the
command line. I saw the following Google article...

http://www.google.com/groups?q=call+...phx.gbl&rnum=6

that pointed out that I need to implement an IMessageFilter, but the
code it points to is in C#. Does anyone know how to do this in VB?

Thanks so much in advance!
Whitney Kew
Software Engineer
Rain Bird Corporation
Nov 20 '05 #1
0 1042

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: See Sharp | last post by:
Hello all, I have a form class that implements the imessagefilter interface public class frmMain : System.Windows.Forms.Form, IMessageFilter I also have this implemented bool...
2
by: deciacco | last post by:
IMessageFilter interface allows one to capture messages before they are sent to a control or a form. Is there a way, perhaps by implementing another interface, to capture all messages to an exe. ...
0
by: ah.ping.luk | last post by:
Dear All, i want to catch the application event (WM_CLOSE) in a user control. i create a class that implement the IMessageFIlter interface as follow: ...
4
by: Ashish Gupra | last post by:
Hi, I want to use 'IMessageFilter' interface to monitor my Key and mouse events to let me know the idle time of my application. But this interface nt works fine. 'PreFilterMessage' function of...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.