[Mono-bugs] [Bug 78803][Maj] New - Displaying an image, in a MWF app, embedded as a resource doesn't work (GetObject method fails silently)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 10 04:33:19 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by knocte at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78803

--- shadow/78803	2006-07-10 04:33:19.000000000 -0400
+++ shadow/78803.tmp.14373	2006-07-10 04:33:19.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 78803
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: knocte at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Displaying an image, in a MWF app, embedded as a resource doesn't work (GetObject method fails silently)
+
+Creating a simple MWF(SWF) app with VS.NET that displays a form with an
+embedded image as a resource, mono fails to execute the assembly generated.
+
+It seems that the problem is in the following line of code (inside
+InitializeComponent auto-generated method):
+
+object oResource = resources.GetObject("pictureBox3.Image");
+
+I am going to attach a testcase.


More information about the mono-bugs mailing list