473,809 Members | 2,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wpf inherit from forms.usercontr ol

1 New Member
all the samples are shows how to inherit from system.windows. control.usercon trol but any one know a trick/method how to inherit from system.windows. forms.usercontr ol??
the wpf page is locked and i get a messege "The document root element is not supported by the visual designer"
Apr 15 '12 #1
0 1748

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1145
by: Programmer | last post by:
Hi all Well I want to replace my Previous ActiveX Controls on an Intraner Application With new Controls That i have Created On .NET (VB) I have found a sample that is supported only on IE6 byt it doesn't work the Call Of the control is like this <object id=MyControl classid="http:MyDLLName.dll#MyNameSpace.MyControl"><object>
1
1566
by: Julia | last post by:
Hi, Is it possible to create a System.Windows.Forms.UserControl and then use this control from a web-page? My collegue wants me to do this but I dont know how. He sas he used to work with ActiveX in this way but I havent worked with ActiveX before. So, is there anyone hwo can help me? Thanks
5
1752
by: Keith | last post by:
Please help. I've been developing a windows forms user control to be hosted in IE/ASP.NET. The control is developed in .NET v1.1, and for now I'll need to keep it in that version. Recently I installed .NET 2.0. Now the control loads into .NET 2.0 instead of 1.1 (per System.Environment.Runtime) on my development box. I'm using an app.config file that I'm pulling into the aspx page using a <link> element. In that config file I'm...
11
5313
by: Crirus | last post by:
I need to derive the Windows.Forms.Control 2 times so I design a class like this Public Class BMControl Inherits System.Windows.Forms.UserControl Public Class MapControl Inherits BMControl
5
1644
by: Jim Hubbard | last post by:
I have created a simple usercontrol that adds functionality to the webbrowser control (let's call it ctrl1). I would like to add it to another usercontrol I am creating (let's call it ctrl2), but I can't INHERIT ctrl1 into ctrl2 because I can only use a single INHERITS statement in a class and doing so would eliminate the "Inherits System.Windows.Forms.UserControl" statement needed tom implement ctrl2. Any suggestions?
3
1181
by: Station Media | last post by:
Hi everybody, I need to create a custom button for all our internal applications, and i would like to know what is the best for this type of control(button), is it to inherit standard button or create a full new one with usercontrol (using GDI+) ? Which one will be the fatest or is it the same speed to display button on screen (form with more than 100 buttons) ? thank you
2
4617
by: Michael C | last post by:
I've created my own abstract control inheriting it from Control instead of Usercontrol. All works fine but anyone who inherits from my control cannot design their own control. Do I need to add an attribute to tell the IDE that my control is designable? Thanks, Michael
0
1119
by: eric escobar | last post by:
I am developing a System.Windows.Forms.UserControl. I need use this control in IE with HTTPS. Now this control work well in HTTP but I don't know how I can to do for my control to work in HTTPS. When I try to show my control in HTTPS, my web site don't show the control. My control to have a Strong Name and Certificate. I think that problems in Security policy but I don't know what is exactly problem. someone could can help me, please....
1
984
by: Ronald S. Cook | last post by:
I have many forms in my Windows project. When I go to create an inherited form, I see all my forms in the list of choices. HOWEVER, if any form is marked as must inherit, then it doesn't show up in the list! Is this a bug? Thanks, Ron
0
9603
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,...
0
10640
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10120
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 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...
0
9200
agi2029
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...
1
7662
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 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...
0
6881
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();...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.