2005年5月1日
#
今天研究了下office的addin里用xp主题,这个还是很有话头的。.net 1.0和1.1只用Application.EnableVisualStyles()并不是问题的答案。
asp.net上发现篇比较好的文章,共享一下
http://blogs.msdn.com/asanto/archive/2004/08/13/214426.aspx
除了楼主用manifest文件外,Application.EnableVisualStyle也是方法之一,不过调用这句之后还要加上一句Application.DoEvents(); 应该是这样子调用
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.DoEvents();
Application.Run(new Form1());
}
Office 和vs.net的addin里只能用第三种方法,千万不要应用Application.EnableVisualStyles(),会不断出现
'System.Runtime.InteropServices.SEHException
http://support.microsoft.com/default.aspx?scid=kb;en-us;830033#6
2005年4月9日
#
微软昨天完成了对Groove的收购,Groove的产品和服务会是MS
Office体系的一部分,微软的Office网站上已经可以查看
Groove信息。更加值得期待的是Microsoft Information Worker Business因Groove和Ray Ozzie加盟而更加完善和友好。这里的Office小组可以考虑研究下MIWB:)
Anyway, good news for all existing customers and 3rd party partners:
Groove will continue to operate from its Beverly, Massachusetts
headquarters as part of Microsoft's Information Worker Group and will
provide customers and third-party partners with uninterrupted product
and service offerings.
2005年3月12日
#
http://www.infoworld.com/article/05/03/10/HNmicrosoftgroovedeal_1.html
"The combination of real time server based and peer-to-peer
communications will clearly be a significant enhancement, so you can
expect that as part of our product planning for the next major wave. We
are expecting to use it very broadly," said Jeff Raikes, group vice
president in charge of Microsoft's Information Worker Business unit.
I'm reminded of what Jon Udell had to say two years ago:
InfoWorld- Uniting under Groove- February 14, 2003- By Jon Udell ...
"Groove founder Ray Ozzie and his teams have always pretended to build
application software. But what they have actually delivered are the
operating systems of the future — years ahead of schedule.
It defines what Microsoft and Apple will be lucky to achieve by 2006. "
http://news.com.com/Ozzie+wants+a+unified+story+at+Microsoft/2008-1012_3-5611099.html
Ray Ozzie says:
"I think what Bill is referring to is that some of those technologies,
particularly security, have more general applicability than the general
collaboration offerings. It's too soon to know or discuss what the
specific impact will be, but I will be working with the platform group
to see (how) those things that we've done can be generalized."
http://www.internetnews.com/ent-news/article.php/3489576
Meta Group analyst Mike Gotta said Groove's middleware should
benefit Microsoft's next-generation operating system, Longhorn, due in
2006.
"Groove has invested a lot of its intellectual property in its
middleware," Gotta said. "Everyone tends to talk about the client and
gets enamored with Virtual Office. But the crown jewel is not the
desktop application. The crown jewel is all of the middleware and the
security model around it and the fact that it is firewall friendly."
My 2 Cents:
I guess the acquirement will be
finished in late June/early July. They have to deal with some law issue
both in American and Euro. Because it's a buy from Microsoft.
Groove will be adopted in the following route:
Integrate it into the Office
Suite(Sharepoint, Live Communication Server especially) --->MSN
Desktop--->OS(Longhorn) Groove Network has invested lots of
time and effort to release Web Service Development Ket(GWSDK). Though
it's not that powerful compared to the COM/Interop tool level
development. However the team is eager to hear its partner's voice. For
example, I asked Message History management web service when they
release 3.0(f) and I got it the day before yesterday in 3.1. Support
from GN is famous and I am sure we will get better support from MS
later.
And my suspection: Groove,as-we-know, will vanish later. MS buy Groove as an investment for Office 12, MSN and Longhorn.
不出意料,几年后微软收购了Groove公司,Ray Ozzie也出任MS的CTO。看来这几年这个平台上花的时间没有白费,从开始复杂的COM API集到现在的web service toolkit.庆祝下自己的选择,不好意思放首页来了:)
上个月出现的问题,重装vs.net也没效果,今晚查了下KB,原来是我把Protected Storage服务关掉,控制面板里启动这个服务就能解决。另外这个服务禁止之后,启动MSN会有个漫长的等待。
When you start Visual Studio .NET, you may receive the
following error message:
Package 'VsRptDesigner package' has
failed to load properly
Also, you may receive the following error messages
when you install Visual Studio .NET:
Package 'VsRptDesigner
Package' intentionally skipped from loading ( GUID = {GUID NUMBER HERE} ).
Please contact package vendor for assistance. Run 'devenv /resetskippkgs' to
re-enable all skipped packages
Package 'Crystal
Reports Tools Package' intentionally skipped from loading ( GUID = {GUID NUMBER
HERE} ). Please contact package vendor for assistance. Run 'devenv
/resetskippkgs' to re-enable all skipped packages.
CDPackage 'ACT Project Package' intentionally skipped from loading
( GUID = {GUID NUMBER HERE} ). Please contact package vendor for assistance.
Run 'devenv /resetskippkgs' to re-enable all skipped packages.
This problem may occur
if you install Visual Studio .NET on a computer that does not have the Protected Storage service running.
To resolve this problem, start the Protected Storage service, and then reload the skipped packages.
http://support.microsoft.com/?id=823245
2005年1月5日
#
用C#编写ActiveX控件
上回跟bloodchen有过类似的讨论,用.net编写Maxthon的Sidebar Plugin。
这个应该不能算是真正的ActiveX,可以到Add Reference试试,你没有办法将它添加到你的winform project里,IE是市面上唯一官方提供support的unmanaged host for winform control,smart application一部分,如果您在.net安全向导里设置允许直接运行.net程序,点击.exe的链接,IE会自动调用framework来运行这个managed component。可以参考wahoo这个winning application. http://www.sellsbrothers.com/wahoo/
MS在.net framework 1.0 beta里有文档说明如何将Winform Usercontrol publish为activex,但是1.0 release不再支持。如果有兴趣可以参考Chris Sells和CodeProject上的文章。http://www.ondotnet.com/pub/a/dotnet/2003/01/20/winformshosting.html
http://www.codeproject.com/cs/miscctrl/exposingdotnetcontrols.asp
2004年12月28日
#
Dissecting a C# Application 这本书已经作为free的ebook发布,不知道是不是已经有人报道,曾经在上图的书架上看到过翻译的版本,实在是不怎么样,还不如直接看原版的清楚。如果觉得屏幕上看起来太累,完全可以一章章打印出来看,成本肯定比花美金买合算。
不好意思,我找不到这篇post合适的目录,想着这里大概会有人需要所以放到首页那个目录里去了。非常抱歉。
2004年12月25日
#
摘要: Anice Christmas gift on New Year's Eve:) Merry Christmas! Now I am working with Winform/ComInterop based Groove tool development. Later we will migrate to WebService powered application development. A...
阅读全文