Solved

Old VB6 app - Treeview_NodeClick no longer fires

Posted on 2013-12-17
4
268 Views
Last Modified: 2013-12-23
I have an old VB6 app that we use to publish sections of our website. It is used 10 times a day and was written back in the 90's (and updated along the way although I haven't made a change to it since before 2010.

Today, we're migrating one of our servers and this app has decided to quit responding to the nodeclick event of a common treeview control. Yesterday it worked. Today it doesn't. Disaster!

I have loaded the app up under the VB6 IDE and cannot for the life of me figure out why the nodeclick event is no longer firing.

Can anyone suggest what might be wrong? Has MS released an update to their common controls?

Thanks
0
Comment
Question by:ou81aswell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 29

Assisted Solution

by:Paul Jackson
Paul Jackson earned 499 total points
ID: 39726550
What were you migrating the server from/to ?
Does the App run on the server that was being migrated?
0
 

Author Comment

by:ou81aswell
ID: 39727411
Sorry, but the server migration is only related in that we need to use the program with the treeview to upload stuff to the new server and the treeview decided to stop responding to node clicks on the very day we needed it.

The program with the treeview is a Windows .exe written in good old VB6

I suspect I may have installed something recently that uses the same 3'rd party library as we do, but a different version so there may be a classic dll conflict involved but I'm going to have to investigate further.
0
 

Accepted Solution

by:
ou81aswell earned 0 total points
ID: 39728193
Happy Ending - Problem Solved

It turns out that the treeview will not generate a nodeclick event if the x or y components of the current screen coordinates are less than zero. We had our app up on a machine with 3 screens and the left hand screen, on which our app was running, had x coordinates running from -1920 to -1.

We moved the app such that its coords were positive and the program behaved as expected.

Duh!
0
 

Author Closing Comment

by:ou81aswell
ID: 39735724
I stumbled across the answer myself.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question