使用vb.net将xml文件拆分为n个文件后,将其删除 [英] Delete an xml file after splitting it into n number of files using vb.net

查看:46
本文介绍了使用vb.net将xml文件拆分为n个文件后,将其删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我根据大小将xml文件拆分为n个xml文件.分割文件后,我想使用vb.net删除原始文件.但是,在尝试删除该文件时,会显示一条错误消息,指出该文件正在被另一个进程使用".任何人都可以帮忙做什么?

在此先感谢

Hi,

I am Splitting an xml file into n number of xml files based on the size. After splitting the files I want to delete the original file using vb.net. But while trying to delete it is giving an error message stating that "The file is being used by another process". Can any one help what to do?

Thanks in advance

推荐答案

在完成拆分后关闭文件.
Close the file when you''re done splitting it.


这篇关于使用vb.net将xml文件拆分为n个文件后,将其删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