Solved

Old VB6 app - Treeview_NodeClick no longer fires

Posted on 2013-12-17
4
264 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…

749 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