473,473 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

COM events doesn't fire

Hi,

I have a VB.Net application calling a VB6 DLL.
Into the DLL i have a form with some controls(buttons, lables, textboxes
...).
the form is starting over a public function.
If I call the DLL from another VB6 project, everything works fine.
But if I'm calling the same project from a .Net application,
I didn't get any event fired in my VB6 DLL.

Does anyone have a suggestion on what might be wrong?

Thanks
Frank
Nov 19 '05 #1
2 1660
Hi Armin,

yes, the events are handled in the VB6 DLL.

Frank

"Armin Zingler" <az*******@freenet.de> wrote in message
news:#P**************@TK2MSFTNGP10.phx.gbl...
"Frank Matheis" <fm@innop.de> schrieb
I have a VB.Net application calling a VB6 DLL.
Into the DLL i have a form with some controls(buttons, lables,
textboxes ..).
the form is starting over a public function.
If I call the DLL from another VB6 project, everything works fine.
But if I'm calling the same project from a .Net application,
I didn't get any event fired in my VB6 DLL.

Does anyone have a suggestion on what might be wrong?


Hard to say. Where do you handle the events? I guess also in the VB6 DLL.
Did you try debugging it in the IDE?
--
Armin

Nov 19 '05 #2
Did you try debugging it in the IDE? I meant the VB6 IDE. Load the project
in VB6, set a breakpoint in the event handlers and start it. Now start the
client application and release the event. Is the breakpoint reached?

Armin

"Frank Matheis" <fm@innop.de> schrieb
Hi Armin,

yes, the events are handled in the VB6 DLL.

Frank

"Armin Zingler" <az*******@freenet.de> wrote in message
news:#P**************@TK2MSFTNGP10.phx.gbl...
"Frank Matheis" <fm@innop.de> schrieb
I have a VB.Net application calling a VB6 DLL.
Into the DLL i have a form with some controls(buttons, lables,
textboxes ..).
the form is starting over a public function.
If I call the DLL from another VB6 project, everything works
fine. But if I'm calling the same project from a .Net
application, I didn't get any event fired in my VB6 DLL.

Does anyone have a suggestion on what might be wrong?


Hard to say. Where do you handle the events? I guess also in the
VB6 DLL. Did you try debugging it in the IDE?
--
Armin


Nov 19 '05 #3

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

Similar topics

14
by: JPRoot | last post by:
Hi I use the following syntax to have events inherited from base to child classes which works nicely (virtual and override keyword on events). But I am wondering if it is a "supported" way of using...
5
by: Steve Moreno | last post by:
Hi all, I've got a web form that I've written code to create an array of DropDownList controls on the page depending on how many records are pulled back. The code to create the controls is...
8
by: MrNobody | last post by:
If I have a control like say a drop down list and I have some kind of onSelectItem change event, is there a way to temporarily suspend the event handling (without removing the event and then...
3
by: MikeK | last post by:
Ok, I've been noodling with this for several days now and I'm starting to go crazy. Does Apple's Safari browser support drag events on Textarea elements? The few specs and docs I've found seem to...
1
by: slikrik98 | last post by:
Greetings, I believe I have narrowed down my issues to one simple question, and I'm hoping someone with async events experience can help me out. My question is: how is using...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.