保存/加载Treeview [英] Save/Load Treeview

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

问题描述

如何将Treeview的内容保存/加载到文件中?

我找到了几个用VB6编写的好例子,但没有一个用于

VB.NET。


请帮忙。


----

Tim

解决方案

Mr.D,


有很多样本可以加载Treeview,我想你需要一个非常
特别是当没有人适合你的时候。


什么是特别的,没有人是好的?


Cor


" Cor Ligthert" <无************ @ planet.nl>写了

有很多样本可以加载一个Treeview,我认为当没有人适合你的时候你需要一个非常特殊的。


我没有为VB.NET找到一个加载+保存示例

有什么特别的,没有人好?



没什么特别的。我真的不在乎如何存储最好的信息。


我搜索了
http://www.planet-source-code.com/
http://www.google.com/

以及MSDN 2005 Express中的社区搜索,我什么也没找到。


如上所述,我发现了许多优秀的VB6示例,但我没有在.NET中重写它们的问题。

这就是我在这里求救的原因。

----

Tim


先生。 D.


三视图实际上并不是一个与文件相关的控件,当你想要这样做时

你必须从树中取出节点并写下它们因此,你可能不会轻易获得样品。


但是你要求直接看到使用xmldoc的树视图

>
在我在这个新闻组中搜索treeview和

xml的链接下面,应该有一个例子。它本身没有在

时刻。

http://tinyurl.com/4kpmb


我希望这有帮助吗?


Cor

Mr.D < kj ** @dlkhdlhjd.com>

....

" Cor Ligthert" <无************ @ planet.nl>写了

有很多样本用于加载Treeview,我认为当没人适合你的时候你需要一个特别的



我diddn没有为VB.NET找到一个Load + Save示例

有什么特别的,没有人好?


没什么特别的。我真的不在乎最有效的存储方式。

我搜索了
http://www.planet-source-code.com/
http://www.google.com/
以及MSDN 2005 Express中的社区搜索,我什么也没找到。

As说,我发现了很多很好的VB6例子,但是我没有用.NET重写它们的技巧。
这就是为什么我在这里大声呼救。
----
Tim



How do I save/load the contents of a Treeview to a file?
I have found several good examples written i VB6, but not a single one for
VB.NET.

Please help.

----
Tim

解决方案

Mr.D,

There are so much samples for loading a Treeview, I think you need a very
special when no one did fit you.

What is so special that no one was good?

Cor


"Cor Ligthert" <no************@planet.nl> wrote

There are so much samples for loading a Treeview, I think you need a very
special when no one did fit you.
I diddn''t find a single Load+Save example for VB.NET
What is so special that no one was good?


Nothing special. I dont really care how the contenst are stored.

I''ve searched on
http://www.planet-source-code.com/
http://www.google.com/
and the Community search in MSDN 2005 Express and I came up whith nothing.

As said, I found many good VB6 examples, but I dont have the skilles of
rewriting them in .NET.
That''s why I cried out for help in here.

----
Tim


Mr. D.

The threeview is not really a file related control, when you want to do it
you have to take the nodes from the tree and write them, therefore you will
probably not get easily a sample.

However what you ask looks directly to using a treeview with xmldoc

Beneath the links where I have searched this newsgroup for "treeview and
xml", there should be an example between it. It do not have it myself at the
moment.

http://tinyurl.com/4kpmb

I hope this helps?

Cor
"Mr.D" <kj**@dlkhdlhjd.com>
....

"Cor Ligthert" <no************@planet.nl> wrote

There are so much samples for loading a Treeview, I think you need a very
special when no one did fit you.



I diddn''t find a single Load+Save example for VB.NET

What is so special that no one was good?


Nothing special. I dont really care how the contenst are stored.

I''ve searched on
http://www.planet-source-code.com/
http://www.google.com/
and the Community search in MSDN 2005 Express and I came up whith nothing.

As said, I found many good VB6 examples, but I dont have the skilles of
rewriting them in .NET.
That''s why I cried out for help in here.

----
Tim



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

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