<?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>Software Femme</title>
	<atom:link href="http://softwarefemme.com/wpswf/feed/" rel="self" type="application/rss+xml" />
	<link>http://softwarefemme.com/wpswf</link>
	<description>The Software Resume and Portfolio of Cindy Johnson</description>
	<lastBuildDate>Tue, 26 Apr 2011 13:03:03 +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>Visual Studio 2010 Express, WPF, and ClickOnce: IsFirstRun</title>
		<link>http://softwarefemme.com/wpswf/visual-studio-2010-express-wpf-and-clickonce-isfirstrun/</link>
		<comments>http://softwarefemme.com/wpswf/visual-studio-2010-express-wpf-and-clickonce-isfirstrun/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 13:02:46 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=164</guid>
		<description><![CDATA[I&#8217;m using Visual Studio 2010 Express and SQL Server Compact Edition 3.5 to develop a WPF/XAML application with an embedded database, and I use ClickOnce to deploy the application.
I&#8217;m deploying to a location on my C: drive, and I have the option for the application to check for upgrades turned off.
The deployment variable, isFirstRun, is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using Visual Studio 2010 Express and SQL Server Compact Edition 3.5 to develop a WPF/XAML application with an embedded database, and I use ClickOnce to deploy the application.</p>
<p>I&#8217;m deploying to a location on my C: drive, and I have the option for the application to check for upgrades turned off.</p>
<p>The deployment variable, isFirstRun, is always false for me, when it should &#8212; apparently &#8212; be true.<span id="more-164"></span></p>
<p>My steps</p>
<p>1. Add the following code:</p>
<div class="codesnip-container" >if (ApplicationDeployment.IsNetworkDeployed)<br />
{<br />
&nbsp; if (ApplicationDeployment.CurrentDeployment.IsFirstRun)<br />
&nbsp; {<br />
&nbsp; MessageBox.Show(&#8220;IsFirstRun&#8221;);<br />
&nbsp; }</div>
<p>2. Build and publish the application via ClickOne</p>
<p>3. Run the application</p>
<p>4. See the install of the newer version of the application</p>
<p>5. Never see the Message Box.</p>
<p>Now, it&#8217;s my understanding of isFirstRun is that it should be true the first time a new version of the app is run/installed.  I&#8217;m not seeing it.</p>
<p>I&#8217;ve posted this online on a <a href="http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/dbe0852e-6431-44bd-8ca3-809e19599871/">Microsoft forum</a>, but, so far, no answers.</p>
<div id="attachment_165" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/CodeAndSolution.png"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/CodeAndSolution-300x179.png" alt="" title="Code and Solution" width="300" height="179" class="size-medium wp-image-165" /></a><p class="wp-caption-text">Code and Solutionb</p></div>
<div id="attachment_166" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/IncludedFiles.png"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/IncludedFiles-300x104.png" alt="" title="Included Files" width="300" height="104" class="size-medium wp-image-166" /></a><p class="wp-caption-text">Included Files</p></div>
<div id="attachment_167" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/PublishTab.png"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/PublishTab-300x179.png" alt="" title="Publish Tab" width="300" height="179" class="size-medium wp-image-167" /></a><p class="wp-caption-text">Publish Tab</p></div>
<div id="attachment_168" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/Explorer.png"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2011/04/Explorer-300x179.png" alt="" title="Explorer View" width="300" height="179" class="size-medium wp-image-168" /></a><p class="wp-caption-text">Explorer View</p></div>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/visual-studio-2010-express-wpf-and-clickonce-isfirstrun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grid Filtering in WPF and XAML: Combobox and Grid (Tutorial #1)</title>
		<link>http://softwarefemme.com/wpswf/grid-filtering-in-wpf-and-xaml-combobox-and-grid/</link>
		<comments>http://softwarefemme.com/wpswf/grid-filtering-in-wpf-and-xaml-combobox-and-grid/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 13:44:50 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WPF-XAML]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=124</guid>
		<description><![CDATA[
Wondering how to filter a bound WPF DataGrid or ListView/GridView by via a ComboBox?
It&#8217;s easy enough to bind data from a database table into either a DataGrid or GridView.  It&#8217;s actually easy to filter a grid of data by a combobox based on a lookup table as well &#8212; it&#8217;s just hard to find [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_138" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/12/combobox_datagrid2.gif"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/12/combobox_datagrid2-300x168.gif" alt="" title="combobox_datagrid2" width="300" height="168" class="size-medium wp-image-138" /></a><p class="wp-caption-text">ComboBox-Filtered DataGrid</p></div>
<p>Wondering how to filter a bound WPF DataGrid or ListView/GridView by via a ComboBox?</p>
<p>It&#8217;s easy enough to bind data from a database table into either a DataGrid or GridView.  It&#8217;s actually easy to filter a grid of data by a combobox based on a lookup table as well &#8212; it&#8217;s just hard to find examples! </p>
<p>What follows is a tutorial on how to filter via a combobox a table bound to a DataGrid or GridView inside a ListView.</p>
<p><span id="more-124"></span></p>
<h3>Requirements</h3>
<ol>
<li>Visual Studio 2010 C# Express</li>
<li>Northwind sample database, Compact Edition 3.5</li>
<li>Two data tables connected via a relation, such as the Northwind Categories table&#8217;s relation to the Products table</li>
</ol>
<h3>Setup</h3>
<ol>
<li>Create a new WPF application in Visual Studio 2010 C# Express</li>
<li>Add an &#8220;Existing Item&#8221; to the project, changing the browse window filter to data</li>
<li>Browse to &#8220;C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\Samples&#8221; or wherever the Northwind database can be found on your system</li>
<li>Select the &#8216;DataSet&#8217; database model and all tables</li>
</ol>
<div id="attachment_148" class="wp-caption alignright" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/12/combobox_listgrid.gif"><img src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/12/combobox_listgrid-300x169.gif" alt="" title="combobox_listgrid" width="300" height="169" class="size-medium wp-image-148" /></a><p class="wp-caption-text">ComboBox-Filtered List Grid</p></div>
<h3>Creating ComboBox and Grid</h3>
<ol>
<li>Open the Toolbox window and drag a combobox onto the XAML Designer</li>
<li>Open the Data Sources window and drag the Categories node to the XAML Designer and drop it into the ComboBox</li>
<li>	Open the Products node under the Categories node in the Data Sources window and set all its children to &#8220;None&#8221; instead of a control, except for Product ID, Supplier ID, Category ID, Product Name, and Unit Price</li>
<li>Drag the Products node (make sure it&#8217;s set to a DataGrid or a List, depending on what grid you want) under the Categories node in the Data Sources window and drop it onto the XAML Designer under the ComboBox</li>
<li>Optionally, add elements to the XAML Designer, like a label for the ComboBox</li>
<li>Optionally, style the grid</li>
</ol>
<h4>ComboBox and DataGrid XAML</h4>
<pre>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;Window</span> <span class="re0">x:Class</span>=<span class="st0">&quot;WPF_XAML_Grid_Filtering.ComboboxFilterDatagrid&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">xmlns</span>=<span class="st0">&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">xmlns:x</span>=<span class="st0">&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">Title</span>=<span class="st0">&quot;ComboboxFilterDatagrid&quot;</span> <span class="re0">Height</span>=<span class="st0">&quot;300&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;534&quot;</span> <span class="re0">xmlns:my</span>=<span class="st0">&quot;clr-namespace:WPF_XAML_Grid_Filtering&quot;</span> <span class="re0">Loaded</span>=<span class="st0">&quot;Window_Loaded&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Window.Resources<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;my:NorthwindDataSet</span> <span class="re0">x:Key</span>=<span class="st0">&quot;northwindDataSet&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;CollectionViewSource</span> <span class="re0">x:Key</span>=<span class="st0">&quot;categoriesViewSource&quot;</span> <span class="re0">Source</span>=<span class="st0">&quot;{Binding Path=Categories, Source={StaticResource northwindDataSet}}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;CollectionViewSource</span> <span class="re0">x:Key</span>=<span class="st0">&quot;categoriesProductsViewSource&quot;</span> <span class="re0">Source</span>=<span class="st0">&quot;{Binding Path=Products_FK01, Source={StaticResource categoriesViewSource}}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/Window.Resources<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Grid</span> <span class="re0">DataContext</span>=<span class="st0">&quot;{StaticResource categoriesViewSource}&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Label</span> <span class="re0">Content</span>=<span class="st0">&quot;Category:&quot;</span> <span class="re0">Height</span>=<span class="st0">&quot;28&quot;</span> <span class="re0">HorizontalAlignment</span>=<span class="st0">&quot;Left&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;CategoryLabel&quot;</span> <span class="re0">VerticalAlignment</span>=<span class="st0">&quot;Top&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;77&quot;</span> <span class="re0">Margin</span>=<span class="st0">&quot;0,12,0,0&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;ComboBox</span> <span class="re0">Height</span>=<span class="st0">&quot;23&quot;</span> <span class="re0">HorizontalAlignment</span>=<span class="st0">&quot;Left&quot;</span> <span class="re0">Margin</span>=<span class="st0">&quot;83,12,0,0&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;comboBoxFilterGrid&quot;</span> <span class="re0">VerticalAlignment</span>=<span class="st0">&quot;Top&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;219&quot;</span> <span class="re0">DisplayMemberPath</span>=<span class="st0">&quot;Category Name&quot;</span> <span class="re0">ItemsSource</span>=<span class="st0">&quot;{Binding}&quot;</span> <span class="re0">SelectedValuePath</span>=<span class="st0">&quot;Category ID&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGrid</span> <span class="re0">AutoGenerateColumns</span>=<span class="st0">&quot;False&quot;</span> <span class="re0">EnableRowVirtualization</span>=<span class="st0">&quot;True&quot;</span> <span class="re0">ItemsSource</span>=<span class="st0">&quot;{Binding Source={StaticResource categoriesProductsViewSource}}&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;productsDataGrid&quot;</span> <span class="re0">RowDetailsVisibilityMode</span>=<span class="st0">&quot;VisibleWhenSelected&quot;</span> <span class="re0">Margin</span>=<span class="st0">&quot;0,59,0,0&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGrid.Columns<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGridTextColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;product_IDColumn&quot;</span> <span class="re0">Binding</span>=<span class="st0">&quot;{Binding Path=Product ID}&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Product ID&quot;</span> <span class="re0">IsReadOnly</span>=<span class="st0">&quot;True&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;Auto&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGridTextColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;supplier_IDColumn&quot;</span> <span class="re0">Binding</span>=<span class="st0">&quot;{Binding Path=Supplier ID}&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Supplier ID&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;Auto&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGridTextColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;category_IDColumn&quot;</span> <span class="re0">Binding</span>=<span class="st0">&quot;{Binding Path=Category ID}&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Category ID&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;Auto&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGridTextColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;product_NameColumn&quot;</span> <span class="re0">Binding</span>=<span class="st0">&quot;{Binding Path=Product Name}&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Product Name&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;Auto&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataGridTextColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;unit_PriceColumn&quot;</span> <span class="re0">Binding</span>=<span class="st0">&quot;{Binding Path=Unit Price}&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Unit Price&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;Auto&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataGrid.Columns<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataGrid<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/Grid<span class="re2">&gt;</span></span></span>
<span class="sc3"><span class="re1">&lt;/Window<span class="re2">&gt;</span></span></span></div>
</div>
</pre>
<p>No C# source needed.</p>
<h4>ComboBox and ListBox GridView XAML</h4>
<pre>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;"><span class="sc3"><span class="re1">&lt;Window</span> <span class="re0">x:Class</span>=<span class="st0">&quot;WPF_XAML_Grid_Filtering.ComboboxFilterListgrid&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">xmlns</span>=<span class="st0">&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">xmlns:x</span>=<span class="st0">&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span></span>
<span class="sc3"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="re0">Title</span>=<span class="st0">&quot;ComboboxFilterListgrid&quot;</span> <span class="re0">Height</span>=<span class="st0">&quot;300&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;532&quot;</span> <span class="re0">xmlns:my</span>=<span class="st0">&quot;clr-namespace:WPF_XAML_Grid_Filtering&quot;</span> <span class="re0">Loaded</span>=<span class="st0">&quot;Window_Loaded&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Window.Resources<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;my:NorthwindDataSet</span> <span class="re0">x:Key</span>=<span class="st0">&quot;northwindDataSet&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;CollectionViewSource</span> <span class="re0">x:Key</span>=<span class="st0">&quot;categoriesViewSource&quot;</span> <span class="re0">Source</span>=<span class="st0">&quot;{Binding Path=Categories, Source={StaticResource northwindDataSet}}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;CollectionViewSource</span> <span class="re0">x:Key</span>=<span class="st0">&quot;categoriesProductsViewSource&quot;</span> <span class="re0">Source</span>=<span class="st0">&quot;{Binding Path=Products_FK01, Source={StaticResource categoriesViewSource}}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/Window.Resources<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Grid</span> <span class="re0">DataContext</span>=<span class="st0">&quot;{StaticResource categoriesViewSource}&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Label</span> <span class="re0">Content</span>=<span class="st0">&quot;Category:&quot;</span> <span class="re0">Height</span>=<span class="st0">&quot;28&quot;</span> <span class="re0">HorizontalAlignment</span>=<span class="st0">&quot;Left&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;CategoryLabel&quot;</span> <span class="re0">VerticalAlignment</span>=<span class="st0">&quot;Top&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;77&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;ComboBox</span> <span class="re0">Height</span>=<span class="st0">&quot;23&quot;</span> <span class="re0">HorizontalAlignment</span>=<span class="st0">&quot;Left&quot;</span> <span class="re0">Margin</span>=<span class="st0">&quot;91,0,0,0&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;comboBox1&quot;</span> <span class="re0">VerticalAlignment</span>=<span class="st0">&quot;Top&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;182&quot;</span> <span class="re0">DisplayMemberPath</span>=<span class="st0">&quot;Category Name&quot;</span> <span class="re0">ItemsSource</span>=<span class="st0">&quot;{Binding}&quot;</span> <span class="re0">SelectedValuePath</span>=<span class="st0">&quot;Category ID&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;ListView</span> <span class="re0">ItemsSource</span>=<span class="st0">&quot;{Binding Source={StaticResource categoriesProductsViewSource}}&quot;</span> <span class="re0">Margin</span>=<span class="st0">&quot;0,34,0,0&quot;</span> <span class="re0">Name</span>=<span class="st0">&quot;productsListView&quot;</span> <span class="re0">SelectionMode</span>=<span class="st0">&quot;Single&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;ListView.ItemContainerStyle<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Style<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Setter</span> <span class="re0">Property</span>=<span class="st0">&quot;Control.HorizontalContentAlignment&quot;</span> <span class="re0">Value</span>=<span class="st0">&quot;Stretch&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;Setter</span> <span class="re0">Property</span>=<span class="st0">&quot;Control.VerticalContentAlignment&quot;</span> <span class="re0">Value</span>=<span class="st0">&quot;Stretch&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/Style<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/ListView.ItemContainerStyle<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;ListView.View<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridView<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;product_IDColumn&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Product ID&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;80&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;TextBox</span> <span class="re0">Margin</span>=<span class="st0">&quot;6,-1,-6,-1&quot;</span> <span class="re0">Text</span>=<span class="st0">&quot;{Binding Path=Product ID, Mode=OneWay}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;supplier_IDColumn&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Supplier ID&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;80&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;TextBox</span> <span class="re0">Margin</span>=<span class="st0">&quot;-6,-1&quot;</span> <span class="re0">Text</span>=<span class="st0">&quot;{Binding Path=Supplier ID, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;category_IDColumn&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Category ID&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;80&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;TextBox</span> <span class="re0">Margin</span>=<span class="st0">&quot;-6,-1&quot;</span> <span class="re0">Text</span>=<span class="st0">&quot;{Binding Path=Category ID, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;product_NameColumn&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Product Name&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;80&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;TextBox</span> <span class="re0">Margin</span>=<span class="st0">&quot;-6,-1&quot;</span> <span class="re0">Text</span>=<span class="st0">&quot;{Binding Path=Product Name, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn</span> <span class="re0">x:Name</span>=<span class="st0">&quot;unit_PriceColumn&quot;</span> <span class="re0">Header</span>=<span class="st0">&quot;Unit Price&quot;</span> <span class="re0">Width</span>=<span class="st0">&quot;80&quot;</span><span class="re2">&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;TextBox</span> <span class="re0">Margin</span>=<span class="st0">&quot;-6,-1&quot;</span> <span class="re0">Text</span>=<span class="st0">&quot;{Binding Path=Unit Price, Mode=TwoWay, ValidatesOnExceptions=true, NotifyOnValidationError=true}&quot;</span> <span class="re2">/&gt;</span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/DataTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn.CellTemplate<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridViewColumn<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/GridView<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/ListView.View<span class="re2">&gt;</span></span></span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/ListView<span class="re2">&gt;</span></span></span>

&nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/Grid<span class="re2">&gt;</span></span></span>
<span class="sc3"><span class="re1">&lt;/Window<span class="re2">&gt;</span></span></span></div>
</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/grid-filtering-in-wpf-and-xaml-combobox-and-grid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WPF and XAML Tutorials: An Introduction</title>
		<link>http://softwarefemme.com/wpswf/wpf-and-xaml-tutorials-an-introduction/</link>
		<comments>http://softwarefemme.com/wpswf/wpf-and-xaml-tutorials-an-introduction/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 15:04:50 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WPF-XAML]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=121</guid>
		<description><![CDATA[For these WPF-XAML tutorials, I'm using the Northwind database and CollectionViewSource as the source of data for the binding.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started learning Windows Presentation Foundation and XAML for some personal projects.  The learning curve is steep, and the decisions of what to do in XAML and what to do in code are complex.</p>
<p>As part of my learning curve, I&#8217;m making some simple tutorials on the basics of data binding with XAML and WPF.  For these tutorials, and for my own educational purposes, I do as much as I can within XAML.  I&#8217;m saving study of model-view philosophies for later.</p>
<p>For these WPF-XAML tutorials, I&#8217;m using the Northwind database and CollectionViewSource as the source of data for the binding.</p>
<p>I hope you find these tutorials useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/wpf-and-xaml-tutorials-an-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Related Entries: A b2evolution widget</title>
		<link>http://softwarefemme.com/wpswf/related-entries-a-b2evolution-widget/</link>
		<comments>http://softwarefemme.com/wpswf/related-entries-a-b2evolution-widget/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 01:50:12 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=77</guid>
		<description><![CDATA[Need a widget for b2evolution that lists other posts, links, podcasts, etc. related to the current post?
Use the Related Entries plugin as widget within a widgetized area such as your sidebar.
When a single post is displayed, the plugin will display other entries that share the same category with your post.  The plugin displays the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/related_entries_screenshot_1.png"><img class="alignright size-medium wp-image-78" style="margin-left: 7px; margin-right: 7px;" title="Related Entries Widget Screenshot" src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/related_entries_screenshot_1-235x300.png" alt="A screenshot of the Related Entries widget/plugin for b2evolution" width="212" height="270" /></a>Need a widget for b2evolution that lists other posts, links, podcasts, etc. related to the current post?</p>
<p>Use the Related Entries plugin as widget within a widgetized area such as your sidebar.</p>
<p>When a single post is displayed, the plugin will display other entries that share the same category with your post.  The plugin displays the related entries by type, so all related links are in one section, all related podcasts in another section.  If no related entries are found, nothing is displayed.</p>
<p><a title="Related Entries plugin for b2evolution" href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/related_entries.plugin.php_.zip">Download Related Entries 1.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/related-entries-a-b2evolution-widget/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Partial Linkblog: A b2evolution Widget for Showing Linkblog Entries by Category</title>
		<link>http://softwarefemme.com/wpswf/partial-linkblog-a-b2evolution-widget-for-showing-linkblog-entries-by-category/</link>
		<comments>http://softwarefemme.com/wpswf/partial-linkblog-a-b2evolution-widget-for-showing-linkblog-entries-by-category/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 04:21:03 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=37</guid>
		<description><![CDATA[Partial Linkblog is a simple widget to add to your b2evolution theme.
If you have a linkblog in your sidebar, you can add this widget to control what categories appear where in the sidebar.  For instance, you can show the category name and link list for categories 4, 5, and 6 with one instance of [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_40" class="wp-caption alignleft" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog_settings.jpg"><img class="size-medium wp-image-40" title="Partial Linkblog Settings" src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog_settings-300x148.jpg" alt="" width="300" height="148" /></a><p class="wp-caption-text">Partial Linkblog Settings</p></div>
<p><a href='http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog.zip'>Partial Linkblog</a> is a simple widget to add to your b2evolution theme.</p>
<div id="attachment_38" class="wp-caption alignright" style="width: 106px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/screenshot.jpg"><img class="size-medium wp-image-38" title="Partial Linkblog screenshot" src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/screenshot-96x300.jpg" alt="b2evolution plugin Partial Linkblog screenshot" width="96" height="300" /></a><p class="wp-caption-text">Partial Linkblog screenshot</p></div>
<p>If you have a linkblog in your sidebar, you can add this widget to control what categories appear where in the sidebar.  For instance, you can show the category name and link list for categories 4, 5, and 6 with one instance of this widget, followed by a completely different widget, and then finish with another instance of this widget showing category three and its link and description.</p>
<p>Install simply by copying the one file into your b2evolution plugin folder.  Then visit your widget settings and add instances of the widget where you want them.</p>
<div id="attachment_41" class="wp-caption aligncenter" style="width: 310px"><a href="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog_sidebar_list.jpg"><img class="size-medium wp-image-41" title="Partial Linkblogs in the Back-End" src="http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog_sidebar_list-300x103.jpg" alt="" width="300" height="103" /></a><p class="wp-caption-text">Partial Linkblogs in the Back-End</p></div>
<p><a href='http://softwarefemme.com/wpswf/wp-content/uploads/2010/03/partial_linkblog.zip'>Partial Linkblog 1.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/partial-linkblog-a-b2evolution-widget-for-showing-linkblog-entries-by-category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parked Domain Names, Subdirectories, and Root Redirection</title>
		<link>http://softwarefemme.com/wpswf/parked-domain-names-subdirectories-and-root-redirection/</link>
		<comments>http://softwarefemme.com/wpswf/parked-domain-names-subdirectories-and-root-redirection/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 15:18:34 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[Web Tips]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=22</guid>
		<description><![CDATA[A problem developed recently.  Some time ago, I pointed my main domain and a parked domain to the same spot, my public_html directory.  Recently, I decided to move my domain to a subdirectory where new blogging software was installed.
I elected to use Apache&#8217;s mod_rewrite.  When you read in a multitude of sites [...]]]></description>
			<content:encoded><![CDATA[<p>A problem developed recently.  Some time ago, I pointed my main domain and a parked domain to the same spot, my public_html directory.  Recently, I decided to move my domain to a subdirectory where new blogging software was installed.</p>
<p>I elected to use Apache&#8217;s mod_rewrite.  When you read in a multitude of sites that mod_rewrite can be tricky, believe it!</p>
<p>So, to redirect my main domain, softwarefemme.com, to a subdirectory index.php, but yet keep the parked domain, www.thewildlifeporch.com, directed to the main index.php:</p>
<p>(make sure to replace my domains with yours!)</p>
<pre>
# FOR GENERAL REWRITING

Options +FollowSymlinks
Options -Indexes
RewriteEngine on

# REDIRECT SWF

RewriteCond %{HTTP_HOST} ^softwarefemme\.com$ [NC]
RewriteRule ^$ wpswf/index.php [L]

# REQUIRED FOR TWP CLEAN URLS

RewriteCond %{HTTP_HOST} thewildlifeporch\.com$ [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^  ./index.php
</pre>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/parked-domain-names-subdirectories-and-root-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://softwarefemme.com/wpswf/welcome/</link>
		<comments>http://softwarefemme.com/wpswf/welcome/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 06:20:15 +0000</pubDate>
		<dc:creator>Cindy Rae</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://softwarefemme.com/wpswf/?p=13</guid>
		<description><![CDATA[Welcome!  This website functions as a resume of sorts for my career as a software developer.
If you&#8217;re looking for a freelance software developer for your website or desktop application, please contact me for my availability.
I&#8217;ll be posting updates about some ongoing and future projects.  I&#8217;ll also be posting some of my problems and [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome!  This website functions as a resume of sorts for my career as a software developer.</p>
<p>If you&#8217;re looking for a freelance software developer for your website or desktop application, please contact me for my availability.</p>
<p>I&#8217;ll be posting updates about some ongoing and future projects.  I&#8217;ll also be posting some of my problems and solutions in hopes they help other developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://softwarefemme.com/wpswf/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

