473,898 Members | 3,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Treeview nodeClick doesn't fire when clicked

9 New Member
We are using the treeview common control in an MS Access form. I've encountered a situation with a user where when he clicks a node in the tree, the nodeclick() event does not fire, yet the tree is still fully navigable. He can open and close all the branches, but the background code that picks up the nodeclick() just doesn't fire. However we have buttons on the screen that, thru code, find the next node and "click" it through VBA. That works fine and the resulting nodeclick() code does fire in that case, just not when the user uses the mouse to click it.

I'm struggling for how to even begin troubleshooting this. It's one thing to have an error happen that I can trace thru, but when something doesn't happen and no event is triggered, how might I track down where the failure is? BTW, this is a Windows XP/Office 2007 PC.

We were hit hard by the MS12-060 patch issue as documented in the following KB: http://support.microsoft.com/kb/2748410
We're still dealing with users that are opening the database for the first time since August and discover it won't work. In troubleshooting the problem, another administrator did "something" to the PC. Unfortunately I don't know what they did but I do know it had to do with the MSCOMCTL.OCX library, which is the exact same library the treeview comes from. I've confirmed the filesize/date and it is still the correct common controls library version. Otherwise the entire database is functional and working fine.

Any ideas?
Dec 12 '12
13 10612
32,584 Recognized Expert Moderator MVP
Good work between you guys. I would simply add that it is worth looking through all the security settings, rather than just the Add-In one I referred to earlier. Make sure it trusts the VBA project etc. I'm sure you already have, but it doesn't hurt to have it documented in the thread. Others my find their way here in future and need more details spelled out ;-)
From what I know that's all controlled via group policy and not directly in Access so ...
Group Policy covers various things across a Domain including Users, Servers, PCs etc. It is another level of control, but it is still controlling the same items that are already present in the Users, Servers & PCs. This means that direct control in Access is not incompatible with Group Policy control. Both can, and do, pertain to the same settings on your PC. However, in many cases it is possible for GP settings to be mandatory and thus unable to be changed except via GP. What I am trying to say is that it isn't true to say that using GP necessarily precludes the normal interface, but sometimes it can of course.
Dec 13 '12 #11
9 New Member
Great point NeoPa. I was thinking that some of the ActiveX and other security controls were only accessible through GP in Access 2007/WinXP. I guess that may not be the case, but either way you make a valued point for anyone following up on this issue. Thanks!
Dec 13 '12 #12
32,584 Recognized Expert Moderator MVP
Glad to help where I can :-)

If you do find any settings within Access that are exclusively controlled by GP then you will know because trying to change/set them will result in a message informing you that the particular setting is under the control of the GP and you need to speak to your administrator if you want it changed. I don't have an example to hand, so can't post the exact message, but it isn't ambiguous. You'll know.
Dec 13 '12 #13
2 New Member
I stumbled in here 12 years later, with a problem that sounds very similar.
I use several treeview controls in a large access database. All of them were working fine except one. The one problem child was working fine until this morning when it simply stopped responding to any events.
I tried a bunch of things, believing the code to be partially scrambled or broken.
The thing that finally fixed it however was unexpected. I had a class variable declared at the form level (so that it would remain available the entire time the form is on screen). When I changed that variable declaration from:

Private nWho As New clsUser


Private nWho As clsUser

Suddenly everything started working -- weird because the clsUser has NOTHING to do with the treeview control here.
So, if in the long history of the internet anybody happens to stumble across this post.... Try messing with any declarations you may have.
Carry on soldier.

May 29 '24 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Alex Stevens | last post by:
Hi, I have a page in which I've added code to the Page_Load event. I send the url to a user in an email, and they click on it to activate an account. I put a breakpoint on the first execuable line of code in the page load event. The breakpoint works fine when linked to from another page on the site, and
by: xxbmichae1 | last post by:
I have a <select> object that i've set up an onchange event that fires in IE fine when I use the cursor up and down in the list, but If I use the cursor up and down in Firefox the event doesn't seem to fire until I've left the field....If i use the mouse all is fine, only when using the cursor keys does it not fire the onchange event in FF. Thanks for any help in advance.
by: Peter Afonin | last post by:
Hello: I'm deleteing data using Datagrid, then rebind it. For some reason ItemDataBound event doesn't fire after DeleteCommand. Why is this? Is it by design, or I'm missing something? I have some important calculations in ItemDataBound event. My code for DeleteCommand is below. I would appreciate your help very much. Private Sub dgData_DeleteCommand(ByVal source As Object, ByVal e As
by: wylbur37 | last post by:
I'm running an Apache server on my own computer (Windows XP Pro). I wrote a simple PHP script (called test3.php) that I'm running by putting the following URL in the address bar of the browser (Firefox) .... http://localhost/test3.php The script generates the following link using the echo statement ...
by: MalingreM | last post by:
Hi, I'm quite new to sql2005, and I've the following problem. When I insert records in table Data one by one, the insert/update trigger fires correctly, but: when i insert multiple records at once; it doesn't I use a syntax like this: INSERT INTO Data (ProcID, TaskID, , , , IsAddrField, UsedInSubProcID) SELECT @ProcID, @TaskID, , 0 ,, IsAddrField, UsedInSubProcID FROM Fields WHERE ProcID = @ProcID Please help? Maarten
by: km7kumar | last post by:
Any ideas? thanks /kmk
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.