Visual Studio 2010 Express, WPF, and ClickOnce: IsFirstRun

I’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’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 always false for me, when it should — apparently — be true.

Grid Filtering in WPF and XAML: Combobox and Grid (Tutorial #1)

ComboBox-Filtered DataGrid

Wondering how to filter a bound WPF DataGrid or ListView/GridView by via a ComboBox?

It’s easy enough to bind data from a database table into either a DataGrid or GridView. It’s actually easy to filter a grid of data by a combobox based on a lookup table as well — it’s just hard to find examples!

What follows is a tutorial on how to filter via a combobox a table bound to a DataGrid or GridView inside a ListView.

WPF and XAML Tutorials: An Introduction

I’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.

As part of my learning curve, I’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’m saving study of model-view philosophies for later.

For these WPF-XAML tutorials, I’m using the Northwind database and CollectionViewSource as the source of data for the binding.

I hope you find these tutorials useful.

Related Entries: A b2evolution widget

A screenshot of the Related Entries widget/plugin for b2evolutionNeed 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 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.

Download Related Entries 1.0

Partial Linkblog: A b2evolution Widget for Showing Linkblog Entries by Category

Partial Linkblog Settings

Partial Linkblog is a simple widget to add to your b2evolution theme.

b2evolution plugin Partial Linkblog screenshot

Partial Linkblog screenshot

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.

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.

Partial Linkblogs in the Back-End

Partial Linkblog 1.0

Parked Domain Names, Subdirectories, and Root Redirection

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’s mod_rewrite. When you read in a multitude of sites that mod_rewrite can be tricky, believe it!

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:

(make sure to replace my domains with yours!)

# 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

Welcome

Welcome! This website functions as a resume of sorts for my career as a software developer.

If you’re looking for a freelance software developer for your website or desktop application, please contact me for my availability.

I’ll be posting updates about some ongoing and future projects. I’ll also be posting some of my problems and solutions in hopes they help other developers.

AWSOM Powered