winform检测U盘插入并将只读word写入U盘

时间:2015-06-30 08:39:30
【文件属性】:

文件名称: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();


网友评论

  • 控件没有,希望有下载 Microsoft.VisualBasic.PowerPacks.Vs.dll