It sounds like you need to use regsvr32 to register your component. If
you've done this already, Try unregistering it, and registering it
again.
Hope it helps
Joe Conaty
Nations Direct IS Dept
(xxx) xxx-xxxx Ext 221
-----Original Message-----
From: Mark Roworth [mailto:mark.roworth@b...]
Sent: Monday, June 10, 2002 9:41 AM
To: professional vb
Subject: [pro_vb] Dependencies
Hi all,
I'm getting an error I don't know how to resolve, which is:
Run-time error 339
Component 'DataControls.ocx' or one of its dependencies not correctly
registered: a file is missing or invalid.
When I'm trying to run an OCX project in debug mode instead of the
compiled
executable. It happens when the caller is trying to load an MDI child
form
with one of the controls defined in the OCX on it. All the references
seem
fine and I can recompile the executables with no errors.
Anyone got any ideas? Most gratefully received. Thanks,
Mark Roworth
Dolphin Computing Ltd
www.dolphincomputing.co.uk
Phone: (UK) 01273 262865