<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>WilsonDotNet Forums : C# Specific</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=rss&amp;id=22&amp;key=BD%2fy%2bbkPjooe%2fcgrWbC2WA%3d%3d</link><description>WilsonDotNet Forums : C# Specific</description><item><title>The 'Default' column is a keyword in C#</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2465&amp;key=O%2bOS%2fuNx7EdLwB3Ke7ZN1w%3d%3d&amp;post=7537</link><pubDate>Mon, 26 Mar 2007 19:34:16 GMT</pubDate><description>&lt;P&gt;Is the problem with the ORHelper or CodeSmith templates that are generating C# code, or with the ORMapper itself?&amp;nbsp; I can imagine that the ORHelper, and maybe even the CS templates, don't handle this situation, but I don't think the ORMapper would have an issue with this.&amp;nbsp; If it is the generated code, then you can either change the generated code to not be using the keyword (or put it in []), or you can change the database field to avoid the problem.&amp;nbsp; You can also change the code generation of the ORHelper or the CS templates without too much effort.&amp;nbsp; But if the problem is the ORMapper itself then please provide me with more details as I'm not sure how this would be a problem.&lt;/P&gt;
&lt;P&gt;Thanks, Paul Wilson&lt;/P&gt;</description></item><item><title>The 'Default' column is a keyword in C#</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2465&amp;key=O%2bOS%2fuNx7EdLwB3Ke7ZN1w%3d%3d&amp;post=7447</link><pubDate>Mon, 26 Mar 2007 19:30:15 GMT</pubDate><description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I'm trying out the ORM mapper on a small application. However I've come up my first obstacle and that is default (the column of one of my tables) is a keyword in C#. Is there a way around this? Does this I mean I need to change the column name in my table? &lt;/P&gt;
&lt;P&gt;Thanks guys&lt;/P&gt;</description></item><item><title>.Net Remoting</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2373&amp;key=MntR1naJDAsDEQQZOtGUoQ%3d%3d&amp;post=7259</link><pubDate>Tue, 31 Oct 2006 14:56:19 GMT</pubDate><description>Hi Hari:&lt;br&gt;&lt;br&gt;You have misunderstood.&amp;nbsp; A MarshalByRefObject is a reference to the actual object, not a new copy -- thus there is a lot of overhead and it only works with remoting.&amp;nbsp; I believe that you can of course configure the actual behavior depending on how you have remoting setup, but its been a while since I've thought about that.&lt;br&gt;&lt;br&gt;Thanks, Paul Wilson&lt;br&gt;</description></item><item><title>.Net Remoting</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2373&amp;key=MntR1naJDAsDEQQZOtGUoQ%3d%3d&amp;post=7231</link><pubDate>Tue, 31 Oct 2006 14:51:13 GMT</pubDate><description>&lt;P&gt;Hi Wilson,&lt;/P&gt;
&lt;P&gt;I understand whenever&amp;nbsp;we return a MarshalByRefObject from a server-side method,&amp;nbsp;we are actually creating an object which behaves like a CAO and should therefore be avoided. I am hosting a remote object on IIS "ObjectOne"(SAO, SingleCall). Call to a method "MethodOne"&amp;nbsp;of the remote object returns another MarshalByRef object "ObjectTwo". &lt;/P&gt;
&lt;P&gt;ObjectTwo.MethodTwo() ... works fine.&lt;/P&gt;
&lt;P&gt;Now I reset IIS. and it restarts successfully.&lt;/P&gt;
&lt;P&gt;Now only&amp;nbsp; ObjectTwo = ObjectOne.MethodOne() works fine but ObjectTwo.MethodTwo()&amp;nbsp;returns the following exception. Can you please let me know if there is a way to make the &lt;/P&gt;
&lt;P&gt;ObjectTwo.MethodTwo() work before calling ObjectTwo = ObjectOne.MethodOne() again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your time.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Hari&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;System.Runtime.Remoting.RemotingException: Requested Service not found&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Server stack trace: &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Exception rethrown at [0]: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MyTestRemObj.Order.GetPrice(String clientstr)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at GenFav.MyHtmlFavorites.CallRemoteMethod() in C:\MyPrograms\MyCSharp\GenFav\GenFav\MyHtmlFavorites.cs:line 171&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>serial ports</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2236&amp;key=2A1ecpDQzcS4n0hU9u17Aw%3d%3d&amp;post=6930</link><pubDate>Fri, 21 Jul 2006 00:48:39 GMT</pubDate><description>Hi Joe:&lt;br&gt;&lt;br&gt;I have no idea why they would refer you to my blog, other than that I have mentioned that .NET v2.0 now includes serial ports -- see the System.IO.Ports namespace.&amp;nbsp; And if you're using .NET v1.*, then you'll simply have to use a 3rd party library -- and there are several.&lt;br&gt;&lt;br&gt;Good luck, Paul Wilson&lt;br&gt;</description></item><item><title>serial ports</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=2236&amp;key=2A1ecpDQzcS4n0hU9u17Aw%3d%3d&amp;post=6926</link><pubDate>Fri, 21 Jul 2006 00:43:37 GMT</pubDate><description>&lt;P&gt;Dear Sir&lt;/P&gt;
&lt;P&gt;I am looking for information on how to initialize and use serial ports using c#.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I contacted Dietel.com and they refered me to your blogs.&amp;nbsp; I am new to C# and have not yet discovered all there is to know about adding classes.&amp;nbsp; Can you point me in the right direction for setting up the serial port and reading and writing to it?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Joe &lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:jlhold@bellsouth.net"&gt;jlhold@bellsouth.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=5109</link><pubDate>Wed, 26 Oct 2005 11:06:17 GMT</pubDate><description>Ignore my response then.  :)</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=5108</link><pubDate>Wed, 26 Oct 2005 11:05:14 GMT</pubDate><description>What is the exception message that you are getting in the first line (which sounds like it would be the cause of the second)?&lt;br /&gt;
&lt;br /&gt;
Are you using .NET v2 Beta 2, RC, or some other version?  Are you using the ORMapper v4.0, 4.1, or 4.2 .NET v2 binary?  Have you compiled it yourself (with any compilation constant changes), or are you using the pre-compiled binaries?  Those questions are important since v4.0 and 4.1 were compiled with Beta 2, while v4.2 was compiled with what is essentially the RTM (and should be RC compatible).  You need to compile v4.2 with the V2BETA2 compilation constant if you want to run it against Beta 2.&lt;br /&gt;
&lt;br /&gt;
If nothing else, I'll need more details and code -- the more the better so that I can reproduce it, or help you.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=5107</link><pubDate>Wed, 26 Oct 2005 10:59:15 GMT</pubDate><description>Guess I just needed some one to chat too!  I forgot to change my connectionstring connecting to wrong sql server!&lt;br /&gt;
&lt;br /&gt;
All fixed :)  Now I can use generic methods to return sets of entities! ..now on to the next hurdle.. :)&lt;br /&gt;
&lt;br /&gt;
Mark</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=5105</link><pubDate>Wed, 26 Oct 2005 10:55:55 GMT</pubDate><description>Disregard first error in previous post. I fixed the mapping issue.&lt;br /&gt;
&lt;br /&gt;
Still getting type initialization exception.&lt;br /&gt;
&lt;br /&gt;
Mark</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=5104</link><pubDate>Wed, 26 Oct 2005 10:31:19 GMT</pubDate><description>Hi Paul,&lt;br /&gt;
&lt;br /&gt;
I'm attempting to create a GenericDAL setup like this one for hibernate http://www.hibernate.org/328.html but using .net 2.0 and your mapper.&lt;br /&gt;
&lt;br /&gt;
I get everything to compile fine but get an error at runtime.  I think it's due to using an open contructed type.&lt;br /&gt;
&lt;br /&gt;
The piece of code:&lt;br /&gt;
  ObjectQuery&amp;lt;T&amp;gt; query = new ObjectQuery&amp;lt;T&amp;gt;(string.Empty, sortClause);&lt;br /&gt;
  return DataManager.ObjectSpace.GetObjectSet&amp;lt;T&amp;gt;(query);&lt;br /&gt;
