|
The control is called from Visual Basic for Applications code by using the New CommonDialog command.
The computer from where you are running the code has a run-time license instead of a design-time license for this control.
|
|
|
In the Visual Basic Editor, add a UserForm to your project.
Insert a common dialog control on the UserForm. For example, use the following code to call the common dialog control on the UserForm.
Sub test()
UserForm1.CommonDialog1.ShowOpen
End Sub
===========================================================================
again, the reasons could be many..The activex is not able to create that
object, as the error says, but the resolution primarily depends on the
object that it is trying to create. It could be any kind of applications
that the Activex component is trying to register.
So
lets pinpoint the exact cause,
1. also note
that in VB6.0 , if you are expecting that this error could prop up only
when components are missing, then you are wrong. 429 is a generic error
for unusual reasons like bad configuration too.
2.
Easiest way is to check the program ID that you are passing as an
argument to the CreateObject function. It is better to use program id's
with versions.
3. You need to check on the VB
runtime. There could be an easy mismatch between your system and the
other.
http://www.karenware.com/powertools/runtimes.asp
4. Try
registering the component, and if it already, try re-registering it.
Use
the regsvr32
command.
==========================================================================
If still Prob not solved use this link
http://support.microsoft.com/kb/828550
http://support.microsoft.com/kb/177394