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...
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...