stroller

Hi :

I am learn WPF by reading Charles Petzold's book. I have install the windows sdk and the vs2005 in vista OS then I intall the Visual Studio 2005 Extensions for WF and Visual Studio 2005 Extensions for WCF, WPF .

When I have to include a jpg picture to the assembly by the URI like :

Uri uri = new Uri("pack://application:,,/filename");


the complier complain to me saying the jpg picture is not found;then I check the property of the picture. I find there are only "none content compile rebededresouce" so I can't set the bulid action to the resouce as the book said. Can anyone tell me what I have ignoe to get anther item----"resource, page "


PS I am using vs2005 of the chinese version




Re: Windows Presentation Foundation (WPF) a problem about the config of enviroment

WynApse

Hi Stroller...

You're working with WPF, and this is the Silverlight forum... formerly WPF/E. So.. while some of the folks here may have the knowledge to answer you, some may not.

I have not tried anything WPF yet, but I do know that my images have to be png format to use with Silverlight.. is that possibly your problem

Beyond that small piece of info, I'd suggest hitting the WPF group Smile

You can find them here:

http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=119&SiteID=1

Good luck!

-Dave






Re: Windows Presentation Foundation (WPF) a problem about the config of enviroment

stroller

dear Dave :

Thank you for your post ! I have try to add the png formate to my project but it is still the same problem . I can't understand what happend because I can use the new class and property Should I intall the vs2005 with seting the language to English