473,464 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Silverlight ImageBrush Issue

11 New Member
I'm trying to use the ImageBrush brush in a rectangle to make a picture slideshow in Silverlight, but I'm getting this error everytime I try:

Silverlight Error Message
ErrorCode: 3002
ErrorType: ImageError
Message: AG_E_NOT_FOUND

Here's the code that is giving me the trouble:
Expand|Select|Wrap|Line Numbers
  1.     <Rectangle Height="180" Width="90" Canvas.Left="10" Canvas.Top="10"
  2.         Stroke="Black" StrokeThickness="1">
  3.     <Rectangle.Fill>
  4.         <ImageBrush ImageSource="photos/image1.PNG"/>
  5.     </Rectangle.Fill>
  6.     </Rectangle>
I can't figure out why its not working- all the references are correct.
Jun 14 '08 #1
1 3326
Dököll
2,364 Recognized Expert Top Contributor
hey good buddy!

I am not sure what this is: ErrorCode: 3002. Can you tell us a little more or perhaps post the whole code?

Just passing through, might be a good idea in case likewise for other members.

Hope you nail this one down!

Dököll
Jun 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: coconet | last post by:
I am having a hard time reconciling rendering Silverlight 1.0 with cross-compatible CSS to make the page look the same on FireFox and IE on Windows. Is there a rule set for making things work...
0
by: SoftLion | last post by:
Hi, as I don't know where to post (there is no silverlight newsgroup ?), I post here so don't blame me plz. With firebug activated, loading the http://www.microsoft.com/silverlight/#4_0 site,...
18
by: Artificer | last post by:
Any idea if MS will try to promote Silverlight over ASP.NET for web development or will silverlight remain just as a adobe's flash like tecnology?
1
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Note: My apologies for repeating this post from last week, but my nospam alias and profile account were incorrect. I think I have fixed this, so hopefully this post will trigger MS into a response...
13
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
This is a follow-up to my post "Silverlight video doesn't work when file is streamed from handler in ASP.net" at...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.