在Visual Basic中写入嵌入式文本文件 [英] Writing to embedded text files in Visual Basic

查看:79
本文介绍了在Visual Basic中写入嵌入式文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

G''day,

我试图写一个文本文件,该文件是Visual Basic 2008中解决方案的资源.不幸的是,我不知道该怎么做.所有指南,问题等似乎都与写入外部文本文件有关.有人可以帮我吗?

谢谢

G''day,

I''m trying to write to a text file that is a resource of the solution in Visual Basic 2008. Unfortunately, I don''t know how to do that. All the guides, questions etc. seem to be about writing to external text files. Could someone please help me?

Thanks

推荐答案

选中此
http://social.msdn.microsoft.com/Forums/zh/vbgeneral/thread/b926a443-13ec-4bb7-a662-b36267f1474d [
Check this
http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/b926a443-13ec-4bb7-a662-b36267f1474d[^]


如果这是嵌入式资源,则将其嵌入在可执行文件中,严格来说只读,因此您将无法对其进行修改.为什么会这样呢?考虑到它的用途,它是永远不需要的.

—SA
If this is embedded resource, it is embedded in the executable, which is strictly read-only, so you won''t be able to modify it. Why indeed? It is never needed, taking in consideration its purpose.

—SA


这篇关于在Visual Basic中写入嵌入式文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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