I have made a user control using c#.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 red color "X" sign display inside
the control instead of the actual visual appearance of user control. but
when i start slide show, the User Control
display its own interface (GUI) and when i stop slide show again the
interface disappear & display red "X" sign. 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#
Suthish NairRank #92 · 22.8K reputationPosted Dec 7, 2010, 7:30 AM EST
NIBIR MISTRY19 reputationPosted Dec 7, 2010, 6:34 PM EST
Thanks for your reply. You are correct but How do i fix this problem?? In my User Control I just put a single Button Control nothing else.
Need to know what type of exception occurred during initialization. This User Control works fine in previous version of PowerPoint (2007/2003/XP/2000) but this is happening only with PowerPoint 2010.
Please find the Attachment.
Regards
Nibir Mistry
Karthik R8 reputationPosted Jan 27, 2011, 2:28 AM EST
NIBIR MISTRY19 reputationPosted Jan 27, 2011, 3:46 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Jan 27, 2011, 7:00 AM EST
can you attach your project and expalin how to use. so we can have a look.
Karthik R8 reputationPosted Jan 31, 2011, 4:17 AM EST
FYI, I raised the same in this thread http://social.msdn.microsoft.com/Forums/en-US/officegeneral/thread/1c4cc06a-1455-48d2-a8c3-926a4aed41b1/ with sample project and question raised by you.
-Karthik
Karthik R8 reputationPosted Jan 31, 2011, 4:19 AM EST
Attached a sample project to reproduce the problem.
You can build the project with VS 2008 and load the activex control in powerpoint 2010 to see the issue.
-Karthik
Suthish NairRank #92 · 22.8K reputationPosted Jan 31, 2011, 8:56 AM EST
Karthik R8 reputationPosted Jan 31, 2011, 8:57 PM EST
I am guessing you faced a registration issue as you might not be in administrator group. Please check if you have activex dll created out of compilation. You can manually register using regasm and start using in powerpoint.
-Karthik
Suthish NairRank #92 · 22.8K reputationPosted Feb 1, 2011, 8:28 AM EST
NIBIR MISTRY19 reputationPosted Feb 17, 2011, 9:07 PM EST
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.
Thanks
Nibir Mistry
Karthik R2 reputationPosted Jul 29, 2011, 8:48 AM EDT
I contacted MS folks and they agreed to be a bug from their side. They fixed it now and released a hotfix. Please find them here - http://support.microsoft.com/kb/2553061
-Karthik
NIBIR MISTRY19 reputationPosted Jul 31, 2011, 7:58 PM EDT
By your given link (http://support.microsoft.com/kb/2553061) I cannot find the Hotfix download link from "Hotfix Download Available" although Microsoft has published the article. Can you please provide me the download url. Waiting for your reply.