Solved

Cannot view Treeview controls in Access (2010) after upgrading to Autodesk 2015 and VBA 7 (previously Autodesk 2013 with VBA 6)

Posted on 2014-12-28
5
311 Views
Last Modified: 2015-01-18
Hi,

I have an Access database and it consists of few forms. When I try to view a form which has a tree view control in it, I get "There is no object in this control" error.

This machine previously had Autodesk 2013 (VBA 6) installed,  and later upgraded to Autodesk 2015 (VBA 7.1)

It is a Windows 7 (Professional) 32-bit operating system

It is very much appreciated if anyone can help me to fix this issue.

Thank you
0
Comment
Question by:managedsol
5 Comments
 
LVL 9

Expert Comment

by:Jamie Garroch
Comment Utility
There is no 64 bit version of the MSComCtl in VBA7 and hence the Tree View control is deprecated as per this MSFT article:

http://msdn.microsoft.com/en-us/library/office/ee691831%28v=office.14%29.aspx#odc_office2010_Compatibility32bit64bit_ActiveXControlCOMAddinCompatibility
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
Comment Utility
although Jamie is correct, you don't indicate whether you are using 32 bit or 64 bit Office.  Since 32 bit Office will run (and is actually recommended by Microsoft) on 64 bit operating systems, I would encourage you to use the 32 bit version of Office if you can.
0
 
LVL 84
Comment Utility
I would bet that the update modified the files on which that treeview library depends, which renders your app unusable.

Get rid of the treeview, or use something like this: http://www.jkp-ads.com/articles/treeview.asp or use a valid 3rd party control like the Bennet-Tec TList: http://www.bennet-tec.com/btProducts/TList/TList.htm or DBi-Tec's ctTree; http://www.dbi-tech.com/ComponentPage_ctTree.aspx. I've used both of the last two, and they work well in my limited testing.
0
 

Accepted Solution

by:
managedsol earned 0 total points
Comment Utility
Hi,

Thank you for all your comments. Error occurred due to an incorrect version of  MSCOMCTL.OCX.  Everything worked ok once I replaced that file.

Regards
0
 

Author Closing Comment

by:managedsol
Comment Utility
It was due to an incorrect ocx file in the system.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

744 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now