由于微软再一次推迟了.Net版的OLE Container Control的发布(2005版本叫ActiveDocumentControl),使我们几乎没有太多的办法来完成这个任务(你可以利用Visual C++来完成你的工作,不过该实现对技术的要求太高,大部分人不具备这个能力,因此只好作罢,最好在Visual C++基础上开发一个控件,在别的环境下调用,如果你能做这个工作,请... Read More
posted @ 2008-12-25 17:16
温景良(Jason)
Views(644)
Comments(0)
Diggs(0)
使用AxWebBrowser或者WebBrowser的方法将Office嵌入我们的.Net系统问题有几个,1是WebBrowser控件是一个比较重的控件,2是通过WebBrowser去控制Office如果出现问题没有办法进行调试与判断,也无法修改,3是Office对应的菜单没有办法控制。为此我们决定需求新的解决方案,使用微软提供的dsoFramer控件例子,这个例子使用VC++编写,本身... Read More
posted @ 2008-12-25 17:09
温景良(Jason)
Views(1666)
Comments(3)
Diggs(0)
使用SelectionChanged事件 private void axMapControl_OnSelectionChanged(object sender, EventArgs e) { if (iMapAction == 1) { //---------------------------------------Ident... Read More
posted @ 2008-12-25 17:06
温景良(Jason)
Views(1968)
Comments(1)
Diggs(0)
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->declare @sql1 nvarchar(2500) set @sql1=' select top 1 @test1=column1,@test2=column1 from table1' e... Read More
posted @ 2008-12-25 16:59
温景良(Jason)
Views(348)
Comments(0)
Diggs(0)
先定义一个热键类using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.Windows.Forms;namespace ExcelReportDesigner{ class WinHotKey { public WinHotKey() { } //如果函数执行成功,返回值不为0。 //如果函数执行失败,返回值为0。要得到扩展错误... Read More
posted @ 2008-12-25 16:56
温景良(Jason)
Views(585)
Comments(2)
Diggs(0)

浙公网安备 33010602011771号