访问Treeview - 它还安全吗? [英] Access Treeview - Is it Safe Yet?

查看:52
本文介绍了访问Treeview - 它还安全吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很多关于不使用treeview控件的帖子,但最近没有什么

。使用Access 2000-Access 2003在那里游泳是否安全?

So many postings on not to use the treeview control, but nothing
recently. Is it safe to swim there yet with Access 2000-Access 2003?

推荐答案

" lauren quantrell" < LA ************* @ hotmail.com>在消息中写道

news:11 ********************** @ g47g2000cwa.googlegr oups.com ...
"lauren quantrell" <la*************@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
这么多关于不使用treeview控件的帖子,但最近没什么。使用Access 2000-Access 2003在那里游泳是否安全?
So many postings on not to use the treeview control, but nothing
recently. Is it safe to swim there yet with Access 2000-Access 2003?




你误解了。 * Access *没有Treeview控件。 Windows有一个

TreeView控件作为Common Dialog库的一部分。要在

中使用此控件,Access意味着添加对外部非本机库的引用,这是使您的Access应用程序依赖于外部库<
的一般做法br />
是要避免的。这是因为版本控制和其他DLL Hell。问题

将破坏你的应用程序。


常见的对话库刚刚经过MS修订后的其中一个

各种版本(通常)彼此不兼容,所以它b / b
是考虑添加引用的最差外部库之一。

幸运的是,几乎全部公共对话库的功能可以通过API调用复制,因此无需添加对它的引用。

不幸的是Treeview不是其中之一。 br />

现在...... MS有可能在最近的

年内稳定了通用对话框库,因此在Access应用程序中使用它会更安全,但是由于使用较新版本的Access,因此不会是
。这将是由于你(和你的用户)

所有使用相对较新的Windows风格。如果你可以指望那么你

可能没问题。我个人在访问应用程序上避免使用任何外部引用

,除非绝对没有其他方式,只有在我的公司应用程序中才能获得

我有一些想法并控制什么是或者没有安装在目标PC上。

对于一般分发的应用程序来说,几乎肯定不会发生麻烦。

几乎肯定会发生。 />

-

我没有查看附加的电子邮件帐户

到此消息。发送给...

在Hunter dot com的RBrandt





You misunderstand. *Access* doesn''t have a Treeview control. Windows has a
TreeView control as part of the Common Dialog library. To use this control in
Access means adding a reference to an external non-native library and it is the
general practice of making your Access app dependent on external libraries that
is to be avoided. This is because of versioning and other "DLL Hell" problems
that will break your app.

The common dialog library has just been one of those more often revised by MS
with the various versions (usually) not being compatible with one another so it
is one of the worst external libraries to consider adding a reference to.
Fortunately, nearly all of the functionality of the common dialog library can be
replicated with API calls, making it unnecessary to add a reference to it.
Unfortunately the Treeview is not one of these.

Now...it is possible that MS has stabilized the common dialog library in recent
years and therefore it is safer to use in your Access app, but this would not be
due to using a newer version of Access. It would be due to you (and your users)
all using a relatively new flavor of Windows. If you can count on that then you
might be alright. Personally I avoid any external references on my Access apps
unless there is absolutely no other way and only then on my corporate apps where
I have some idea and control over what is or isn''t installed on the target PCs.
For an app that will be generally distributed it is just not worth the hassles
that will almost certainly occur.

--
I don''t check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com




Rick,

感谢您的回复。

由于预期Treeview Control仍然存在问题,我昨晚从头开始创建了

a treeview想要的(可能是4小时)工作)

使用一个连续的表格,一个临时表,四个存储过程和

Wingdings字体和100%复制Windows的功能

ActiveX Treeview控件,但也提供图形按钮式对象

的下拉列表。我的版本有两个类似节点的级别,但是

对于可以添加的数量没有限制。此外,它非常快 -

加载约100个级别,10,000条记录。任何对

如何完成感兴趣的人,我会提供更多细节...

lq

Rick,
Thanks for the reply.
In anticipation of the Treeview Control still being an issue, I created
a treeview wannabe from scratch last night (maybe 4 hours work) that
uses one continuous form, one temp table, four stored procedures and
the Wingdings font and 100% replicates the functionality of the Windows
ActiveX Treeview control but also aloows graphical button-like objects
for the dropdowns. My version has two node-like levels though there
would be no limit to how many can be added. Plus it''s extremely fast-
loading about 100 levels with 10,000 records. Anyone interested in how
this was done and I''ll give more details...
lq

" lauren quantrell"写了
"lauren quantrell" wrote
由于预期树视图控制仍然是一个问题,我昨晚从头开始创建了一个想要的树视图(可能是4小时工作)使用一个连续的表格,一个临时表,四个存储过程和Wingdings
字体,100%复制Windows ActiveX Treeview控件的功能,但也可以图形化用于下拉菜单的类似按钮的对象。我的版本有两个类似节点的级别,但是对于可以添加的级别没有
限制。此外,它还有大约100个级别的快速加载
,有10,000条记录。有兴趣了解这是怎么做的,我会提供更多详细信息......
In anticipation of the Treeview Control still
being an issue, I created a treeview wannabe
from scratch last night (maybe 4 hours work)
that uses one continuous form, one temp table,
four stored procedures and the Wingdings
font and 100% replicates the functionality of
the Windows ActiveX Treeview control but
also aloows graphical button-like objects
for the dropdowns. My version has two
node-like levels though there would be no
limit to how many can be added. Plus it''s
extremely fast-loading about 100 levels
with 10,000 records. Anyone interested in how
this was done and I''ll give more details...




Lauren,我想很多人会对完成感兴趣-all-in-Access

替代TreeView。您是否考虑过将其发布到某个地方?

在您进行了更多测试后可以使用它?如果您决定这样做,首先发布它作为测试版版本来限制抱怨。


Larry Linson

Microsoft Access MVP



Lauren, I think many people would be interested in a done-all-in-Access
substitute for the TreeView. Have you considered posting it somewhere and
making it available after you have done a bit more testing? Release it first
as a ''beta'' version to limit the gripes, if you decide to to so.

Larry Linson
Microsoft Access MVP


这篇关于访问Treeview - 它还安全吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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