摘要: IntroductionThis article describes how we solve the problem of registering the C# component after downloading it through CAB file and invoke it through script. It also gives the focus on how to update the latest version of component on the client machine when the component is getting installed throu 阅读全文
posted @ 2011-01-26 13:50 遥望星空 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 一个项目要用到ActiveX控件,参照网上众多的例子,ActiveX控件倒是很容易就搞出来了;然后做了一个【安装项目】,倒是可以使用,只不过需要在客户端手动点击安装,下一步,下一步…觉得不是很爽;又试了试【CAB项目】,好像没人用VS2008来做,费了点功夫,终于找到解决办法。特将此经验与大家分享。开发工具:Visual Studio 2008.NET版本:2.0开发语言:C#一、编写ActiveX控件1、新建一个【Windows窗体控件库项目】2、添加一个【用户控件】3、拖两个Label控件到界面上4、为控件添加一个方法,用来设置在Label中显示当前时间//设置当前时间publicvoid 阅读全文
posted @ 2011-01-26 11:32 遥望星空 阅读(566) 评论(0) 推荐(0) 编辑