<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>General</title><link>http://radcom.ir/weblog/amir/category/60.aspx</link><description>General</description><managingEditor>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;&amp;#1603;&amp;#1605;&amp;#1575;&amp;#1604;&amp;#1610;</managingEditor><dc:language>fa</dc:language><generator>SAMPA Weblogs</generator><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Set nowrap property in css</title><link>http://radcom.ir/weblog/amir/archive/2008/06/17/42512.aspx</link><pubDate>Tue, 17 Jun 2008 09:45:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2008/06/17/42512.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/42512.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2008/06/17/42512.aspx#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/42512.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/42512.aspx</trackback:ping><description>&lt;p dir=ltr&gt;
You change wrap property with white-space property in css.
&lt;br&gt;
normal : Default. White-space is ignored by the browser 
&lt;br&gt;
pre : White-space is preserved by the browser. Acts like the pre tag in HTML 
&lt;br&gt;
nowrap : The text will never wrap, it continues 
&lt;/p&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/42512.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>FLV files don't work</title><link>http://radcom.ir/weblog/amir/archive/2007/12/02/42158.aspx</link><pubDate>Sun, 02 Dec 2007 16:46:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/12/02/42158.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/42158.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/12/02/42158.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/42158.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/42158.aspx</trackback:ping><description>&lt;P dir=ltr&gt;If FLV files do not appear in the player and you get 404 error it means that you need to add a mime type for flv files.&lt;/P&gt;
&lt;P dir=ltr&gt;add MIME-Type for .FLV extentions with&amp;nbsp;the proper mime-type&amp;nbsp;"&lt;FONT color=#3366ff&gt;flv-application/octet-stream&lt;/FONT&gt;"&amp;nbsp;&lt;/P&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/42158.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Error Access to path denied when use File.Copy when file exists!</title><link>http://radcom.ir/weblog/amir/archive/2007/09/12/41965.aspx</link><pubDate>Wed, 12 Sep 2007 17:02:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/09/12/41965.aspx</guid><description>&lt;P dir=ltr&gt;I got this strange error when tried to&amp;nbsp;overwrite file. I had full control access but i got this error.&lt;/P&gt;
&lt;P dir=ltr&gt;The error occured when the file is read only! change the attribute of&amp;nbsp;existing file and you will be able to copy the file!&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41965.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Select a random row in Microsoft SQL Server</title><link>http://radcom.ir/weblog/amir/archive/2007/09/04/41936.aspx</link><pubDate>Tue, 04 Sep 2007 15:57:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/09/04/41936.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41936.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/09/04/41936.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41936.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41936.aspx</trackback:ping><description>&lt;P dir=ltr&gt;You can do this with adding just an order by newid()&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00" color=#000000&gt;SELECT TOP 1&amp;nbsp;* FROM TableName ORDER BY NEWID()&lt;/FONT&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00" color=#0000ff&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41936.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Recreate Show Desktop Shortcut</title><link>http://radcom.ir/weblog/amir/archive/2007/08/25/41902.aspx</link><pubDate>Sat, 25 Aug 2007 15:33:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/08/25/41902.aspx</guid><description>&lt;P dir=ltr&gt;Copy and paste the following lines into a Notepad file.&lt;/P&gt;
&lt;P dir=ltr&gt;[Shell]&lt;BR&gt;Command=2&lt;BR&gt;IconFile=explorer.exe,3&lt;BR&gt;[Taskbar]&lt;BR&gt;Command=ToggleDesktop&lt;/P&gt;
&lt;P dir=ltr&gt;Rename it to desktop.scf&lt;BR&gt;&lt;/P&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41902.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Valid Date Range for SQL Server DateTime </title><link>http://radcom.ir/weblog/amir/archive/2007/08/22/41894.aspx</link><pubDate>Wed, 22 Aug 2007 11:19:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/08/22/41894.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41894.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/08/22/41894.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41894.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41894.aspx</trackback:ping><description>&lt;P dir=ltr&gt;Values for datetime data types earlier than January 1, 1753 are not permitted in SQL Server. SQL Server rejects all values that do not fall within the range from 1753 to 9999. &lt;/P&gt;
&lt;P dir=ltr&gt;Another SQL Server data type, smalldatetime, stores dates and times of day with less precision than datetime datatype. Valid date range for this data type is from January 1, 1900 through June 6, 2079.&lt;BR&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&lt;A href="http://www.devx.com/tips/Tip/13898" target=_blank&gt;http://www.devx.com/tips/Tip/13898&lt;/A&gt;&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41894.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>You must remove all beta release versions of the 2007 Office suite or program from the computer before you install the original release version of a 2007 Office suite or program!</title><link>http://radcom.ir/weblog/amir/archive/2007/08/12/41857.aspx</link><pubDate>Sun, 12 Aug 2007 10:12:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/08/12/41857.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41857.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/08/12/41857.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41857.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41857.aspx</trackback:ping><description>&lt;P dir=ltr&gt;I got this error when installing office 2007:&lt;/P&gt;
&lt;P dir=ltr&gt;You must remove all beta release versions of the 2007 Office suite or program from the computer before you install the original release version of a 2007 Office suite or program.&lt;/P&gt;
&lt;P dir=ltr&gt;I see no office component in my add/ remove programs but i got this error!&lt;/P&gt;
&lt;P dir=ltr&gt;I tried the &lt;A href="http://www.nirsoft.net/utils/myuninst.html" target=_blank&gt;myuninstaller&lt;/A&gt;&amp;nbsp;and found something related to office. Uninstalled it and office installed successfully.&lt;/P&gt;
&lt;P dir=ltr&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41857.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Change FCKEditor Configuration in ASP.NET </title><link>http://radcom.ir/weblog/amir/archive/2007/06/27/41704.aspx</link><pubDate>Wed, 27 Jun 2007 11:20:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/06/27/41704.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41704.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/06/27/41704.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41704.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41704.aspx</trackback:ping><description>&lt;TABLE class="content FCK__ShowTableBorders" dir=ltr width="100%" border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Here is a sample for change FCKEditor Configuration :&lt;BR&gt;&lt;PRE&gt;myFCKEditor.Config[&lt;SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed"&gt;"EditorAreaCSS"&lt;/SPAN&gt;] &lt;SPAN style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;=&lt;/SPAN&gt; &lt;SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed"&gt;"/skins/default/"&lt;/SPAN&gt;;
&lt;/PRE&gt;&lt;/TD&gt;&lt;T tr&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41704.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>SQL Server - Check column exist in table </title><link>http://radcom.ir/weblog/amir/archive/2007/06/16/41646.aspx</link><pubDate>Sat, 16 Jun 2007 11:04:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/06/16/41646.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41646.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/06/16/41646.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41646.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41646.aspx</trackback:ping><description>&lt;TABLE class=" FCK__ShowTableBorders" dir=ltr cellSpacing=0 cellPadding=0 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;COALESCE&lt;/SPAN&gt;(COL_LENGTH('tableName','columnName') , 0)&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41646.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>&amp;#1575;&amp;#1605;&amp;#1610;&amp;#1585; &amp;#1605;&amp;#1610;&amp;#1585;</dc:creator><title>Find Index of nTh occurrence of string in DotNet</title><link>http://radcom.ir/weblog/amir/archive/2007/06/11/41618.aspx</link><pubDate>Mon, 11 Jun 2007 10:37:00 GMT</pubDate><guid>http://radcom.ir/weblog/amir/archive/2007/06/11/41618.aspx</guid><wfw:comment>http://radcom.ir/weblog/amir/comments/41618.aspx</wfw:comment><comments>http://radcom.ir/weblog/amir/archive/2007/06/11/41618.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://radcom.ir/weblog/amir/comments/commentRss/41618.aspx</wfw:commentRss><trackback:ping>http://radcom.ir/weblog/amir/services/trackbacks/41618.aspx</trackback:ping><description>&lt;TABLE class=" FCK__ShowTableBorders" dir=ltr cellSpacing=1 cellPadding=1 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;PRE&gt;&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;public&lt;/SPAN&gt; &lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;int&lt;/SPAN&gt; FindIndexOfnThOccurrence(&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;string&lt;/SPAN&gt; source, &lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;string&lt;/SPAN&gt; pattern, &lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;int&lt;/SPAN&gt; occurrence)
{
	&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;if&lt;/SPAN&gt; (occurrence &amp;lt; 1)
	{
		throw (&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;new&lt;/SPAN&gt; ArgumentException(&lt;SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed"&gt;"Cannot be less than 1"&lt;/SPAN&gt;, &lt;SPAN style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #ededed"&gt;"occurrence"&lt;/SPAN&gt;));
	}
	&lt;SPAN style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;// Make occurrence zero-based
&lt;/SPAN&gt;	--occurrence;
	&lt;SPAN style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;// Run the regex once on the source string
&lt;/SPAN&gt;	Regex RE &lt;SPAN style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;=&lt;/SPAN&gt; &lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;new&lt;/SPAN&gt; Regex(pattern, RegexOptions.Multiline);
	MatchCollection theMatches &lt;SPAN style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;=&lt;/SPAN&gt; RE.Matches(source);
	&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;if&lt;/SPAN&gt; (occurrence &amp;gt;= theMatches.Count)
	{
		&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;return&lt;/SPAN&gt; -1;
	}
	&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;else&lt;/SPAN&gt;
	{
		&lt;SPAN style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white"&gt;return&lt;/SPAN&gt; (theMatches[occurrence].Index);
	}
}
&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;img src ="http://radcom.ir/weblog/amir/aggbug/41618.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>