blog community

Welcome to blog community Sign in | Join | Help
in Search

Erno de Weerd

About software development and training

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

remz said:

can't wait for the 4th one :)
thanks a lot
January 7, 2006 4:09 PM
 

Erno said:

The fourth one is already in the download! (Just didn't get round to writing a blog entry)
January 8, 2006 12:48 PM
 

TrackBack said:

January 18, 2006 11:32 PM
 

Christine said:

Hi,

I'm just getting started on this. I tried doing the second tutorial, but for some reason I can't get it to work. The application comes up, but it seems to be ignoring my static resource (no big, green "Hello"). Do you know what I could be doing wrong? I don't get any compile errors. Here is my source code:

Window1.xaml:

<Window x:Class="_2_Split.Window1"
xmlns="http://schemas.microsoft.com/winfx/avalon/2005"">http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"">http://schemas.microsoft.com/winfx/xaml/2005"
Title="_2_Split"
>

<Window.Resources>
<ResourceDictionary x:Name ="dic1" Source="\Dictionary1.xaml"/>
</Window.Resources>

<Grid>
<Grid VerticalAlignment="Center" HorizontalAlignment="Center" Width="200" Height="100">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>
<TextBlock Style="{StaticResource MyStyle}" Name="ValueLabel" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Column="0" Grid.Row="0">Hello</TextBlock>
</Grid>
</Grid>
</Window>

Dictionary1.xaml:

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/avalon/2005"">http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"">http://schemas.microsoft.com/winfx/xaml/2005"
>
<Style x:Key="MyStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Background" Value="Green" />
<Setter Property="Foreground" Value="White" />
<Setter Property="FontSize" Value="40"/>
</Style>
</ResourceDictionary>

Thanks,
Christine
January 20, 2006 1:14 AM
 

Christine said:

I got it to work once I set Dictionary1.xaml's properties to be BuildAction: Content, Copy to Output: Copy Always. I'm not familiar enough with the technology to understand why that is (I read it on another forum).
January 20, 2006 2:41 AM
 

Erno said:

Christine,
This is exactly why I provided the download :)

January 20, 2006 7:11 AM
 

Christine said:

Yes, but as someone new to xaml and relatively new to Visual Studio, it's sometimes hard to see the differences between my own project and the sample one.

I do appreciate you providing these tutorials, though.
January 20, 2006 7:01 PM
 

Erno said:

You are absolutely right. I took me some time too to get it right. I'll update the tutorials with my project settings and tips.
January 20, 2006 10:13 PM
 

Daa_Hunter said:

Hi I`m trying to open the solution but I get a dialog box: -

"This project includes a software encrypted key used for signing. Enter the password for the Key file to import the key file into the local crypto-store database for use"

What is this ?

What is the password ?

Cheers

Daa_Hunter
(never give up hunting !)
February 3, 2006 6:10 PM
 

Erno said:

Don't worry about this: just uncheck the Assembly signing of each project.

I sign all apps so I can run my apps from a network drive with full trust

In future I'll release the tutorials without signing.
February 4, 2006 10:56 AM
 

TrackBack said:

March 8, 2006 3:33 PM
 

TrackBack said:

March 8, 2006 3:34 PM
 

Novice said:

Your commands tutorial looks very interesting, but it's very hard to figure out the important points without a description of what you're doing and why. Are you planning to add some text about the app?
March 20, 2007 4:46 PM
 

Erno de Weerd said:

Yes, I have planned to do that. I will upgrade the tutorials to the release version at the same time (that won't take a lot of effort). Documenting them is a lot of work so don't expect them tomorrow, but within a month should be feasible...

March 20, 2007 4:51 PM
 

Erno de Weerd said:

I removed the tutorials link as the external site is no longer available. I am sorry. I will try to find a way to provide the tutorials later.

October 21, 2008 4:45 PM
 

Compare oxycontin to oxycodone. said:

Compare oxycontin to oxycodone. Oxycontin vs. oxycodone. Oxycodone oxycontin. Is oxycodone and oxycontin the same.

November 10, 2008 7:25 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems