dbTalk Databases Forums  

Access 2010 Treeview & ImageListCtrl

comp.databases.ms-access comp.databases.ms-access


Discuss Access 2010 Treeview & ImageListCtrl in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil
 
Posts: n/a

Default Access 2010 Treeview & ImageListCtrl - 12-17-2009 , 01:58 PM






In AK2 I used the MSCOMCTL.OCX in the Windows\System32 folder.
I am now using Windows7, and access 2010.
Although the programme compiles without error, the tree view doesn't show,
and reports in error "there is no object in the control"

So what is the library I need (Where is it situated?)
Should the treeview and listimage control work has in the previous version of
my database?

If I try to create a new form and add the Treeview additional control, I get
an error about it not being registerd

If I have to be register the OCX are any problems?

Any help please

Many thanks,
Phil

Reply With Quote
  #2  
Old   
Matthew Slyman
 
Posts: n/a

Default Re: Access 2010 Treeview & ImageListCtrl - 12-16-2010 , 12:14 PM






I'm having the exact same problem, with the 64-bit versions of Windows 7 and Office 2010. Would very much like some help...

Quote:
On Thursday, December 17, 2009 6:58 PM Phil wrote:

In AK2 I used the MSCOMCTL.OCX in the Windows\System32 folder.
I am now using Windows7, and access 2010.
Although the programme compiles without error, the tree view does not show,
and reports in error "there is no object in the control"

So what is the library I need (Where is it situated?)
Should the treeview and listimage control work has in the previous version of
my database?

If I try to create a new form and add the Treeview additional control, I get
an error about it not being registerd

If I have to be register the OCX are any problems?

Any help please

Many thanks,
Phil

Quote:
Submitted via EggHeadCafe
Microsoft ASP.NET For Beginners
http://www.eggheadcafe.com/training-...NET/7/ASP.aspx

Reply With Quote
  #3  
Old   
Matthew Slyman
 
Posts: n/a

Default Re: Access 2010 Treeview & ImageListCtrl - 12-16-2010 , 12:15 PM



I'm having the exact same problem with the 64-bit versions of Windows 7 and Office 2010.

Quote:
On Thursday, December 17, 2009 6:58 PM Phil wrote:

In AK2 I used the MSCOMCTL.OCX in the Windows\System32 folder.
I am now using Windows7, and access 2010.
Although the programme compiles without error, the tree view does not show,
and reports in error "there is no object in the control"

So what is the library I need (Where is it situated?)
Should the treeview and listimage control work has in the previous version of
my database?

If I try to create a new form and add the Treeview additional control, I get
an error about it not being registerd

If I have to be register the OCX are any problems?

Any help please

Many thanks,
Phil

Quote:
On Thursday, December 16, 2010 12:13 PM Matthew Slyman wrote:

I'm having the exact same problem, with the 64-bit versions of Windows 7 and Office 2010. Would very much like some help...

Quote:
Submitted via EggHeadCafe
Microsoft LINQ Query Samples For Beginners
http://www.eggheadcafe.com/training-...Operators.aspx

Reply With Quote
  #4  
Old   
Phil
 
Posts: n/a

Default Re: Access 2010 Treeview & ImageListCtrl - 12-16-2010 , 02:54 PM



On 16/12/2010 17:15:12, Matthew Slyman wrote:
Quote:
I'm having the exact same problem with the 64-bit versions of Windows 7
and Office 2010.

On Thursday, December 17, 2009 6:58 PM Phil wrote:

In AK2 I used the MSCOMCTL.OCX in the Windows\System32 folder.
I am now using Windows7, and access 2010.
Although the programme compiles without error, the tree view does not show,
and reports in error "there is no object in the control"

So what is the library I need (Where is it situated?)
Should the treeview and listimage control work has in the previous version of
my database?

If I try to create a new form and add the Treeview additional control, I get
an error about it not being registerd

If I have to be register the OCX are any problems?

Any help please

Many thanks,
Phil


On Thursday, December 16, 2010 12:13 PM Matthew Slyman wrote:

I'm having the exact same problem, with the 64-bit versions of Windows 7 and Office 2010. Would very much like some help...


Submitted via EggHeadCafe
Hi Matthew

You need to have a reference to "C:\Windows\SysWow64\MDCOMCTL.OCX.

I messed around for a hell of a time to get it to work, so I don't remember
whether the file is there by default, or whether I copied it from System32

Neither can I remeber whether I registered.

Sorry I can't be of more help, but at least you know the correct file

Phil
Quote:
Microsoft LINQ Query Samples For Beginners
http://www.eggheadcafe.com/training-...Operators.aspx

Reply With Quote
  #5  
Old   
matthew_of_cambridge
 
Posts: n/a

Default Re: Access 2010 Treeview & ImageListCtrl - 02-03-2011 , 06:19 AM



On Dec 16 2010, 7:54*pm, "Phil" <p... (AT) stantonfamily (DOT) co.uk> wrote:

Quote:
Hi Matthew

You need to have a reference to "C:\Windows\SysWow64\MDCOMCTL.OCX.

I messed around for a hell of a time to get it to work, so I don't remember
whether the file is there by default, or whether I copied it from System32

....

Phil
Phil,

Thank you - a few points in reply: there's a typo in your reference -
it should be mscomctl.ocx - I already have that reference and it's not
helping in Access 2010 64-bit running on Windows 7 - I get error
messages when I try to open forms containing COM TreeView controls.
"There is no object in this control."/ "Run time error 438: Object
doesn't support this property or method". Curiously, however, the
exact same .accdb database file works perfectly in Access 2010 32-bit
running on Windows 7 32-bit - the forms containing COM TreeView
controls open perfectly.

I now gather from other sources that COM TreeView functionality has
been removed from the 64-bit version of Office, and that Microsoft
currently has no intention of rectifying this situation. Apparently
the issue is to do with COM being 32-bit software, and that it has
been superseded by other .NET based (?) libraries (?) or something
like that.

Looks like I'll have to rewrite a portion of my software to future-
proof it.

Matthew

Reply With Quote
  #6  
Old   
Phil
 
Posts: n/a

Default Re: Access 2010 Treeview & ImageListCtrl - 02-03-2011 , 07:14 AM



On 03/02/2011 11:19:32, matthew_of_cambridge wrote:
Quote:
On Dec 16 2010, 7:54*pm, "Phil" <p... (AT) stantonfamily (DOT) co.uk> wrote:

Hi Matthew

You need to have a reference to "C:\Windows\SysWow64\MDCOMCTL.OCX.

I messed around for a hell of a time to get it to work, so I don't rememb
er
whether the file is there by default, or whether I copied it from System3
2

...

Phil

Phil,

Thank you - a few points in reply: there's a typo in your reference -
it should be mscomctl.ocx - I already have that reference and it's not
helping in Access 2010 64-bit running on Windows 7 - I get error
messages when I try to open forms containing COM TreeView controls.
"There is no object in this control."/ "Run time error 438: Object
doesn't support this property or method". Curiously, however, the
exact same .accdb database file works perfectly in Access 2010 32-bit
running on Windows 7 32-bit - the forms containing COM TreeView
controls open perfectly.

I now gather from other sources that COM TreeView functionality has
been removed from the 64-bit version of Office, and that Microsoft
currently has no intention of rectifying this situation. Apparently
the issue is to do with COM being 32-bit software, and that it has
been superseded by other .NET based (?) libraries (?) or something
like that.

Looks like I'll have to rewrite a portion of my software to future-
proof it.

Matthew

Hi Matthew

I originally tried 64bit Office, and apparently there may be a slight
advantage using it with Excel, but not with Access, so reverted back to 32bit
to overcome problems with treeview.
I did create a sort of treeview menu - bit hairy used a a listbox and a class
module. Not as pretty as the treeview, but it worked OK Phil
Phil

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.