首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VB Dotnet >

一个极其奇怪的有关问题,求解

2012-01-31 
一个极其奇怪的问题,求解.在vb.net 中,我运行了bds1.Current(内容) My.Computer.FileSystem.ReadAllBy

一个极其奇怪的问题,求解.
在vb.net 中,我运行了
  bds1.Current("内容") = My.Computer.FileSystem.ReadAllBytes(ofd1.FileName)
这一语句后,再运行
 Shell(My.Application.Info.DirectoryPath & "\pdftk tmp1.pdf tmp2.pdf cat output tmp.pdf", AppWinStyle.Hide, True)

就发现 shell 语句没有作用. 如果不运行上面那一句, 运行就很正常. 请问是啥回事呢? 这两条语句好象没有关联啊

[解决办法]
报什么错!!你把这两句调一下位置吧!!!放在后台执行:
bds1.Current("内容") = My.Computer.FileSystem.ReadAllBytes(ofd1.FileName)

热点排行