<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Amar Galla&#039;s Weblog &#187; Miscellaneous</title>
	<atom:link href="http://amargalla.com/category/miscellaneous/feed" rel="self" type="application/rss+xml" />
	<link>http://amargalla.com</link>
	<description>Business, Life and SharePoint</description>
	<lastBuildDate>Tue, 06 Jul 2010 06:53:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Virtual PC Guest OS Performance</title>
		<link>http://amargalla.com/Blog/miscellaneous/31-virtual-pc-guest-os-performance</link>
		<comments>http://amargalla.com/Blog/miscellaneous/31-virtual-pc-guest-os-performance#comments</comments>
		<pubDate>Mon, 20 Feb 2006 17:50:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">/blog/archive/2006/02/20/virtual-pc-guest-os-performance.aspx</guid>
		<description><![CDATA[Matt Hester has a nice set of tips for optimising your Virtual PC’s to get the best performance out of the base system. Check them out. They are definitely worth a look.
Matt Hester&#8217;s WebLog : Virtual PC Guest OS Performance Tips Part 1 of 3 
]]></description>
			<content:encoded><![CDATA[<p><P>Matt Hester has a nice set of tips for optimising your Virtual PC’s to get the best performance out of the base system. Check them out. They are definitely worth a look.</P><br />
<P><A href="http://blogs.technet.com/matthewms/archive/2005/09/09/410546.aspx" target=_blank mce_href="http://blogs.technet.com/matthewms/archive/2005/09/09/410546.aspx">Matt Hester&#8217;s WebLog : Virtual PC Guest OS Performance Tips Part 1 of 3</A> </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/miscellaneous/31-virtual-pc-guest-os-performance/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Virtual Server] could not be started because there is not enough physical memory or system resources available</title>
		<link>http://amargalla.com/Blog/miscellaneous/26-virtual-server-could-not-be-started-because-there-is-not-enough-physical-memory-or-system-resources-available</link>
		<comments>http://amargalla.com/Blog/miscellaneous/26-virtual-server-could-not-be-started-because-there-is-not-enough-physical-memory-or-system-resources-available#comments</comments>
		<pubDate>Mon, 20 Feb 2006 17:40:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">/blog/archive/2006/02/20/virtual-server-could-not-be-started-because-there-is-not-enough-physical-memory-or-system-resources-available.aspx</guid>
		<description><![CDATA[I recently came across a very strange problem. Tried it with both Virtual PC and Virtual Server. It just refused to start a second VM saying that could not be started because there is not enough physical memory or system resources available. I had over 10GB disk space free, and over 1.4 GB ram free. [...]]]></description>
			<content:encoded><![CDATA[<p><P>I recently came across a very strange problem. Tried it with both Virtual PC and Virtual Server. It just refused to start a second VM saying that could not be started because there is not enough physical memory or system resources available. I had over 10GB disk space free, and over 1.4 GB ram free. So I was sure resources was not a problem.</P><br />
<P>After fiddling with it a bit, a quick net search did the trick. If you have InCD software installed ( comes with Nero ) then it somehow causes this problem. If you dont want to uninstall your Nero installation, just go to Control Panel -&gt; Administrative Tools -&gt; Services and stop the InCD Helper service and set it to manual start instead of automatic. This instantly solved my problem and all 3 Windows 2003 VM&#8217;s booted up perfectly.</P><br />
<P>Thanks to <A href="http://msmvps.com/anguslogan/archive/2004/11/24/20345.aspx" target=_blank mce_href="http://msmvps.com/anguslogan/archive/2004/11/24/20345.aspx">Angus Logan&#8217;s Blog</A> and <A href="http://blog.benday.com/archive/2005/02/21/161.aspx" target=_blank mce_href="http://blog.benday.com/archive/2005/02/21/161.aspx">Benjamin Day&#8217;s Blog</A> for the help. </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/miscellaneous/26-virtual-server-could-not-be-started-because-there-is-not-enough-physical-memory-or-system-resources-available/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>O/R Mapping</title>
		<link>http://amargalla.com/Blog/miscellaneous/12-o-r-mapping</link>
		<comments>http://amargalla.com/Blog/miscellaneous/12-o-r-mapping#comments</comments>
		<pubDate>Mon, 20 Feb 2006 15:34:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">/blog/archive/2006/02/20/o-r-mapping.aspx</guid>
		<description><![CDATA[While doing a research on O/R Mapping and what exactly it is, I came across an excellent post by Frans Bouma at http://weblogs.asp.net/fbouma/archive/2004/10/09/240225.aspx&#160;. A&#160;excellent piece and explained in a very practical way.
A must read for anyone who uses ADO and database access in the Microsoft world which unfortunately simply ignores&#160;these fantastic concepts to work with [...]]]></description>
			<content:encoded><![CDATA[<p><P>While doing a research on O/R Mapping and what exactly it is, I came across an excellent post by Frans Bouma at <A href="http://weblogs.asp.net/fbouma/archive/2004/10/09/240225.aspx" mce_href="http://weblogs.asp.net/fbouma/archive/2004/10/09/240225.aspx">http://weblogs.asp.net/fbouma/archive/2004/10/09/240225.aspx</A>&nbsp;. A&nbsp;excellent piece and explained in a very practical way.</P><br />
<P>A must read for anyone who uses ADO and database access in the Microsoft world which unfortunately simply ignores&nbsp;these fantastic concepts to work with data applications. Will definitely broaden up your view and give you a new perspective to your application design.</P><br />
<P>Posted at <A href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/19/29008.aspx" target=_blank mce_href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/19/29008.aspx">DotNetJunkies</A> on Tuesday, October 19, 2004 2:26 PM </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/miscellaneous/12-o-r-mapping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Word Automation</title>
		<link>http://amargalla.com/Blog/miscellaneous/11-configuring-word-automation</link>
		<comments>http://amargalla.com/Blog/miscellaneous/11-configuring-word-automation#comments</comments>
		<pubDate>Mon, 20 Feb 2006 15:32:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">/blog/archive/2006/02/20/configuring-word-automation.aspx</guid>
		<description><![CDATA[I found some of these links valuable in trying to configure the server to support word automation.
INFO: Considerations for Server-Side Automation of Officehttp://support.microsoft.com/kb/257757/EN-US/
How To Configure Office Applications to Run Under the Interactive User Accounthttp://support.microsoft.com/default.aspx?scid=kb;EN-US;288366
How to configure Office applications to run under a specific user accounthttp://support.microsoft.com/default.aspx?scid=kb;EN-US;288367
How to configure Office applications for automation from a COM+/MTS packagehttp://support.microsoft.com/default.aspx?scid=kb;EN-US;288368
Posted [...]]]></description>
			<content:encoded><![CDATA[<p><P>I found some of these links valuable in trying to configure the server to support word automation.</P><br />
<P>INFO: Considerations for Server-Side Automation of Office<BR><A class="" href="http://support.microsoft.com/kb/257757/EN-US/" target=_blank mce_href="http://support.microsoft.com/kb/257757/EN-US/">http://support.microsoft.com/kb/257757/EN-US/</A></P><br />
<P>How To Configure Office Applications to Run Under the Interactive User Account<BR><A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288366" target=_blank mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288366">http://support.microsoft.com/default.aspx?scid=kb;EN-US;288366</A></P><br />
<P>How to configure Office applications to run under a specific user account<BR><A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288367" target=_blank mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288367">http://support.microsoft.com/default.aspx?scid=kb;EN-US;288367</A></P><br />
<P>How to configure Office applications for automation from a COM+/MTS package<BR><A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288368" target=_blank mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;288368">http://support.microsoft.com/default.aspx?scid=kb;EN-US;288368</A></P><br />
<P>Posted at <A class="" href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/13/28411.aspx" target=_blank mce_href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/13/28411.aspx">DotNetJunkies</A> on Wednesday, October 13, 2004 4:41 PM </P></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/miscellaneous/11-configuring-word-automation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Word Automation Code</title>
		<link>http://amargalla.com/Blog/miscellaneous/10-word-automation-code</link>
		<comments>http://amargalla.com/Blog/miscellaneous/10-word-automation-code#comments</comments>
		<pubDate>Mon, 20 Feb 2006 15:30:00 +0000</pubDate>
		<dc:creator>Amar</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">/blog/archive/2006/02/20/word-automation-code.aspx</guid>
		<description><![CDATA[
Here is the sample code to get Word Automation working. Assuming that you have already added the reference to the Word dll&#8217;s to your project.Create a datasource file (*.odc) in Word by choosing Mail Merge option, and when it asks to select a data source, choose to create a new one and save the .odc [...]]]></description>
			<content:encoded><![CDATA[<p><FONT size=2><br />
<P>Here </FONT><FONT color=#0000ff size=2>is</FONT><FONT size=2> the sample code to get Word Automation working. Assuming that you have already added the reference to the Word dll</FONT><FONT color=#800000 size=2>&#8217;s to your project.</P></FONT><FONT size=2>Create a datasource file (*.odc) </FONT><FONT color=#0000ff size=2>in</FONT><FONT size=2> Word by choosing Mail Merge option, and when it asks to select a data source, choose to create a </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> one and save the .odc file to your web folder. Store the password </FONT><FONT color=#0000ff size=2>in</FONT><FONT size=2> the file and </FONT><FONT color=#0000ff size=2>do</FONT><FONT size=2> not select any specific table </FONT><FONT color=#0000ff size=2>in</FONT><FONT size=2> it. </FONT></FONT><FONT size=2><br />
<P>Word.Application wrdApp; <BR>Word._Document wrdDoc; </P></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> oMissing = System.Reflection.Missing.Value; <BR></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> oFalse = </FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>; <BR></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> oTrue = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>; </FONT></FONT><FONT size=2><br />
<P>Word.MailMerge wrdMailMerge; </P></FONT><FONT color=#008000 size=2><br />
<P>// Create an instance of Word <BR></FONT><FONT size=2>wrdApp = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> Word.Application(); <BR>wrdApp.Visible = </FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>; </P></FONT><FONT color=#008000 size=2>// Open the template document. <BR></FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2> TemplateFile = TemplateFilePath + selectedTemplate; <BR></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> oFile = Server.MapPath(TemplateFile); </FONT></FONT><FONT size=2>wrdDoc = wrdApp.Documents.Open(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFile, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oTrue, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing, </FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing); </FONT></FONT><FONT size=2><br />
<P>wrdDoc.Select(); <BR>wrdMailMerge = wrdDoc.MailMerge; </P></FONT><FONT color=#008000 size=2>// Create a MailMerge Data file. <BR></FONT><FONT color=#0000ff size=2>object</FONT><FONT size=2> oSql = </FONT><FONT color=#800000 size=2>&#8220;Select * from &#8220;</FONT><FONT size=2> + viewName + </FONT><FONT color=#800000 size=2>&#8221; where Account &lt;&gt; &#8216;NULL&#8217;&#8221;</FONT><FONT size=2>; <BR></FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2> ODCFile = Server.MapPath(System.Configuration.ConfigurationSettings.AppSettings[</FONT><FONT color=#800000 size=2>"ODCFile"</FONT><FONT size=2>]); </FONT></FONT><FONT size=2>wrdDoc.MailMerge.OpenDataSource(ODCFile,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFalse,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oSql,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFalse,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing); </FONT></FONT><FONT size=2><br />
<P>wrdMailMerge.SuppressBlankLines = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>; </P></FONT><FONT color=#008000 size=2><br />
<P>// Perform mail merge. <BR></FONT><FONT size=2>wrdMailMerge.Destination = Word.WdMailMergeDestination.wdSendToPrinter; <BR>wrdMailMerge.Execute(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFalse); </P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(wrdDoc != </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>) <BR>{ </FONT></FONT><FONT size=2><br />
<BLOCKQUOTE>wrdDoc.Saved = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>; <BR>wrdDoc.Close(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFalse,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing); </FONT></FONT><FONT size=2></BLOCKQUOTE><br />
<P>} </P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(wrdApp != </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>) <BR>{ </FONT></FONT><FONT size=2><br />
<BLOCKQUOTE>wrdApp.Quit(</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oFalse,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing,</FONT><FONT color=#0000ff size=2>ref</FONT><FONT size=2> oMissing); </FONT></FONT><FONT size=2></BLOCKQUOTE><br />
<P>} </P></FONT><FONT color=#008000 size=2>// Release References. <BR></FONT><FONT size=2>wrdMailMerge = </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>; <BR>wrdDoc = </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>; <BR>wrdApp = </FONT><FONT color=#0000ff size=2>null</FONT><FONT size=2>; </FONT></FONT><FONT size=2><br />
<P>Posted at <A class="" href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/13/28409.aspx" target=_blank mce_href="http://www.dotnetjunkies.com/WebLog/amar/archive/2004/10/13/28409.aspx">DotNetJunkies</A> on Wednesday, October 13, 2004 4:35 PM </P></FONT></p>
]]></content:encoded>
			<wfw:commentRss>http://amargalla.com/Blog/miscellaneous/10-word-automation-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
