没有树视图参考 [英] No treeview reference

查看:83
本文介绍了没有树视图参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用ActiveX树视图控件。我试图在VBA中声明它,并发现没有选项将变量声明为MsComctlLib.TreeView。我假设这是一个参考问题,但我找不到专门针对树视图的参考,我无法在网上找到它需要的参考。我也检查过,我的计算机上没有MsComctlLib文件,我认为我需要它。我在哪里可以得到它,如何将它添加到参考列表?

I''m trying to use an ActiveX treeview control. I was trying to declare it in VBA and discovered that there was no option for declaring a variable as MsComctlLib.TreeView. I''m assuming that this is a reference problem, but I can''t find a reference that specifically says for the treeview and I can''t find online what reference it requires. I also checked, and I don''t have the MsComctlLib file on my computer which I would assume that I would need. Where can I get it and how do I add it to the references list?

推荐答案

因为我很密集......你试过(现在我'在2010年的硬盘安装版OFFICE14中发言:

设计模式下的表格。

插入activex控件

Microsoft Treview控制,版本6.0


这个要么不可用,要么不起作用?


打开VBA编辑器:

工具

参考资料

[X] Microsoft Office 14对象库

[X] Microsoft ActiveX Dataobjects 2.1库


如果我没记错的话你需要mscomctl.ocx。在WinXP安装中它位于windows \system32中


确定 - 我正在推动20个小时的上班时间,我需要在接下来的5个小时内回来休息,所以请小睡一下


圣诞快乐给那些25岁以上的人在同一船智慧的快乐平安夜我!


喝一口EggfNoggg ..,..! !!!,!!!!! zzzzzzzzz
Just because I''m dense.... you tried (now I''m speaking in version 2010 which is OFFICE14 on the hard-drive install:
Form in design mode.
Insert activex control
Microsoft Treview Control, Version 6.0

this either was not available or did not work?

Open VBA editor:
Tools
References
[X] Microsoft Office 14 Object Library
[X] Microsoft ActiveX Dataobjects 2.1 Library

You need "mscomctl.ocx" if I remember correctly. IN a WinXP install it is in the "windows\system32"


OK - I''m pushing 20 hours up time and I need to be back up and out within the next 5 hours so time for a nap

Merry Christmas to those who are in the 25th and Happy Christmas Eve that are in the same boat with me!

A sip of EggfNoggg..,..! !!!, !!!!! zzzzzzzzz


笑脸的文章没有解释如何抓住图书馆Seth?


我仍​​然使用Win XP,文件是在我的系统上找到:
C:\ WINDOWS \ system32 \ mscomctl.ocx


如果你没有这个然后你需要在尝试访问之前抓住并安装它; - )
Does Smiley''s article not explain how to get hold of the library Seth?

I use Win XP still and the file is found on my system as :
C:\WINDOWS\system32\mscomctl.ocx

If you don''t have this available then you need to get hold of and install it before trying to access it ;-)


@Z我也在使用Access 2010。插入控件工作得很好。当我试图将变量声明为一个树形视图时,我的问题出现在他的视频中,因为Smiley已经在他的视频中显示了
@Z I''m using Access 2010 as well. Inserting the control worked just fine. My problem came in the VBA editor when trying to declare a variable as a treeview as Smiley had in his video
展开 | 选择 | Wrap | 行号


这篇关于没有树视图参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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