Advertisement

06.11.2008 at 11:11AM PDT, ID: 23476809
[x]
Attachment Details

C# Application crashes when WinXP Appearance set to "Windows Classic"

Asked by rturney in Microsoft Visual C#.Net, Windows XP Operating System

Tags: Microsoft, Visual C#, 2008

A mysterious thing is happening when the users of an application I am developing runs under Windows XP with its appearance setting set to "Windows Classic Style".  The application loads okay, but when a user double-clicks a thumbnail picture to view the picture full size (in a separate form), the application crashes.  Here's some of the long error message:

System.Runtime.InteropServices.COMException (0x800A03EA): No image has been specified.
Unable to display image at
System.RuntimeType.Forward CallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] a WrapperTypes, MessageData& at
ImgeditLibCtl._DImgEdit.Display() at
AxImgeditLibCtl.AxImgEdit.Display() at
EView2.formViewDwg.formViewDwg_SizeChanged(Objectsender, EventArgs e) at
System.Windows.Forms.Control.OnSizeChanged(EventArgs e) ...

The image control is a COM instead of a .Net component.

For comparison, I set my Appearance settings to "Windows Classic Style" and ran the application.  Instead of crashing, mine didn't display the picture and left a blank image, but it didn't crash.

When I change my Appearance setting back to "Windows XP Style" everything works fine.

This has left me clueless as to what is wrong.  I hope someone has an idea to explain why this is happening.

Thanks,
-BobStart Free Trial
[+][-]06.11.2008 at 11:36AM PDT, ID: 21762866

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 11:59AM PDT, ID: 21763095

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 12:19PM PDT, ID: 21763265

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 12:55PM PDT, ID: 21763592

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 01:43PM PDT, ID: 21764025

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 02:15PM PDT, ID: 21764199

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 03:12PM PDT, ID: 21764562

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 12:48PM PDT, ID: 21773024

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.13.2008 at 06:04AM PDT, ID: 21778322

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.16.2008 at 07:21AM PDT, ID: 21793848

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, Windows XP Operating System
Tags: Microsoft, Visual C#, 2008
Sign Up Now!
Solution Provided By: BitRunner303
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628