word 图片居中

摘要: Sub PicCenter() Dim myS As InlineShape Application.ScreenUpdating = False For Each myS in ActiveDocument.InlineShapes If Len(myS.Range.Paragraphs(1).R 阅读全文
posted @ 2022-01-19 14:42 编程007 阅读(63) 评论(0) 推荐(0) 编辑

word 表格内容居中

摘要: Sub 水平垂直居中() Dim t As Table For Each t In Me.Tables t.Select Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter Selection.Range.Cells.Vertic 阅读全文
posted @ 2022-01-19 14:39 编程007 阅读(90) 评论(0) 推荐(0) 编辑

word 表格居中

摘要: Sub SetTableCenter() Dim doc As Document, myTable As table Set doc = ActiveDocument If doc.Tables.Count = 0 Then Exit Sub For Each myTable In doc.Tabl 阅读全文
posted @ 2022-01-19 14:37 编程007 阅读(44) 评论(0) 推荐(0) 编辑

word 表格 字体更改

摘要: Sub defaultFontStyling() Dim table As table For Each table In ActiveDocument.Tables If table.Range.Information(wdActiveEndAdjustedPageNumber) > 1 Then 阅读全文
posted @ 2022-01-19 14:33 编程007 阅读(61) 评论(0) 推荐(0) 编辑

mysql 语句在on 条件除了等号可以用like

摘要: select * from a join bon a LIKE CONCAT('%',b,'%') 阅读全文
posted @ 2019-08-21 19:01 编程007 阅读(924) 评论(0) 推荐(0) 编辑

remoting 信道注册问题

摘要: 同一个应用程序域信道不能同名 阅读全文
posted @ 2018-12-06 11:11 编程007 阅读(104) 评论(0) 推荐(0) 编辑

vs2017 git 老是让输入密码的问题

摘要: 重新生成ssh key,我这还有一个情况,公司域网络里自动挂载了一个网盘,网盘里有ssh key,然后老报密码不对,断开网盘就行了 阅读全文
posted @ 2018-11-28 15:16 编程007 阅读(500) 评论(0) 推荐(0) 编辑

Remoting 客户端调用远程服务端数据的问题

摘要: 客户端调用远程服务端数据后不能直接修改回传,需要Clone()后回传 阅读全文
posted @ 2018-11-14 01:46 编程007 阅读(98) 评论(0) 推荐(0) 编辑

http请求soap

摘要: public static string GetSOAPReSource(string url, string datastr) { //发起请求 Uri uri = new Uri(url); WebRequest webRequest = WebRequest.Create(uri); ... 阅读全文
posted @ 2018-06-25 10:49 编程007 阅读(297) 评论(0) 推荐(0) 编辑

webserverice 改造,添加SoapHeader节点下的用户认证

摘要: public class user : SoapHeader { public string username { get; set; } public string password { get; set; } public user() { } } 然后在生成webservice里添加user实 阅读全文
posted @ 2018-06-25 10:24 编程007 阅读(222) 评论(0) 推荐(0) 编辑