在用户定义的位置创建文件. [英] Creating a file at userdefined location.

查看:76
本文介绍了在用户定义的位置创建文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我希望创建一个.csv文件,其名称由用户提供,并且该位置也由用户定义.
保存文件avedialogbox或browserfiledialogbox不能使用.
他们像"filecreatedialogbox"之类的东西都无法解决我的问题??


预先感谢

Hi All,

I wish to create a .csv file whose name is provided by user and also at the location is defined by user.
Save filesavedialogbox or browsefiledialogbox can not be used.
Their is nothing like "filecreatedialogbox" that could solve my problem???


Thankx in advance

推荐答案

SaveFileDialog只是给您一个文件名,由您使用文件名并创建文件.

请参阅文档: http://msdn.microsoft.com/en-us/library/system.windows.forms.savefiledialog.aspx [
SaveFileDialog just gives you a file name, it''s up to you to use the filename and create the file.

See the documentation : http://msdn.microsoft.com/en-us/library/system.windows.forms.savefiledialog.aspx[^]


这篇关于在用户定义的位置创建文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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