&lt;br /&gt;
The first line causes Wilson.ORMapper.ORMapperException.  The second causes System.TypeInitializationException.&lt;br /&gt;
&lt;br /&gt;
What am I doing wrong?</description></item><item><title>Finding Difference two Dates </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1584&amp;key=X11tWsLQ2J5exA1hyYUfqg%3d%3d&amp;post=4921</link><pubDate>Fri, 14 Oct 2005 18:17:56 GMT</pubDate><description>Is there a question here ?&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Finding Difference two Dates </title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1584&amp;key=X11tWsLQ2J5exA1hyYUfqg%3d%3d&amp;post=4920</link><pubDate>Fri, 14 Oct 2005 13:59:25 GMT</pubDate><description>//taking one date&lt;br /&gt;
string oldDate= &amp;quot;15-08-1980 08:00:00&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
//parsing the  date&lt;br /&gt;
DateTime dt1 = DateTime.Parse(oldDate);&lt;br /&gt;
&lt;br /&gt;
//taking current date&lt;br /&gt;
DateTime dt2 = DateTime.Now;&lt;br /&gt;
				&lt;br /&gt;
TimeSpan diff1 = dt2.Subtract(dt1);&lt;br /&gt;
&lt;br /&gt;
DateTime finaldt = new DateTime(diff1.Ticks);&lt;br /&gt;
&lt;br /&gt;
//displaying the difference in year, hour, days&lt;br /&gt;
Console.WriteLine(finaldt.Year);&lt;br /&gt;
Console.WriteLine(finaldt.Hour);&lt;br /&gt;
Console.WriteLine(finaldt.Days);</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=4536</link><pubDate>Thu, 01 Sep 2005 10:21:42 GMT</pubDate><description>Thanks, that's just what I needed.</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=4526</link><pubDate>Wed, 31 Aug 2005 18:20:47 GMT</pubDate><description>Instead of:&lt;br /&gt;
&lt;br /&gt;
ObjectSet contacts = Manager.GetObjectSet(typeof(Contact), string.Empty);&lt;br /&gt;
Contact contact = contacts[0] as Contact;&lt;br /&gt;
Detail detail = contact.Details[0] as Detail;&lt;br /&gt;
&lt;br /&gt;
You can use:&lt;br /&gt;
&lt;br /&gt;
ObjectSet&amp;lt;Contact&amp;gt; contacts = Manager.GetObjectSet&amp;lt;Contact&amp;gt;(string.Empty);&lt;br /&gt;
Contact contact = contacts[0];&lt;br /&gt;
Detail detail = contact.Details[0];&lt;br /&gt;
&lt;br /&gt;
And that's really the type of difference that is consistent throughout -- you specify the generic type in both the object declaration and the usage, but you no longer have to use typeof() to specify types and you won't have to cast things.  If you need more then give me a little more idea of what you are looking for in particular.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Generics</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=1459&amp;key=qrnZT%2bRfTUQtsvZY0GAFjg%3d%3d&amp;post=4521</link><pubDate>Wed, 31 Aug 2005 16:09:17 GMT</pubDate><description>Can we get an example or two of using generics?</description></item><item><title>Strange &amp;quot;using&amp;quot; syntax</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=76&amp;key=tbmq7wka5IcvX9S8Y0eAkg%3d%3d&amp;post=2590</link><pubDate>Sun, 21 Nov 2004 14:14:22 GMT</pubDate><description>Hi TK:&lt;br /&gt;
&lt;br /&gt;
An object is &amp;quot;earmarked&amp;quot; for cleanup as soon as it leaves scope, but it is NOT disposed automatically -- at least not unless you use the using syntax.  Objects that hold critical resources, i.e. resources that need to be released as soon as possible, typically implement the IDisposable interface so that you can know that you should call the Dispose method when you are done with them.  If you do not do this then you are (1) waiting for the garbage collector to cleanup the object and you are (2) assuming that the object had a finalizer that will do the cleanup if its unmanaged resources.  Both of those things are very bad -- waiting for the garbage collector can take far too long when its a critical resource, even longer if the cleanup must occur in a finalizer, and some objects do NOT even implement the correct cleanup code in finalizers since they assume you will call Dispose.  What's an example?  Database connections, file handles, socket connections -- anything that is limited and typically not managed.  Garbage collection by itself only cleans up the memory associated with an object, leaving the other resources that need to be cleaned up to the implementer -- and even then if you wait for such cleanup in the finalizer than you can be waiting a long time due to the non-deterministic finalization process.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Strange &amp;quot;using&amp;quot; syntax</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=76&amp;key=tbmq7wka5IcvX9S8Y0eAkg%3d%3d&amp;post=2589</link><pubDate>Sat, 20 Nov 2004 22:44:27 GMT</pubDate><description>What is an example of when you would need that?  If you instantiate an object in a method, it gets disposed and earmarked for cleaup as soon as you leave scope.&lt;br /&gt;
&lt;br /&gt;
If you wanted to take an object of the heap, wouldn't...&lt;br /&gt;
&lt;br /&gt;
oMyObject = null;&lt;br /&gt;
&lt;br /&gt;
do the trick?&lt;br /&gt;
&lt;br /&gt;
Isn't&lt;br /&gt;
&lt;br /&gt;
 using (CreateDevice frm = new CreateDevice())&lt;br /&gt;
 {&lt;br /&gt;
&lt;br /&gt;
 } &lt;br /&gt;
