文件名称:winform检测U盘插入并将只读word写入U盘
文件大小:3.28MB
文件格式:RAR
更新时间:2015-06-30 08:39:30
winform检测U盘 检测U盘 word写入U盘 U盘 winformU盘
object missing = System.Reflection.Missing.Value; object ReadOnly = true;//是否为只读 object fileName = usbURL + fileDateName; object password = "rzq"; Word.Document oWordDoc = oWordApp.Documents.Open(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); oWordDoc.Activate(); oWordApp.Selection.TypeText("这是我输入的数据!");//输入word中的数据 oWordApp.Selection.TypeParagraph();