Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have made a user control using c#.Net & vb.Net and made the control as COM interop along with COM visible true. It built & registered by "regasm" successfully. My control is visible in power point 2010 under "More Controls" option and can able to add it in slide. The problem is after embedding the control in slide (in design time) a big red color "X" sign displays inside the control (and rest background is white) instead of the actual visual appearance of User Control. but when i start slide show, the User Control displays its own interface (GUI) and when i stop slide show again the interface disappear & display red "X" sign. This User Control works fine with previous versions of MS Power Point (2007/2003/XP). This BIG RED "X" problem is happening with MS Power Point 2010. How do I correct this problem??

Office Version: Office 2010
Program:PowerPoint
Operating System:Windows XP
Visual Studio : 2008
Working Framework : 3.5

Using Language : C#



Regards

Nibir Mistry
Posted
Updated 17-Dec-10 2:54am
v2
Comments
Toli Cuturicu 20-Dec-10 16:32pm    
Never post fake answers. (I deleted yours this time)

You're getting the big red X because there's something wrong in the drawing code of your control. There isn't enough information to tell you what's wrong though.
 
Share this answer
 
Comments
vipin_jain_swm 27-Jan-11 1:01am    
I am also getting same problem. What can be wrong with the drawning code? If anything is wrong with the drawning code then should not it get show same error with Power Point 2007 or lower version?

Any suggestions will be helpful to diagnose the problem further.

-Vipin
Hello,
I might be wrong about the way I'm following for implementing & fixing my "RED X" issue, I got some samples "All-In-One Code Framework (COM)" for "CSActiveX" from ( http://1code.codeplex.com ). But the same problem persists with their sample code. I think there might another way for fixing this "RED X" issue.
Issue Thread : http://social.msdn.microsoft.com/Forums/en-US/Offtopic/thread/6f976d01-b1d8-4eff-98d5-c1ac61e01af7
Thanks
Nibir Mistry
 
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