一个极其奇怪的问题,求解.
在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)