473,387 Members | 1,453 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,387 software developers and data experts.

.Net user control in a VB6 app requires double-click to activate

I have a VB6 winforms application that has a .Net 2.0 user control
(exposed via COM) that I made. No matter what I have tried, once the
user control looses focus, it always requires a double-click to regain
focus. My control is in a Microsoft VB6 Tab control. So whenever I go
to another tab, and return to the tab with the user control, I must
double-click the control to give it focus. I have tried giving it focus
in code, passing a double-click event to the control, tried using the
3rd-party SStab control for the tab functionality, but it all has no
effect.

A friend was just telling me something about Microsoft changing the way
Active-X controls were activated in websites now due to some lawsuit,
something about needing to double-click on them. Could this have
ANYTHING to do with it? As I said, I am using the 2.0 framework.

Thanks for any suggetsions,
Marcus

Sep 26 '06 #1
1 1500

<ho**********@hotmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
>I have a VB6 winforms application that has a .Net 2.0 user control
(exposed via COM) that I made. No matter what I have tried, once the
user control looses focus, it always requires a double-click to regain
focus. My control is in a Microsoft VB6 Tab control. So whenever I go
to another tab, and return to the tab with the user control, I must
double-click the control to give it focus. I have tried giving it focus
in code, passing a double-click event to the control, tried using the
3rd-party SStab control for the tab functionality, but it all has no
effect.

A friend was just telling me something about Microsoft changing the way
Active-X controls were activated in websites now due to some lawsuit,
something about needing to double-click on them. Could this have
ANYTHING to do with it? As I said, I am using the 2.0 framework.
If you're using an ActiveX control in a browser window, this is likely the
problem. Your friend is correct; Microsoft made a change in the way ActiveX
controls are handled within IE:
http://support.microsoft.com/kb/912945
Sep 28 '06 #2

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

Similar topics

3
by: Gary Besta | last post by:
I am trying to add a simple case statement to a stored procedure or user defined function. However when I try and save the function/procedure I get 2 syntax errors. Running the query in query...
0
by: Colin | last post by:
Hi there, I really need your help on this. I'm trying to learn to using the VS.2003 to create a User Control. In my aspx code has no problem to use the property "grossWaye" that has "register" in...
2
by: conset23 | last post by:
Hello. I'm working with WinForm. It has 30 same user control, each with 4 buttons, 3 labels, 3 textboxes, 2 picture boxes and uses override onPaint to draw gradient rectangle. Main form also has 2...
1
by: Raj | last post by:
Hi, I have created a Windows 'user control' in C#.NET. This user control defines several public 'properties' that the outer world can use to tweak the behavior of the user control. However,...
1
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
1
by: Ben | last post by:
Hi, I would like to use web user contols for header and footer controls. The problem I'm having is that we're using tables for layout. (thanks for any pro css solutions, but thats' a different...
1
by: Israel | last post by:
The problem: I want to know, definitively when a slider loses focus after a user has started sliding and hasn't released the mouse yet. It appears that this is captured with the WM_ACTIVATEAPP...
2
by: Gugale at Lincoln | last post by:
Hi, I am creating a user control which has a radio button and few other controls. I would like the user control to behave like a radio button, in the sense when added to a container radio button...
14
by: n3o | last post by:
Hello Comp.Lang.C Members, I have an issue with user input that I have been trying to figure out for the longest. For instance, let's say you have something like this: void foo() { int num;...
7
by: Christian Cambier | last post by:
Hi, I have a textbox in a web user control. I then add the usercontrol to a web form. I also add a label in the web form. Now, when I press a key in the textbox, i want to display some text...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...

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.