vb.net中的保存/加载功能 [英] The Save/Load Function in vb.net

查看:79
本文介绍了vb.net中的保存/加载功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近刚刚取消订阅了我的另一个帖子,因为它违反了发布规定...


如果您对我发布的内容感到不满,我道歉


我需要代码保存按钮...这个保存按钮必须能够...

---保存数据!

---必须有一个保存功能......显然是因为某些数据可能是新的

---默认浏览Windows目录

因此我还需要一个加载按钮的代码,其具有与上述完全相同的需求(但显然它不应该能够保存 - .-)



如果您有不同方法的建议我可以在vb.net中实现保存或加载功能随时发布,但请不要继续关于C ++或任何其他语言因为我根本没有经验对于它(是的,我知道我在编程时真的是一个菜鸟!)


最后,我怎么能在基于表单的系统中使用它...我想要以适合我需要的方式实现我的代码,但我不想用不同的语言编程,因为实现和学习需要太长时间。


OH和请发布我想要的东西


我不喜欢:

---网站网址

---巨件代码...相信我很难找到一些小的差异。碎片!

--- C ++(YUK!)

---与我寻求的信息无关的事情!

Hi, I recently just unsubscribed my other thread due to the fact that it went against the posting regulations...

If you feel offended by what I posted, I apologize

I need Code for a save button... this save button must be able to...
---save data!
---must have a save as function...obviously due to the fact that some data might be new
---Explore the windows directory as default

I therefore also need code for a load button with the exact same needs as above (but obviously it shouldn''t be able to save -.-)


If you have suggestions on different ways I could implement the save or load function in vb.net feel free to post them, However please DO NOT go on about C++ or any other language because I simply don''t have the experience for it (yes I know I really am a noob at programming!)


Finally, how could I use it in a form based system... I want to implement my code in a way that is suitable for my needs, I do not however want to program in a different language as it would take far too long to implement and learn.

OH and please post things which I would want

I would not like:
--- website urls
--- giant pieces of code... believe me its hard to find the difference between some "small" pieces!
--- C++ (YUK!)
--- Things that have nothing to do with the information that I seek!

推荐答案

你要保存什么?

有一个SaveFileDialog可以用来生成一个文件名供你保存。你用它做什么取决于你。
What is it that you want to save?
There is a SaveFileDialog that can be used to produce a filename for you to save to. What you do with it is up to you.



你想保存什么?

有一个SaveFileDialog可用于生成要保存的文件名。你用它做什么取决于你。
What is it that you want to save?
There is a SaveFileDialog that can be used to produce a filename for you to save to. What you do with it is up to you.



...不仅仅是......我想要代码和方法......我只是刚刚切换到VB.NET当你不知道自己在做什么时,这可能很烦人!


我打算将它用于表格数据......但我可以将它用于其他必需品

... Its not just that... I want the code and the ways of doing it... I''ve only just switched to VB.NET it can be annoying when you have no idea what you are doing!

I''m intending it for form data... however I could use it for other "necessities"



......不只是......我想要代码和方法......我只有刚刚切换到VB.NET,当你不知道自己在做什么时,它会很烦人!


我打算将它用于表单数据...但是我可以用它来表示其他必需品
... Its not just that... I want the code and the ways of doing it... I''ve only just switched to VB.NET it can be annoying when you have no idea what you are doing!

I''m intending it for form data... however I could use it for other "necessities"



如果你想要代码和方法,我建议你聘请一个为你建造代码的人,因为我们肯定不会去...

If you want the code and the ways of doing it I suggest that you hire someone who is gonna build it for you, ''cause we''re certainly not going to...


OH并且请发布我想要的东西


我不喜欢:

---网站网址

---巨大的代码片段......相信我很难找到一些小代码之间的区别。碎片!

--- C ++(YUK!)

---与我所寻求的信息无关的事情!
OH and please post things which I would want

I would not like:
--- website urls
--- giant pieces of code... believe me its hard to find the difference between some "small" pieces!
--- C++ (YUK!)
--- Things that have nothing to do with the information that I seek!



这是一种非常糟糕的态度。表示尊重!


Steven

This is a really lousy attitude. Show some respect!

Steven


这篇关于vb.net中的保存/加载功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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