摘要: 以下是下安装tcl/tk的安装步骤:step1 下载和安装Tcl/Tk:Tcl/Tk是跨平台的语言,多个系统下都可以使用。FOR LINUXstep1:下载tcl和tk的安装文件http://www.tcl.tk/software/tcltk/download.htmlstep2:安装tcltar ... 阅读全文
posted @ 2016-01-16 20:25 双手合十 阅读(7007) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/perl#get scripts name#print $0 . "\n";#get the parametersmy $argc = $#ARGV+1;my $src_file;my $dst_file;#print "$argc\n";if($argc == 2) { ... 阅读全文
posted @ 2015-05-09 17:26 双手合十 阅读(531) 评论(0) 推荐(1) 编辑
摘要: Option ExplicitPrivate Function add()On Error GoTo ErrHandlerDim filePath As String, fileName As String filePath = Application.ActiveDocument.Path f... 阅读全文
posted @ 2015-04-11 13:13 双手合十 阅读(1590) 评论(0) 推荐(0) 编辑
摘要: Cell Object MembersHolds a formula that evaluates to some value.MethodsNameDescriptionGlueToGlues one shape to another, from a cell in the first shape... 阅读全文
posted @ 2015-01-25 19:09 双手合十 阅读(473) 评论(0) 推荐(0) 编辑
摘要: Shape Object MembersRepresents anything you can select in a drawing window: a basic shape, a group, a guide, or an object from another application emb... 阅读全文
posted @ 2015-01-25 19:07 双手合十 阅读(948) 评论(0) 推荐(0) 编辑
摘要: Application Object MembersRepresents an instance of Microsoft Office Visio. An external program typically creates or retrieves an Application object b... 阅读全文
posted @ 2015-01-25 19:06 双手合十 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 例:VBA获取shape positionPublic Sub LocationTable() 'This routine will create a text file of the location and size of all 2-d shapes ' on the curr... 阅读全文
posted @ 2015-01-25 19:02 双手合十 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 显示当前page size:Application.ActiveDocument.NameApplication.ActiveDocument.PaperSizeApplication.ActiveDocument.PaperHeight("inches")Application.ActiveDoc... 阅读全文
posted @ 2015-01-25 13:30 双手合十 阅读(987) 评论(0) 推荐(0) 编辑
摘要: Section or rowCellSection indexRow indexCell index1HelpTopicCopyright2visSectionObjectvisRowHelpCopyrightvisObjHelpvisCopyright1-D Endpointssection3Be... 阅读全文
posted @ 2015-01-25 13:07 双手合十 阅读(652) 评论(0) 推荐(0) 编辑
摘要: 其实Visio中的每个shape(包括你画的图形,线条等等),后台都有一个表来记录所有的属性,这个表我们叫做ShapeSheet.VBA编程中,你可能需要获取shape属性,其实也可以在这里参考:Open a Visio diagram containing a shape that you wan... 阅读全文
posted @ 2015-01-25 13:01 双手合十 阅读(1727) 评论(0) 推荐(0) 编辑