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
|
|
0
|
|
|
|
Reply
|
Phil
|
12/17/2009 6:58:12 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...
> 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
> Submitted via EggHeadCafe
> Microsoft ASP.NET For Beginners
> http://www.eggheadcafe.com/training-topic-area/ASP-NET/7/ASP.aspx
|
|
0
|
|
|
|
Reply
|
Matthew
|
12/16/2010 5:14:21 PM
|
|
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
>> Microsoft LINQ Query Samples For Beginners
>> http://www.eggheadcafe.com/training-topic-area/LINQ-Standard-Query-Operators/33/LINQ-Standard-Query-Operators.aspx
|
|
0
|
|
|
|
Reply
|
Matthew
|
12/16/2010 5:15:13 PM
|
|
On 16/12/2010 17:15:12, Matthew Slyman wrote:
> 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
>>> Microsoft LINQ Query Samples For Beginners
>>> http://www.eggheadcafe.com/training-topic-area/LINQ-Standard-Query-Operators/33/LINQ-Standard-Query-Operators.aspx
|
|
0
|
|
|
|
Reply
|
Phil
|
12/16/2010 7:54:49 PM
|
|
On Dec 16 2010, 7:54=A0pm, "Phil" <p...@stantonfamily.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
|
|
0
|
|
|
|
Reply
|
matthewslyman (1)
|
2/3/2011 11:19:33 AM
|
|
On 03/02/2011 11:19:32, matthew_of_cambridge wrote:
> On Dec 16 2010, 7:54�pm, "Phil" <p...@stantonfamily.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
|
|
0
|
|
|
|
Reply
|
phil (911)
|
2/3/2011 12:14:48 PM
|
|
|
5 Replies
1647 Views
(page loaded in 0.078 seconds)
|