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
341 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
[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
5 Comments
 
LVL 11

Expert Comment

by:Jamie Garroch
ID: 40521469
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)
ID: 40521581
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
ID: 40521734
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
ID: 40548143
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
ID: 40556003
It was due to an incorrect ocx file in the system.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

739 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