Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I wanna design Image color picker web application.
I have got a code, which is in WPF Windows Application from following link

WPF Image Pixel Color Picker Element[^]

When I am designing the same code in WPF Browser Application, getting a runtime error as "xpcom.dll not found"

Please help me...

Thanks in Advance

Code is here.
HTML
<page x:class="WpfBrowserApplication1.Page1" xmlns:x="#unknown">
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:ctrls="clr-namespace:ColorPickerControls;assembly=ColorPickerControls"
	xmlns:local="clr-namespace:WpfBrowserApplication1"
    Title="Page1">
    
    
    <grid margin="10">
        <grid.rowdefinitions>
            <rowdefinition />
            <rowdefinition height="Auto" />
        </grid.rowdefinitions>

        <border borderbrush="Beige" borderthickness="5">
            <ctrls:imagecolorpicker x:name="image" source="smilik.jpg" xmlns:ctrls="#unknown" />
        </border>
        <border grid.row="1" height="30" width="50">
					HorizontalAlignment="Center"
					BorderBrush="Black" BorderThickness="1" Margin="5">
            <rectangle fill="{Binding ElementName=image, Path=SelectedColor,<br mode=" hold=" />					Converter={StaticResource colorToBrushConverter}}" />
        </border>
    </grid>
</page>
Posted
Updated 5-Sep-11 7:52am
v3
Comments
Sergey Alexandrovich Kryukov 5-Sep-11 13:45pm    
What is "WPF Web application"? :-)
--SA
djrocks0101 5-Sep-11 13:52pm    
Sorry . Its WPF Browser Application..

1 solution

If you're using Chrome as the browser what happens if you switch to IE. See: http://code.google.com/p/chromium/issues/detail?id=4051[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900