PowerPoint activeX控件显示BIG RED X [英] PowerPoint activeX control displays BIG RED X

查看:68
本文介绍了PowerPoint activeX控件显示BIG RED X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用c#.Net& vb.Net,并使控件作为COM互操作以及COM可见为真.它建造了&由"regasm"成功注册.我的控件在Powerpoint 2010中的更多控件"选项下可见,并且可以将其添加到幻灯片中.问题在于,将控件嵌入到幻灯片中(在设计时)后,控件内部将显示一个大的红色"X"符号(其余背景为白色),而不是用户控件的实际视觉外观.但是当我开始幻灯片放映时,用户控件会显示其自己的界面(GUI),而当我再次停止幻灯片放映时,该界面就会消失&显示红色的"X"符号.此用户控件可以与MS Power Point的早期版本(2007/2003/XP)一起正常工作. MS Power Point 2010出现此大红色" X "问题.如何解决此问题?

Office版本:Office 2010
程序:PowerPoint
操作系统:Windows XP
Visual Studio:2008年
工作框架:3.5

使用语言:C#



问候

Nibir Mistry

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

推荐答案

您将获得红色的大X,因为控件的绘图代码中有错误.没有足够的信息来告诉您哪里出了问题.
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.


您好,
对于实施&所遵循的方式,我可能是错的解决了我的"RED X"问题后,我从(http://1code.codeplex.com)获得了一些针对"CSActiveX"的多合一代码框架(COM)"示例.但是,他们的示例代码仍然存在相同的问题.我认为可能有另一种方法可以解决此"RED X"问题.
问题线程:http://social.msdn.microsoft.com/Forums/en-US/Offtopic/thread/6f976d01-b1d8-4eff-98d5-c1ac61e01af7
谢谢
Nibir Mistry
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


这篇关于PowerPoint activeX控件显示BIG RED X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