System.ComponentModel.Component Class
Information   Base Types   Related Resources

Provides the base implementation for the IComponent interface and enables object-sharing between applications.

  • Namespace: System.ComponentModel
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.dll

  • System.MarshalByRefObject
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (11)Discussions (240)MembersRotorChanges
    Discussions

    Page: 12345678910
    "Data Environment" for VB.net ? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hello, Sorry for the cross posting, I first posted this message to the vb.6 NG (wrong group) g . Are there any add in or tools out there (for VB.NET ) that would allow one to drag and drop database fields onto a form. (similar to the DataEnvironment in vb.6) ? I am looking for one that could set the validation rules for each TextBox based on the definition of the fields in the tables I know there ...
    'Proper' way to databind? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I'm using a variety of sources to learn to databind my db to my forms. Does it make any difference if I 'drag' out an sqlDataAdapter and Dataset? Or Should I put it within the VB code? The books and videos I'm watching show the 'drag' method, while the Microsoft samples all use the binding from within their VB. What gives? Thanks, Sparkle Posted Via Usenet.com Premium Usenet Newsgroup Services ...
    Assembly question (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    First off, I'm pretty new to web development with C# and ASP.NET. With that said, I've been scratching my head for the past 2 hours, trying to figure out the following problem: I created a first project (CLSLibrary) with one class (user.cs), defined as "public class User". This class contains some public methods and properties as well as some public static methods. This class lives in CLSLibrary n...
    Bug in SqlConnection, SqlClient connection pool or DTC? (VIP replies)
    microsoft.public.dotnet.framework.adonet
    SqlConnection throws an exception when disposed if it is manually enlisted in a distributed transaction: System.InvalidCastException: Specified cast is not valid. Server stack trace: at System.Data.SqlClient.ConnectionPool.PutConnectionManualEnlisted(SqlInternalConnection con) at System.Data.SqlClient.ConnectionPool.PutDeactivatedConnection(SqlInternalConnection con) at System.Data.SqlClient.SqlCo...
    Build from scratch with the Component Class (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    Hello Has somebody build a own Control by build it from the scratch begining with the Inherits System.ComponentModel.Component ? Or have a tip how to do this ? Please don't tell me to use UserControl or Control or ask my why I want to do this. I had a long diskussion about that and the only answer ist building the Control from the scratch. Thanx for advices
    C# COM Object Issues (VIP replies)
    microsoft.public.dotnet.general
    Hi all, At a high level here is what is going on I built a C# COM object. I need to call this com object from SQL Server using the sp OACreate stored procedure in SQL Server. I build the COM object, register it using regasm, but when I try to call it in SQL Server I get the following error message "0x80070002 Extended Procedure The system cannot find the file specified." I have tried registering t...
    Can't get started designing a report (VIP replies)
    microsoft.public.vsnet.general
    When I start up Visual Studio, it takes me into the development environment. When I create a new project, I don't know what type of project to choose to develop a report. When I choose any one of them, and then look at the templates list I don't see 'Report Project', as some of my documentation notes.
    Cannot serialize member System.ComponentModel.Component.Site of ty (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi, i have developed a webservice , which has 2 methods one returns a sqlconnection and the other one returns a dataset. if a add an aspx page in that webservice project , the page gets the connection from the web method well.But if i run the webservice alone(by making the websevice as a start up) it gives the error like Cannot serialize member System.ComponentModel.Component.Site of type System.C...
    COM+ using Component Designer? (VIP replies)
    microsoft.public.dotnet.framework.component_services
    Hi all! I've been playing a bit with Component Designer in Visual Studio.NET. Seems to me like a great way to build simple data access components using "point and click". However I can't figure out how to make a component made this way into a component with transactional support which can be put into COM . The class which is Component Designer ends up with inhertits from System.ComponentMode.Compo...
    COM+ using Component Designer? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hi all! I've been playing a bit with Component Designer in Visual Studio.NET. Seems to me like a great way to build simple data access components using "point and click". However I can't figure out how to make a component made this way into a component with transactional support which can be put into COM . The class which is Component Designer ends up with inhertits from System.ComponentMode.Compo...
    Component vs Class, when to use which (VIP replies)
    microsoft.public.dotnet.framework
    In VS.NET, you can add a plain class or a component class. What's the main reasons for using one or the other? I know a component class derives from System.ComponentModel.Component but not quite sure exactly what it has that a plain class doesn't? Thanks Bob
    components (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Dear all what is the different between components and class, usercontrol and customcontrol
    Consuming Controls from a Webservice (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    (Type your message here) From: caesar hernandez Is it possible to return an Array of Controls that have defined events from a webservice to a consumer? consumer: controls Webservice.CreateGUI() webservice: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web; using System.Web.Services; using System.Windows.Forms; namespa...
    Control.Dispose hangs in SelectNextControl (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hello Situation: WinForms 1.1 application has three Non Modal Forms being shown at the same time: formA is the main form (started with Application.Run) formB has an ActiveX control on it and is minimized formC is an ordinary form, which is activated formC now wants to close formB using formB.Dispose. somewhere in the Dispose method of formB, the ActiveX control gets disposed too. The system now ha...
    Create platform dependent objects (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    Hi! I have a Windows Form with a Inputpanel on it which I'm using to get the menubar with the SIP icon to appear. The problem is I also would like to run the program on a ordinary PC(not the emulator). Can I make a object only if the platform is pocket pc? Because right now the program throws an exception while trying to open the form with the Inputpanel. The Microsoft.WindowsCE namespace isn't av...
    Creating custom Dialog controls (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    How do I create a control that I can drop on a form at design time then have it visible in Dialog mode when the user needs it? I can't seem to get the right combination. Thanks. Mike
    Custom Context Menu - Problem (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I have developed a custom context menu inheriting it from Native window. Now i want it to add to the toolbox item and later after dragging anf dropping it it shd appear in the component tray. Any idea how can I add these supports? I have completd almost all the development and now do not want to agian develop it from scracth by inheriting it from Component? any suggestions?????
    Data Environment in VS.Net? (VIP replies)
    microsoft.public.vsnet.ide
    Hi folks, I wonder if there is something similar to Data Environment from VB6 available in VS.Net world? I'd like to have a way to organize all my SQL commands in one place and have the ability to design them in a visual SQL designer. Cheers, Oleg
    DataSet Collection From Componet Designer (VIP replies)
    microsoft.public.dotnet.languages.vb
    Using vs2003, vb.net, msde... I have Component Designer class that has many datasets in it. I would like a way to iterate through the DataSets in an instantiation of the Component Designer class, but don'see any collect available to do that. ' holds Dataset Dim DS As DataSet ' instantiat component designer class dim CD as new Component Designer Class ' will walk through all Data Sets in Component ...
    DataSet encapsulation (VIP replies)
    microsoft.public.dotnet.languages.csharp
    The data wizard (and Server Explorer) make a mess when generating code for connections, adapters, commands, etc. Are there any problems I should be aware of in cutting all of this generated code out of the form and encapsulating it in it's own DataSet derived class?
    Dataset,reference, parameters? (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello, Iam newbie, I want to ask some basic question. I come from Delphi world. In Delphi I have DataModule where i put down all coonnection, datasets and so...Is it posible and how can i do that in C#, I create new form and put on sql Connection, datadapters and create datasets, so how can i now use this datasets in other forms, i cannot find any examples on internet. also i donn't know how to ca...
    Difference in Dispose and Close (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Can anybody tell me the difference between Form.Dispose() and Form.Close() ?? It would also be helpful in terms of performance et al... TIA :)
    Display HTML in Application Window (VIP replies)
    microsoft.public.dotnet.languages.csharp
    I am pretty new at C#, so bare with me. I want to be able to read a local HTML file and display it in a browser window within my application. I also want to submit that page to my application and generate a "Post" to a web server and read the contents back and display back into the same browser window in my application. I have found the methods HttpWebRequest and HttpWebResponse that allows me to ...
    dll sample or walkthrough? (VIP replies)
    microsoft.public.dotnet.languages.vc
    Hi, I need to create a simple dll which will be used by MS Access and .ASP apps. What type of dll would be best and can anybody point me to a complete example which I can compile and run with Visual C .net? Thanks, Randy
    Empty collection (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am trying to create a component with custom collecion property named FormElements. It can be added to at design time via Collection Editor. But after the project is compiled the FormElements.Count is always 0. Can anyone suggest how to fix it? Imports system.ComponentModel Imports System.Windows.Forms Imports System.Drawing.Design Imports System.ComponentModel.Design ' COMPONENT CODE Public Clas...
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com