VB 6.0 - run time error 429 in vb6 - Asked By praveena on 03-Jul-10 06:16 AM

I get this error

License information for this component not found. You do not have an appropriate license to use this functionality in the design environment
 

plz help me get over it.........plzzzzz

Thanks in advance...

Ramendra Kumar replied to praveena on 03-Jul-10 06:37 AM

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

praveena replied to Ramendra Kumar on 03-Jul-10 09:46 AM
thank you...but i m nt getting it....
Anoop S replied to praveena on 03-Jul-10 12:25 PM

When a control is installed for run time use only (such as those installed by an application created with Visual Basic), if the Visual Basic Development Environment is installed onto the same machine afterwards and the existing control is of equal or higher version than that from the CD, the license key for that control is not updated.

If the control in question is any of the ones listed below, then find and double-click on the file Vbctrls.reg on the Visual Basic CD-ROM:

  • AniBtn32.ocx
  • Gauge32.ocx
  • Graph32.ocx
  • Grid32.ocx
  • KeySta32.ocx
  • MSOutl32.ocx
  • Spin32.ocx
  • Threed32.ocx
This will update the design-time licenses for these controls. For Visual Basic 5.0, Vbctrls.reg is found in the \Tools\Controls folder. For Visual Basic 6.0, it is found on Disk 1 in the \Common\Tools\Vb\Controls folder, and for Visual Studio 6.0, it is in the same folder of Disk 3. The Visual Basic 6.0 CD-ROM also contains these files for the Visual Basic 5.0 Custom Controls that were discontinued in Visual Basic 6.0:
  • Dbgrid.reg
  • Mschart.reg
For more information, please refer to the Readme.txt file in the same folder.

If the control in question is not among the controls listed above, please do the following:
  1. Locate Regsvr32.exe on your machine. Note its path.
  2. Locate the offending OCX file(s), usually found in the Windows\System folder for Windows 95, Windows 98, and Windows Me, or the Windows\System32 folder for Windows NT and Windows 2000.
  3. On the Start menu, click Run.
  4. In the Run dialog box, type the following:

    <Path to RegSvr32>\REGSVR32.EXE /u <Path to OCX>\OCXFILE.OCX

    For example:

    C:\Devstudio\VB\REGSVR32.EXE /u C:\Winnt\System32\COMCTL32.OCX

    NOTE: If Regsvr32.exe is in the System or System32 folder, the path is optional.
  5. If you are reinstalling an older version of the control, you should delete/remove the .OCX, .OCA and .DEP files so they will be replaced.
  6. Repeat the previous 3 steps for each offending OCX.
  7. On Control Panel, click Add\Remove Programs.
  8. Select Visual Basic, and click Add\Remove.
  9. Click Reinstall when the options (Add\Remove, Remove All, Reinstall) dialog box appears.
You can obtain latest version of VS servicepack from 

http://msdn.microsoft.com/en-us/vstudio/aa718359.aspx

refer

http://support.microsoft.com/kb/q177799/

iHelper MS replied to praveena on 10-Jul-10 08:18 AM

Although you have provided the Error Message clearly, but you have not mentioned when are you getting this error?

Are you getting this error while Launching VB6? Or, while dropping a Control into VB Form?  Or, during runtime?


Check Help -> About and see if you have the Service Pack 6 installed.  If SP6 is not installed, then download it from below URL and install the same.


http://www.microsoft.com/downloads/details.aspx?familyid=9EF9BF70-DFE1-42A1-A4C8-39718C7E381D&displaylang=en