473,508 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with ActiveX usage in C# usercontrol

OS: XP

..Net= framework = 1.0.3705

VS.Net IDE = 7.0.9466

1. I used an ActiveX control in C# client Application[has dll]. After
executing Aximp of ActiveX control. I derived a class [DerivedGrid] from the
AxHost[wrapper for ActiveX].

This DerivedGrid class is hosted on a usercontrol[Tv class] which is inturn
hosted on another UserControl[Idc]. In turn this Idc is hosted on a Form.

Now the problem is: If the DerivedGrid class object is created and the Idc
is hidden[Visiblity=false], then the WM_VISIBLE style of ActiveX control
gets removed internally

[when? no idea]. Can anybody help me out why this happens.

2. I used a work around for the above problem by resetting WM_VISIBLE style
in ActiveX control[temporarly]. This has resulted into another problem. Now
the other problem is when I create 'n' numbers of DerivedGrid object and
place them sequentially cross the viewing area and also I enable the
AutoScroll on Tv class for viewing all the grids. Then Scroll few pixels in
both horizontal and vertical direction and Click one of the DerivedGrid
object , the DerivedGrid object gets clipped. This is a strange behaviour.
Jul 19 '05 #1
0 2173

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

Similar topics

0
2204
by: Jeff M | last post by:
For my application an activeX refers to "program displayed within Internet Explorer" After looking over the docs for VB.NET it looks impossible. ---START--- USERCONTROL CHANGES IN VISUAL...
3
2060
by: Neo | last post by:
I have a usercontrol that I am trying to use as an ActiveX Control on a WebPage, however it refereneces an Assembly that whenever the first call is made to anything in the Assembly a Security...
3
4561
by: seaweed | last post by:
Hi, all. I am a beginner. If C# can not be used to ActiveX control, How can I do? Thank you in advance.
1
3097
by: Mehr H | last post by:
I have been working on this for several days and am still have had no success in achieving this. Pleae help. It seems that documentation for this is very limited. I have looked in several books and...
4
1416
by: Captain Chaos | last post by:
Hello Is it Possible to build an ActiveX Control with NET ? I want to take a NET UserControl and use it with VB6. I found a solution how to embbed a NET UserControl into a WebPage (Like it...
7
5324
by: Peter Proost | last post by:
Hi group, Here at work they've got an activeX control which is used on a usercontrol, and this usercontrol is one of the standard controls in the framework, so this user controls get's used a...
0
267
by: BestNews | last post by:
OS: XP ..Net= framework = 1.0.3705 VS.Net IDE = 7.0.9466 1. I used an ActiveX control in C# client Application. After executing Aximp of ActiveX control. I derived a class from the AxHost.
4
2368
by: Michael | last post by:
Hi I know it sounds grazy to create an ActiveX Usercontrol with VB.NET, where a native tool for this already exists, VB6. The existing ActiveX Control Containers should be able to load...
3
1607
by: unknown; | last post by:
Hi, i need to write a module in C++ (unmanaged) witch i can use in VB.NET. The C++ module doesn't have a GUI. In VB i need to create an instace of the C++ class. I understand the only way to do...
0
7229
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
7129
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...
1
5057
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
4716
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
3208
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
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
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 ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.