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 1 1549
<ho**********@h otmail.comwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
analyser works fine and a result is given with no syntax errors. I
believe its something to do with the spaces in the field names. Not my
choice as its an existing system I have to work around. Any help
greatly appreciated
SQL Query
|
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 the aspx code if I don't use
"Codebehind" directive. If I try to move the <script></script> coding the
Codebehind of the VS2003. I don't know how to get the property "grossWaye". I
post both User Control and .aspx codes for your help. Thanks in...
|
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 panels with same gradient.
I'm trying to reduce drawing speed on form activation. But at the moment it
is too noticeable for each user control to be drawn.
Tried to use double buffering on main form and on each user control, looks
almost the...
|
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, whenver I drag the user control to a
Form, I noticed that the 'Windows Form Designer generated code' contains
several auto generated statments to initialize the 'properties' that are not
proper. This causes the Form designer to get corrupt and shows a...
|
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 comprised of a DataGrid may have separate permissions for adding, deleting and updating a news item.
Problem
Up until now, I have been implementing security directly inside the control. I will test directly against the security model to see if...
| |
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 thread :))
So in the header I want to output say..
<table><tr><td><script src="foo.js"></script></td><td>
Only if the page requires the menu, otherwise, none of that html should be
sent... I can set the property to determine if the data...
|
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 message but this only goes to
the form and I want it in the user control that maybe very much removed
from the form's knowledge; i.e. the form may launch a 3rd party form
that, upon a call back, decides to launch other form that has my user
control...
|
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 on only one of the user
controls should be selected at any given point of time. I am going to use
this control in different places. What is the best way of designing such a
user control?
Thanks
|
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;
printf("Please enter a number: ");
scanf("%d", &num); // yes I know this function may throw a
|
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 in
the label.
I tried by raising events as used in Winforms but it is not as easy as
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |