Joshi,
What you are referring to is called Serialization. Do some searching of
Searilization and usercontrol and that should get you some information on
what you need. By default most of the code for your properties is
generated automatically but you can do custom serialization for your
control, look up the ShouldSerialize method.
Thanks! Robert Gruen
Microsoft, VB.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
#From: "Joshi" <mmjoshi@hathway.com>
#Subject: Windows Generated Code
#User-Agent: XanaNews/1.15.8.5
#MIME-Version: 1.0
#Content-Type: text/plain; charset=iso-8859-1
#Message-ID: <#3cfmeGGEHA.3908@TK2MSFTNGP12.phx.gbl>
#Newsgroups:
microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.frame
work.windowsforms.designtime
#Date: Thu, 01 Apr 2004 20:04:51 -0800
#NNTP-Posting-Host: 202.88.167.97
#Lines: 1
#Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP12.phx.gbl
#Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms.designtime:4459
microsoft.public.dotnet.framework.windowsforms:64877
#X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms.designtime
#
#Does anyone on the group know how to generate Windows Code for User
#Control. What I am suppose to do is to generate VB.NET Code for custom
#user control. Does anyone know how does the VB.NET is generated when a
#Controls are placed on the Form? Awaiting replies
#