Click here to Skip to main content
15,917,320 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to pass Sql Query as a parameter in Silverlight Pin
mohammed irfan jeddah29-Mar-09 2:51
mohammed irfan jeddah29-Mar-09 2:51 
QuestionRe: How to pass Sql Query as a parameter in Silverlight Pin
Mark Salsbery30-Mar-09 6:07
Mark Salsbery30-Mar-09 6:07 
AnswerRe: How to pass Sql Query as a parameter in Silverlight Pin
Braulio Dez1-Apr-09 5:54
Braulio Dez1-Apr-09 5:54 
QuestionItemsPresenter ! Pin
Mohammad Dayyan29-Mar-09 2:26
Mohammad Dayyan29-Mar-09 2:26 
AnswerRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 4:14
ABitSmart29-Mar-09 4:14 
GeneralRe: ItemsPresenter ! Pin
Mohammad Dayyan29-Mar-09 4:21
Mohammad Dayyan29-Mar-09 4:21 
GeneralRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 4:26
ABitSmart29-Mar-09 4:26 
GeneralRe: ItemsPresenter ! Pin
Mohammad Dayyan29-Mar-09 4:54
Mohammad Dayyan29-Mar-09 4:54 
GeneralRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 5:07
ABitSmart29-Mar-09 5:07 
GeneralRe: ItemsPresenter ! Pin
Mohammad Dayyan29-Mar-09 5:11
Mohammad Dayyan29-Mar-09 5:11 
GeneralRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 5:13
ABitSmart29-Mar-09 5:13 
QuestionMinimizing a WPF window ? Pin
Mohammad Dayyan28-Mar-09 4:55
Mohammad Dayyan28-Mar-09 4:55 
AnswerRe: Minimizing a WPF window ? Pin
ABitSmart28-Mar-09 5:20
ABitSmart28-Mar-09 5:20 
GeneralRe: Minimizing a WPF window ? Pin
Mohammad Dayyan28-Mar-09 6:02
Mohammad Dayyan28-Mar-09 6:02 
GeneralRe: Minimizing a WPF window ? Pin
ABitSmart28-Mar-09 6:03
ABitSmart28-Mar-09 6:03 
QuestionWPF application with listview hangs and threads keep increasing Pin
Pankaj Chamria27-Mar-09 21:02
Pankaj Chamria27-Mar-09 21:02 
AnswerRe: WPF application with listview hangs and threads keep increasing Pin
ABitSmart28-Mar-09 1:13
ABitSmart28-Mar-09 1:13 
GeneralRe: WPF application with listview hangs and threads keep increasing Pin
Pankaj Chamria3-Apr-09 6:03
Pankaj Chamria3-Apr-09 6:03 
GeneralRe: WPF application with listview hangs and threads keep increasing Pin
ABitSmart3-Apr-09 6:31
ABitSmart3-Apr-09 6:31 
AnswerRe: WPF application with listview hangs and threads keep increasing Pin
BlitzPackage28-Mar-09 2:31
BlitzPackage28-Mar-09 2:31 
QuestionBest components or framework for real-time desktop application? Pin
SirajP27-Mar-09 12:11
SirajP27-Mar-09 12:11 
AnswerRe: Best components or framework for real-time desktop application? Pin
BlitzPackage27-Mar-09 16:40
BlitzPackage27-Mar-09 16:40 
QuestionWPF ResourceDictionary problem Pin
#realJSOP27-Mar-09 4:02
professional#realJSOP27-Mar-09 4:02 
I'm trying to force the aero appearance in a wpf form. My app.xaml file looks like this:

<Application x:Class="AnagramsWPF.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="Window1.xaml">
    <Application.Resources>
        <ResourceDictionary Source="/PresentationFramework.Aero;component/themes/aero.normalcolor.xaml" />
    </Application.Resources>
</Application>


When I run the app under the debugger, it runs fine, but if I run it without the debugger, it throws this exception:

'/PresentationFramework.Aero;component/themes/aero.normalcolor.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load file or assembly 'PresentationFramework.Aero, Culture=neutral' or one of its dependencies. The system cannot find the file specified. Error at object 'System.Windows.ResourceDictionary' in markup file 'AnagramsWPF;component/app.xaml' Line 6 Position 29.


I have no earthly clue how to fix it. Can anyone help?


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: WPF ResourceDictionary problem Pin
Pete O'Hanlon27-Mar-09 4:13
mvePete O'Hanlon27-Mar-09 4:13 
GeneralRe: WPF ResourceDictionary problem Pin
#realJSOP27-Mar-09 4:22
professional#realJSOP27-Mar-09 4:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.