&lt;br /&gt;
Just way way of defining a smaller than method scope, scope?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description></item><item><title>location of &amp;quot;new MyStruct()&amp;quot;</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=639&amp;key=rFpqXtDYWdbvrqc8JOSRfw%3d%3d&amp;post=2015</link><pubDate>Sun, 22 Aug 2004 06:18:58 GMT</pubDate><description>I'm not sure why you think there is silence on this basic issue -- its pretty explicitly stated in the docs (see http://msdn.microsoft.com/library/en-us/csref/html/vclrfnewoppg.asp) and very widely understood.  The statements &amp;quot;int i = 0;&amp;quot; and &amp;quot;int i = new int();&amp;quot; are equivalent -- they both create new instances of a value type on the stack -- and structs are value types.  Of course, where things get complicated is if your struct contains reference types -- then the struct itself is still on the stack, but the reference types it contains are still just pointers to locations on the heap.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson&lt;br /&gt;
</description></item><item><title>location of &amp;quot;new MyStruct()&amp;quot;</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=639&amp;key=rFpqXtDYWdbvrqc8JOSRfw%3d%3d&amp;post=2013</link><pubDate>Sun, 22 Aug 2004 01:19:28 GMT</pubDate><description>All the literature I've seen says structs are kept on the stack, yet utter silence prevails on what &amp;quot;location&amp;quot; is meant by this statement:&lt;br /&gt;
&lt;br /&gt;
MyStruct aStructInstance = new MyStruct();&lt;br /&gt;
&lt;br /&gt;
After this statement, is &amp;quot;aStructInstance&amp;quot; still on the stack?  Has it been boxed and now exists on the heap?&lt;br /&gt;
&lt;br /&gt;
Another way to have asked this question is this: does operator &amp;quot;new&amp;quot; ALWAYS fetch memory on the heap, or does it have other overloaded purposes?&lt;br /&gt;
&lt;br /&gt;
</description></item><item><title>ArrayList cast</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=634&amp;key=hNISI1D8Rhyi7NwfD5Uqtw%3d%3d&amp;post=2005</link><pubDate>Fri, 20 Aug 2004 13:53:11 GMT</pubDate><description>I think I found the problem.  The section of the method I had commented with &amp;quot;/*yadda yadda*/&amp;quot; contained a conversion of SqlDateTime to System.DateTime.&lt;br /&gt;
&lt;br /&gt;
The call stack dump that accompanied the error fingered that as the problem, but being tired (and thinking the call stack would not reveal any useful info in this case) I didn't bother to look beyond the prima facie pinpoint of the ArrayList code principally fingered in the error.  An important lesson was learned here.&lt;br /&gt;
&lt;br /&gt;
So now I'm off to find the cleanest way to transform a SqlDateTime into a System.DateTime.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Brent</description></item><item><title>ArrayList cast</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=634&amp;key=hNISI1D8Rhyi7NwfD5Uqtw%3d%3d&amp;post=1997</link><pubDate>Fri, 20 Aug 2004 03:41:25 GMT</pubDate><description>It works for me, so I'm not sure.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>ArrayList cast</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=634&amp;key=hNISI1D8Rhyi7NwfD5Uqtw%3d%3d&amp;post=1996</link><pubDate>Fri, 20 Aug 2004 00:33:23 GMT</pubDate><description>My ASP.NET application gives the error:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Specified cast is not valid.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It points to the ArrayList assignment below:&lt;br /&gt;
&lt;br /&gt;
//declarations&lt;br /&gt;
Attach Schedule;&lt;br /&gt;
ArrayList SchedList;&lt;br /&gt;
//execute&lt;br /&gt;
Schedule = new Attach();&lt;br /&gt;
SchedList = new ArrayList(Schedule.GetEvents()); &amp;lt;==HERE&lt;br /&gt;
&lt;br /&gt;
The function &amp;quot;Schedule.GetEvents()&amp;quot; is defined in class &amp;quot;Attach&amp;quot; as:&lt;br /&gt;
&lt;br /&gt;
public ArrayList GetEvents()&lt;br /&gt;
{ ArrayList fooArrayList = new ArrayList();&lt;br /&gt;
/*yadda yadda*/ &lt;br /&gt;
  return fooArrayList;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
I don't see what the problem is.  Suggestions?&lt;br /&gt;
</description></item><item><title>Windows Forms</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=241&amp;key=YtbR0qMjJDgYnBgywUycRA%3d%3d&amp;post=786</link><pubDate>Sun, 08 Feb 2004 21:52:46 GMT</pubDate><description>Thanks Mr.Paul</description></item><item><title>Windows Forms</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=241&amp;key=YtbR0qMjJDgYnBgywUycRA%3d%3d&amp;post=766</link><pubDate>Fri, 06 Feb 2004 03:57:58 GMT</pubDate><description>Hi Jagan:&lt;br /&gt;
&lt;br /&gt;
WinForms in .NET fully support true visual inheritance like you desire, unlike WebForms.  VS.NET even makes it easy by allowing you to pick new Form or derived Form, in which case you get a dialog to pick the base Form.  I don't have VS.NET in front of me right now for the exact wordings, but it should be easy to find.  There are also several articles and blog entries I've seen about visual inheritance, but I didn't keep up with them since it mostly just works, but a google search should turn them up.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Windows Forms</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=241&amp;key=YtbR0qMjJDgYnBgywUycRA%3d%3d&amp;post=763</link><pubDate>Thu, 05 Feb 2004 20:14:18 GMT</pubDate><description>&lt;br /&gt;
i have one common window form. I Want to inherit from that common window. Inherited window form, i need to place some new controls with inherited one. &lt;br /&gt;
&lt;br /&gt;
Please let me know the way of doing that inheritance.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regds,&lt;br /&gt;
Jagan</description></item><item><title>DLL equivalent</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=165&amp;key=dyBM%2fWqDR5HnLjOvwE%2f6pQ%3d%3d&amp;post=545</link><pubDate>Fri, 05 Dec 2003 03:43:09 GMT</pubDate><description>VS allows you to have multiple projects inside a single solution.  Each application corresponds to one dll (or assembly).  You typically have just one main GUI project (web or windows), with other projects being class libraries or control libraries.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>DLL equivalent</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=165&amp;key=dyBM%2fWqDR5HnLjOvwE%2f6pQ%3d%3d&amp;post=541</link><pubDate>Thu, 04 Dec 2003 21:51:30 GMT</pubDate><description>For a C++ project, it is possible to reference several DLLs that you are building in the same workspace.  If designed correctly (COM comes to mind), a single DLL could be altered, rebuilt and essentially copied over the old one and the executable system that uses that DLL would never know it.  When the main application is re-run, though it itself was not recompiled, it gains the newer functionality provided by the DLL that was rebuilt.&lt;br /&gt;
&lt;br /&gt;
What is the equivalent in C#?  In Visual Studio how do I divide my application into seperate, er, um, DLLs?  Perhaps the term nowadays is &amp;quot;assembly?&amp;quot;  Checking the project properties, the only obvious item to fiddle with is &amp;quot;output type&amp;quot; of which one selection is &amp;quot;class library.&amp;quot;  Is this what I'm looking for?</description></item><item><title>accessing form elements server-side</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=124&amp;key=4X0bUNCblDRmilv4SEFUrw%3d%3d&amp;post=390</link><pubDate>Thu, 11 Sep 2003 19:25:37 GMT</pubDate><description>Hi Sara:&lt;br /&gt;
&lt;br /&gt;
You are approaching the problem from the wrong end.  Don't try to validate what the user enters since there is not something wrong from their point of view.  Instead, deal with this in your data access layer.  A common solution is to use stored procedures and parameters, which nicely does away with the problem.  Another solution is to have a data access method that wraps this replacement that you use all of the time.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>accessing form elements server-side</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=124&amp;key=4X0bUNCblDRmilv4SEFUrw%3d%3d&amp;post=389</link><pubDate>Thu, 11 Sep 2003 19:20:22 GMT</pubDate><description>Hello,&lt;br /&gt;
&lt;br /&gt;
I have a user-registration form with numerous fields for input. I am using the asp.net validation controls to validate most of the fields. I haven't found one to suit the following purpose:&lt;br /&gt;
&lt;br /&gt;
I need to ensure that if the user enters in an apostrophe, that i can replace that with two aposrophes so it goes into the database okay. &lt;br /&gt;
&lt;br /&gt;
I have tried using a loop as such:&lt;br /&gt;
&lt;br /&gt;
for (int i=0; i &amp;lt; Request.Form.Count; i++)&lt;br /&gt;
{&lt;br /&gt;
    Request.Form.Get(i).ToString().Replace(&amp;quot;apostrophe&amp;quot;, &amp;quot;double apostrophe&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
This does not work for me. I am using the code-behind method to store my logic.&lt;br /&gt;
&lt;br /&gt;
I would like some way to access the current form, rather than the the one in the Request object. I am of course able to access the fields individually by name, but I have 40 controls and thought it would be cleaner to just write a&lt;br /&gt;
function that looped through them all. Then I can also allow for code re-use.&lt;br /&gt;
&lt;br /&gt;
I hope I am being clear in what I am looking for, I have spent too much time trying to figure it out. Now I need help!&lt;br /&gt;
&lt;br /&gt;
Thank you for your time,&lt;br /&gt;
&lt;br /&gt;
Sara</description></item><item><title>Strange &amp;quot;using&amp;quot; syntax</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=76&amp;key=tbmq7wka5IcvX9S8Y0eAkg%3d%3d&amp;post=237</link><pubDate>Sun, 06 Jul 2003 07:48:38 GMT</pubDate><description>MSDN states:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The using keyword has two major uses:&lt;br /&gt;
using Directive - Creates an alias for a namespace.&lt;br /&gt;
using Statement - Defines a scope at the end of which an object will be disposed.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You are probably familiar with the first use which is common at the beginning of nearly all C# classes.&lt;br /&gt;
&lt;br /&gt;
The case you are now seeing is the second use which is not at all related to the first usage you're familiar with.  Think of this use of &amp;quot;using&amp;quot; as a quick way to code a try/finally block where Dispose is called in finally.&lt;br /&gt;
&lt;br /&gt;
Thanks, Paul Wilson</description></item><item><title>Strange &amp;quot;using&amp;quot; syntax</title><link>http://www.microsoftarchitect.com/Forums/Default.aspx?part=42&amp;action=thread&amp;id=76&amp;key=tbmq7wka5IcvX9S8Y0eAkg%3d%3d&amp;post=234</link><pubDate>Sun, 29 Jun 2003 22:02:41 GMT</pubDate><description>I'm looking at some sample code that has this line:&lt;br /&gt;
&lt;br /&gt;
using (CreateDevice frm = new CreateDevice())&lt;br /&gt;
&lt;br /&gt;
...I know what &amp;quot;using&amp;quot; is for and what it does, but placing the assignment statement inside of it is strange to me.  Whats going on here?&lt;br /&gt;
&lt;br /&gt;
(yes, by the way, the sample from whence this snippet came does compile and run)</description></item></channel></rss>