Treeview Deployment for Access 97

A

AccessVBA

I've developed a Microsoft Access 97 front end database that contains
reference to the Microsoft Common Controls 6 - namely I'm using Treeview
6 and Listview (mscomctl.ocx)



The database is part of a staff management system that draws scheduling
from Totalview and staff entry statistics.



I had spotted that cas1 has asked a similar question in relation to this
one, however the answer provided still did not seem clear enough to
completely help in my case.



I'm using Wise InstallBuilder 8.1 to install the database to Windows
NT based machines. Not all machines have the full version of
Microsoft Access 97, and some of them only have the runtime
component, some are installed with nothing and I have included the
runtime files in my install.



I have two treeviews and one two listviews on the main screen.



The problem is that the treeview and listview controls do not behave
correctly when the database main screen loads.



All of the treeviews will repeatedly say 'there is no object behind the
control', and halt on execution, or in some cases will just come up
blank with the outline appearing sort of boldish.



I figured that this might be a licence problem since the treeview
control needs to be registered, however I am having difficulty getting a
clear picture of what exact files and registry alterations are required
to successfully get a treeview control working.



I am using an MDE, as from my understanding thus far, the runtime part
of the control is accessed by a compiled version of a project (I
believe that this applies to visual basic projects, but to access
projects too?).



I refer to the treeview's nodes using inline code with the forms class
module, from other subs and functions - could there be a possibility
that the treeviews are not working correctly outside of the licensing
issue, even though on my development machine they work perfectly?



I really need some help with this, as I have been working day and
night on this project for quite some time, only to be foiled at the
point at which the organisation I am working for expects the database
to be active.



-t
 
A

Alex Dybenko

first make sure mscomctl.ocx file version is same on all PCs
then check that you start reffer to treeview/listvew only at OnLoad form
event, do not use OnOpen event

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top