Active X Controls in XP and 97/NT

DeutchBose

Board Regular
Joined
Mar 22, 2004
Messages
83
I have some VBA coding inside an Access database that is working fine in 97/NT but not working in XP.

The code references an Active X Control with the following properties:

OLE Class: TreeCtrl
Class: MSComctlLib.TreeCtrl.2

The name of the control is 'TreeView'...and this is the code in question:

Set RS = DB.OpenRecordset("Query1", dbOpenForwardOnly)
Do Until RS.EOF
Me!TreeView.Nodes.Add RS!Field1, tvwChild, RS!Unique_Key_n_Product, RS!Product
RS.MoveNext
Loop


Is there anything specific about this Active X Control that I need to know, or something specific I need to install? I can't imagine why it would work on 97 and not on XP...
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,221,819
Messages
6,162,155
Members
451,749
Latest member
zack_ken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top