VectorDraw Developer Framework点击下载>>>





| Public Class Form1 Private Sub btnNew_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNew.Click If Dialog1.ShowDialog() Then If Dialog1.GetChooseType() = 1 Then AxEDOffice1.CreateNew("Word.Application") ElseIf Dialog1.GetChooseType() = 2 Then AxEDOffice1.CreateNew("Excel.Application") ElseIf Dialog1.GetChooseType() = 3 Then AxEDOffice1.CreateNew("PowerPoint.Application") ElseIf Dialog1.GetChooseType() = 4 Then AxEDOffice1.CreateNew("Visio.Application") ElseIf Dialog1.GetChooseType() = 5 Then AxEDOffice1.CreateNew("MSProject.Application") End If End If End Sub Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click AxEDOffice1.OpenFileDialog() End Sub Private Sub btnSaveAs_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveAs.Click AxEDOffice1.SaveFileDialog() End Sub Private Sub btnClose_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClose.Click AxEDOffice1.CloseDoc() End Sub Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click AxEDOffice1.PrintDialog() End Sub Private Sub btnPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPreview.Click AxEDOffice1.PrintPreview() End Sub Private Sub btnToolbars_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnToolbars.Click If AxEDOffice1.Toolbars = True Then AxEDOffice1.Toolbars = False Else AxEDOffice1.Toolbars = True End If End Sub Private Sub btnAbout_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAbout.Click AxEDOffice1.AboutBox() End Sub End Class |


| public void Open() { axEDOffice1.Open(sPath,“Excel.Application”); axEDOffice1.Open(sPath,“PowerPoint.Application”); axEDOffice1.Open(sPath,“Visio.Application”); axEDOffice1.Open(sPath,“MSProject.Application”); } |
Imports Microsoft.Office.Interop.Word Private Sub Automating_Click(ByVal sender As System.Object,ByVal e As System.EventArgs)Handle Automating.Click Dim word = AxEDOffice1.GetApplication() word.Visible = True Dim doc As Document = AxEDOffice1.ActiveDocument() Dim range As Range = doc.Range range.InsertAfter(“Range1”+ vbCrLf) range.Collapse(WdCollapseDirection.wdCollapseEnd) doc.Bookmarks.Add(“MijnBookmark”,range) range.InsertAfter(“Range2”+ vbCrLf) Dim bookmark As Bookmark = doc。书签(1) range = bookmark.Range range.Text =“Bookmark”+ vbCrLf range.Font.Color = WdColor.wdColorBlue End Sub |
2017慧都十四周年狂欢搞事情,全场产品折扣风暴来袭!砸金蛋100%抽现金红包、满额豪送iPhone X、iPhone 8、DevExpress汉化免费送、团队升级培训套包劲省10万元......更多惊喜等您来探索!
2003年11月,慧都破茧而出;
2017年11月,慧都已崛世而立。
14岁了,搞件大事情——创造折扣奇迹!
这个狂欢月,就要躁!起!来!
七大玩法,花样玩赚周年趴!
狂欢时间:2017.11.1-2017.11.30
![]() 下单即送砸金蛋机会 100%抽微信现金红包 188元、88元、18元等你领取!
| |
全场满额豪送iPhone X! --------------------- 购买慧都任意产品 满额即送8级好礼 iPhone X、iPhone8速速领走! | DevExpress庆周年 --------------------- DevExpress汉化资源免费送 DEV团队培训套包 最高立省10万元
|
慧都学院培训“拼拼团” --------------------- 不要998!不要888! 只要1分钱! 立抢DevExpress/Kendo UI研修班团购优惠名额! |
全场热销产品7折起 --------------------- Kendo UI、Aspose、BCGSoft、Dynamsoft等产品 超低折扣等你来! 葡萄城GrapeCity更享专属折扣 |
在线商城 聚惠再续 --------------------- MyEclipse个人授权低至6.9折! 在线订购商城全场优惠促销 下单还送砸金蛋机会 | 周年送祝福 好礼齐掉落 --------------------- 您送祝福,我送好礼 提交周年祝福、评价等 随机获取定制台历、保温杯或雨伞! |
关注的产品没在促销活动中?不用担心,点击咨询在线客服有意想不到的惊喜哦!
