<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Bytes - answers</title>
		<link>http://bytes.com</link>
		<description>Microsoft . NET Framework - Get answers to questions about Windows Communication Foundation(WCF), Windows Workflow Foundation(WF), applications (web, server, smart clients, console and database) and more.</description>
		<language>en</language>
		<lastBuildDate>Fri, 20 Nov 2009 22:29:39 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://bytes.com/images/misc/rss.jpg</url>
			<title>Bytes - answers</title>
			<link>http://bytes.com</link>
		</image>
		<item>
			<title>AseCommand Object Doubt</title>
			<link>http://bytes.com/topic/net/answers/877309-asecommand-object-doubt</link>
			<pubDate>Thu, 19 Nov 2009 14:07:24 GMT</pubDate>
			<description>Hi, 
 
Will repeatative call to AseCommand.ExecuteReader() result into the repeatative trip to the database server ? 
 
Please help me to clarify...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
Will repeatative call to AseCommand.ExecuteReader() result into the repeatative trip to the database server ?<br />
<br />
Please help me to clarify this doubt.<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>madankarmukta</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877309-asecommand-object-doubt</guid>
		</item>
		<item>
			<title>How do I use Visual Studio 2008 to show the result of a  C function in a website</title>
			<link>http://bytes.com/topic/net/answers/877302-how-do-i-use-visual-studio-2008-show-result-c-function-website</link>
			<pubDate>Thu, 19 Nov 2009 12:24:38 GMT</pubDate>
			<description><![CDATA[Please give me step by step instruction 
 
I guess that I start by  
file->new website but the problem is that I have no option to choose C++(only...]]></description>
			<content:encoded><![CDATA[<div>Please give me step by step instruction<br />
<br />
I guess that I start by <br />
file-&gt;new website but the problem is that I have no option to choose C++(only visual basic and C#)<br />
<br />
Uri</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>urib</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877302-how-do-i-use-visual-studio-2008-show-result-c-function-website</guid>
		</item>
		<item>
			<title>Moving cross tab on Crystal reports dynamically</title>
			<link>http://bytes.com/topic/net/answers/877299-moving-cross-tab-crystal-reports-dynamically</link>
			<pubDate>Thu, 19 Nov 2009 11:23:34 GMT</pubDate>
			<description><![CDATA[Hello World! 
 
I have to move the 2nd crostab at the end of my 1st cross tab, is this possible? I'm really stuck I really have no idea on how to do...]]></description>
			<content:encoded><![CDATA[<div>Hello World!<br />
<br />
I have to move the 2nd crostab at the end of my 1st cross tab, is this possible? I'm really stuck I really have no idea on how to do it. Both crosstabs are different tables.<br />
<br />
<br />
<br />
Rey</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>lotus18</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877299-moving-cross-tab-crystal-reports-dynamically</guid>
		</item>
		<item>
			<title>How to download emails from exchange server using C#.net</title>
			<link>http://bytes.com/topic/net/answers/877293-how-download-emails-exchange-server-using-c-net</link>
			<pubDate>Thu, 19 Nov 2009 07:11:32 GMT</pubDate>
			<description>How to download emails from exchange server using C#.net?</description>
			<content:encoded><![CDATA[<div>How to download emails from exchange server using C#.net?</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>santhosh309</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877293-how-download-emails-exchange-server-using-c-net</guid>
		</item>
		<item>
			<title>Migrating from VS 6.0 to VS 2008 gives error</title>
			<link>http://bytes.com/topic/net/answers/877241-migrating-vs-6-0-vs-2008-gives-error</link>
			<pubDate>Wed, 18 Nov 2009 13:23:01 GMT</pubDate>
			<description>Hi, 
   I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors  when compiled in VS 2008, 
---...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
   I am migrating code from VS 6.0 to VS2008. The Code compiles in VS 6.0 but gives the following errors  when compiled in VS 2008,<br />
---<br />
\Program Files\VC\atlmfc\include\afxcmn.inl(376) : error C2065: 'TVM_GETLINECOLOR' : undeclared identifier<br />
E:\Program Files\VC\atlmfc\include\afxcmn.inl(378) : error C2065: 'TVM_SETLINECOLOR' : undeclared identifier<br />
E:\Program Files\VC\atlmfc\include\afxcmn.inl(394) : error C2065: 'TVIF_STATEEX' : undeclared identifier<br />
E:\Program Files\VC\atlmfc\include\afxcmn.inl(396) : error C2065: 'TVIF_EXPANDEDIMAGE' : undeclared identifier<br />
E:\Program Files\VC\atlmfc\include\afxcmn.inl(396) : error C2065: 'TVIF_EXPANDEDIMAGE' : undeclared identifier<br />
E:\Program Files\VC\atlmfc\include\afxcmn2.inl(39) : error C2065: 'UDM_GETPOS32' : undeclared identifier<br />
<br />
---<br />
<br />
How can i resolve these errors , please suggest.<br />
Thanks in advance.<br />
<br />
Vikrant</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>VikrantS</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877241-migrating-vs-6-0-vs-2008-gives-error</guid>
		</item>
		<item>
			<title>When added links in the page using Dotnetnuke,the page title is followed by  # symbol</title>
			<link>http://bytes.com/topic/net/answers/877231-when-added-links-page-using-dotnetnuke-page-title-followed-symbol</link>
			<pubDate>Wed, 18 Nov 2009 10:26:22 GMT</pubDate>
			<description><![CDATA[for example, 
When a link is been provided to the word, 
<a href="http://abcd.com./OfficeInfo/*abcd*/tabid/88/Default.aspx#map1">map</a>, and once...]]></description>
			<content:encoded><![CDATA[<div>for example,<br />
When a link is been provided to the word,<br />
&lt;a href=&quot;http://abcd.com./OfficeInfo/<b>abcd</b>/tabid/88/Default.aspx#map1&quot;&gt;map&lt;/a&gt;, and once map is clicked,it opens <b>abcd</b> page but the page title , abcd | xyz | xyz#map1,where the page title,the referencer#map1 should not come.<br />
note<br />
1.:#map1 is redirected to the map in that particular page directly.<br />
2.Added this content using html tags in the dotnetnuke .<br />
3.browser impact only on :IE's.,firefox it is working..,without the &quot;#&quot; symbol.<br />
<br />
I am really thankful,if anybody could help me on this.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>bharathiv</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877231-when-added-links-page-using-dotnetnuke-page-title-followed-symbol</guid>
		</item>
		<item>
			<title>Tearing out my hair on code behind update to MySQL</title>
			<link>http://bytes.com/topic/net/answers/877205-tearing-out-my-hair-code-behind-update-mysql</link>
			<pubDate>Tue, 17 Nov 2009 20:56:12 GMT</pubDate>
			<description>Ok everyone, when I do this update clause using code behind it gives me a stupid error that says:  
 
Line: 6 
Char: 62099 
Error:...</description>
			<content:encoded><![CDATA[<div>Ok everyone, when I do this update clause using code behind it gives me a stupid error that says: <br />
<br />
Line: 6<br />
Char: 62099<br />
Error: Sys.WebForms.PageRequestManagerServerErrorExceptio  n: Format of the initialization string does not conform to specification starting at index 0.<br />
Code: 0<br />
URL: <a href="http://localhost:1038/webapp/admin/assignuser.aspx" target="_blank">http://localhost:1038/webapp/admin/assignuser.aspx</a><br />
<br />
Now, my code for the SQL code behind is:<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SqlConnection&nbsp;con&nbsp;=&nbsp;null;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SqlCommand&nbsp;cmd&nbsp;=&nbsp;null;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;con&nbsp;=&nbsp;new&nbsp;SqlConnection();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;con.ConnectionString&nbsp;=&nbsp;&quot;SqlDataSource4&quot;;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd&nbsp;=&nbsp;new&nbsp;SqlCommand();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.Connection&nbsp;=&nbsp;con;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.Parameters.AddWithValue(&quot;?aspnet_id&quot;,&nbsp;Session[&quot;aspnet_id&quot;]);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.Parameters.AddWithValue(&quot;?contact_id&quot;,&nbsp;Session[&quot;contact_id&quot;]);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.Parameters.AddWithValue(&quot;?device_id&quot;,&nbsp;Session[&quot;device_id&quot;]);</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;con.Open();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.CommandText&nbsp;=&nbsp;&quot;update&nbsp;egw_addressbook&nbsp;set&nbsp;aspnet_id&nbsp;=&nbsp;?aspnet_id&nbsp;where&nbsp;contact_id&nbsp;=&nbsp;?contact_id;&quot;;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.ExecuteNonQuery();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.CommandText&nbsp;=&nbsp;&quot;update&nbsp;ewise_device&nbsp;set&nbsp;aspnet_id&nbsp;=&nbsp;?aspnet_id&nbsp;where&nbsp;device_id&nbsp;=&nbsp;?device_id;&quot;;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmd.ExecuteNonQuery();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;catch&nbsp;(Exception)</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw;</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;finally</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(con.State.Equals(ConnectionState.Open))&nbsp;con.Close();</li>
<li class="codeLI">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</li>

	</ol>
</div>
</div>
<!-- /CODE -->


I am baffled, any idea what's wrong???</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>dbrewerton</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877205-tearing-out-my-hair-code-behind-update-mysql</guid>
		</item>
		<item>
			<title>.net backend editable database?</title>
			<link>http://bytes.com/topic/net/answers/877180-net-backend-editable-database</link>
			<pubDate>Tue, 17 Nov 2009 16:33:40 GMT</pubDate>
			<description><![CDATA[Hi everyone, 
i'm looking for a .net web app where a user can go to a backend control page and create, add, edit fields, etc. that will be posted to...]]></description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
i'm looking for a .net web app where a user can go to a backend control page and create, add, edit fields, etc. that will be posted to a database and then displayed on a front end page in a table.<br />
<br />
does anyone have any suggestions for some open source that can accomplish this?<br />
<br />
all suggestions are appreciated!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>jrod11</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877180-net-backend-editable-database</guid>
		</item>
		<item>
			<title>How to draw an infinitely scalable image that consists of pixels and text</title>
			<link>http://bytes.com/topic/net/answers/877154-how-draw-infinitely-scalable-image-consists-pixels-text</link>
			<pubDate>Tue, 17 Nov 2009 07:55:18 GMT</pubDate>
			<description>Hello, 
 
currently I am working on the following scenario: 
 
There is a device connected to my application. That device has a 256x256 pixel display...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
currently I am working on the following scenario:<br />
<br />
There is a device connected to my application. That device has a 256x256 pixel display showing graphics and text.<br />
<br />
Now for each pixel of that display I receive a flag whether the pixel is to be drawn or not.<br />
Furthermore to display text you can imagine the surface as divided in 21 columns and 16 rows. Now for each cell I get information whether some letter is to be displayed in that cell or not.<br />
<br />
By combining these two information I shall be able to draw the device display in any .NET application as if the user was directly watching the device itself.<br />
<br />
Now of course it is easy to restrict the application to a client size of 256x256 and just draw every pixel. Once I found a font and font size to fit 21 columns and 16 rows I am good.<br />
<br />
But that wont do it as the user wants to be able to scale the display infinitely(however I will force him to keep the aspect ratio).<br />
<br />
Now I am evaluating what approach might be the best.<br />
The easiest I can imagine is just draw that 256x256 image and then scale that bitmap using .NETs build in methods. But that might get pretty ugly.. especially for the text artefacts.<br />
<br />
I dont know if WPF offers some handy way to manage this?<br />
<br />
Thank you!<br />
<br />
Kevin</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>Kevinst</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877154-how-draw-infinitely-scalable-image-consists-pixels-text</guid>
		</item>
		<item>
			<title>java or .net</title>
			<link>http://bytes.com/topic/net/answers/877145-java-net</link>
			<pubDate>Tue, 17 Nov 2009 06:31:20 GMT</pubDate>
			<description>Hi to all friends, 
I am working on c,c++,vc++ for 1 year.Now i want to move from c++ to another technology like java/.net 
 
 
I learned both...</description>
			<content:encoded><![CDATA[<div>Hi to all friends,<br />
I am working on c,c++,vc++ for 1 year.Now i want to move from c++ to another technology like java/.net<br />
<br />
<br />
I learned both technology(java &amp; .net) during my CDAC 1 yr ago, &amp; I am good in core java but not so in j2ee while about .net I am good in asp.net but not so in c#/vb.<br />
And another scenario is that ,though I love Java...in india (i am in India Pune) for 1+ yr of exp there are lot opportunities in dotnet but for Java/J2ee opportunities are for 2+/3+ yr of exp...<br />
<br />
I am confused...<br />
Plz give your valuable suggation..</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>swapnilb1</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877145-java-net</guid>
		</item>
		<item>
			<title>printer credit management</title>
			<link>http://bytes.com/topic/net/answers/877129-printer-credit-management</link>
			<pubDate>Mon, 16 Nov 2009 21:35:46 GMT</pubDate>
			<description><![CDATA[I'm just getting to grips with the deeper functions of .net and now I'm faced with the project of creating something that manages printer credits. so...]]></description>
			<content:encoded><![CDATA[<div>I'm just getting to grips with the deeper functions of .net and now I'm faced with the project of creating something that manages printer credits. so when a user prints it detucts ect.. but am at a loss as where to start <br />
<br />
thanks in advance for any pointers<br />
<br />
Wolf.<br />
(vb.net lvl2)<br />
<br />
any attempt to make any something idiot proof will only challenge God to make a better idiot.</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>W0lf</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877129-printer-credit-management</guid>
		</item>
		<item>
			<title>serliazable attribute</title>
			<link>http://bytes.com/topic/net/answers/877081-serliazable-attribute</link>
			<pubDate>Mon, 16 Nov 2009 06:34:28 GMT</pubDate>
			<description><![CDATA[what is the difference between [serializable] and [serializable()]? 
Visual Studio intellisense tells me that the [serializable] attribute indicates...]]></description>
			<content:encoded><![CDATA[<div>what is the difference between [serializable] and [serializable()]?<br />
Visual Studio intellisense tells me that the [serializable] attribute indicates that a class can be serialized. I understand that.<br />
<br />
When I use the other attribute declaration - [serializable()],  intellisense tells me <br />
&quot;initializes a new instance of the System.SerializableAttribute class&quot;.<br />
Can someone explain to me why I would use this attribute as a constructor?<br />
<br />
Thanks!!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>captainB</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877081-serliazable-attribute</guid>
		</item>
		<item>
			<title>Determining 64bit or 32bit architecture</title>
			<link>http://bytes.com/topic/net/answers/877195-determining-64bit-32bit-architecture</link>
			<pubDate>Mon, 16 Nov 2009 04:57:38 GMT</pubDate>
			<description>Hi have been looking forever for how to get the bit version of current RUNNING OS in C#. There are lots of posts out there using the IntPtr.Size and...</description>
			<content:encoded><![CDATA[<div>Hi have been looking forever for how to get the bit version of current RUNNING OS in C#. There are lots of posts out there using the IntPtr.Size and Environment.GetEnvironmentVariable(&quot;PROCESSOR_ARCH  ITECTURE&quot;) but these return what your software is running in (compiled to if other than AnyCPU) regardless of what the OS is running.<br />
<br />
I knew I would find it in the win32 but could not figure out where.<br />
<br />
Thanks for pointing to the date which allowed me to find the OSArchitecture.<br />
<br />
Yep! I'm happy!<br />
<br />
Cheers!</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>nobodyreally</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877195-determining-64bit-32bit-architecture</guid>
		</item>
		<item>
			<title>Uplod and  view  ms  office  documents in .net website</title>
			<link>http://bytes.com/topic/net/answers/877072-uplod-view-ms-office-documents-net-website</link>
			<pubDate>Mon, 16 Nov 2009 01:53:41 GMT</pubDate>
			<description>HI 
I  Have  a  website in .NET i  which  is  document sharing  website i wan ot know  if there are any free components or  tool  through which  we...</description>
			<content:encoded><![CDATA[<div>HI<br />
I  Have  a  website in .NET i  which  is  document sharing  website i wan ot know  if there are any free components or  tool  through which  we can  uplode word,excel,ppt and  othere format file to web and  view it  online on  web like  ms office live <br />
<br />
Please let us know<br />
<br />
Thank you &amp;Regards<br />
Ram mohan</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>Path4web</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877072-uplod-view-ms-office-documents-net-website</guid>
		</item>
		<item>
			<title>Regex syntax</title>
			<link>http://bytes.com/topic/net/answers/877037-regex-syntax</link>
			<pubDate>Sat, 14 Nov 2009 22:02:53 GMT</pubDate>
			<description><![CDATA[I'm trying to remove the following from a string 
Any occurance of  
 
<br> </br> <br clear="all"> <br/> <br /> 
 
Here's my string 
 
<br></br><br...]]></description>
			<content:encoded><![CDATA[<div>I'm trying to remove the following from a string<br />
Any occurance of <br />
<br />
&lt;br&gt; &lt;/br&gt; &lt;br clear=&quot;all&quot;&gt; &lt;br/&gt; &lt;br /&gt;<br />
<br />
Here's my string<br />
<br />
&lt;br&gt;&lt;/br&gt;&lt;br clear=&quot;all&quot;&gt;Hello bright girl&lt;br/&gt;&lt;br /&gt;&lt;/br&gt;<br />
<br />
I am trying the .net regex like this<br />
<br />
<!-- CODE -->
<div id="codeHolder" class="codeHolder" style="width: 500px;">
<div class="codeHeader">
	<span class="codeLink" onclick="Blur(this, this.parentNode.parentNode, getChildren(this),true);">Expand</span><span class="codeDivider">|</span><span class="codeLink" onclick="selectAll(this);">Select</span><span class="codeDivider">|</span><span class="codeLink" onclick="WordWrap(this);">Wrap</span><span class="codeDivider">|</span><span class="codeLink" onclick="LineNumbers(this);">Line Numbers</span>
</div>

<div class="codeContent" style="display: block; width: 500px; white-space: nowrap;">
	<ol START="1" highlight="true">

<li class="codeLI">sLine&nbsp;=&nbsp;System.Text.RegularExpressions.Regex.Replace(sLine,&nbsp;&quot;&lt;\/?br.*&gt;&quot;,&nbsp;String.Empty,&nbsp;RegularExpressions.RegexOptions.IgnoreCase)</li>

	</ol>
</div>
</div>
<!-- /CODE -->


and it just doesn't work the way I think it should!   I wind up with the following string:  <b>&lt;b&gt;&lt;h1&gt;</b><br />
and that's it!<br />
What is wrong with my syntax?<br />
<br />
Here's my thinking<br />
&lt; is the literal<br />
\/? escapes the / so I am looking for 0 or 1 / (forward slash)<br />
br is a literal string because I'm looking for &quot;br&quot;<br />
.*  I am looking for 0 to many of any character<br />
&gt; the closing literal<br />
<br />
I've tried all kinds of combinations - and get close...<br />
<br />
The following pattern works pretty well:  &quot;&lt;\/?br\W*&gt;&quot;<br />
<br />
I get the following string:<br />
<b>&lt;b&gt;&lt;h1&gt;&lt;br clear=&quot;all&quot;&gt;Hello bright girl&lt;/h1&gt;&lt;/b&gt;</b><br />
<br />
For some reason, however, it misses the &lt;br clear=&quot;all&quot;&gt;</div>

]]></content:encoded>
			<category domain="http://bytes.com/topic/net/answers/">answers</category>
			<dc:creator>!NoItAll</dc:creator>
			<guid isPermaLink="true">http://bytes.com/topic/net/answers/877037-regex-syntax</guid>
		</item>
	</channel>
</rss>
