Solved

Run-Time error 429

Posted on 2002-06-11
4
199 Views
Last Modified: 2010-05-02
I use a MAPI custom controls in my project, It runs without nay problem with Win ME, and when i make a setup program and run the Exe file from WinXp, before showing the target form that contains the control, an error msg appears:
=============
- Run-time error '429'
- You do not have an appropriate license to use this functionality
=============
In the same time another project that uses the same control runs okay in the same plateform.

Why that msg appear?

thanks
elzohry
0
Comment
Question by:elzohry
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
gencross earned 50 total points
ID: 7069700
Here is an MS article.  Hope it helps.

PSS ID Number: Q152609
Article last modified on 01-11-2001
 
WINDOWS:4.0
 

 

======================================================================
-------------------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Visual Basic Standard Edition, 32-bit, for Windows, version 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows, version 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows, version 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows, version 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows, version 4.0
-------------------------------------------------------------------------------
 
SYMPTOMS
========
 
A Visual Basic program runs properly on the development computer. The executable
file, along with the associated control (.OCX) and .DLL files, are copied to
another computer. Attempting to run the program on the other computer results in
the error 424 with the following message:
 
   You do not have an appropriate license to use functionality.
 
CAUSE
=====
 
 - The controls or DLLs used by the program were not registered in the system
  registry of the other computer.
 
 - Some controls used by the program require dependency files that need to be
  installed and registered in the other computer.
 
 - Some files, such as those for JET, are required to be in specific
  directories.
 
WORKAROUND
==========
 
Use the Setup Wizard in Visual Basic to create an installation program that
copies all the required files to the correct locations and makes the proper
registry modifications. To install the program into another computer, use the
installation program and the compressed files developed using Setup Wizard to
properly install the program.
 
STATUS
======
 
This behavior is by design.
 
MORE INFORMATION
================
 
Visual Basic version 4.0 uses substantially more OLE components than version
3.0. These components have dependency files and require system registry
modifications. Even if another setup program is used, Setup Wizard should be run
on your application to allow the Wizard to determine all the necessary files
needed by your program.
 
To reduce the number of required program files, remove unneeded controls from the
project in the Custom Controls dialog box by following the steps below:
 
1. From the Tools menu, click Custom Controls, or press CTRL+T to display the
  Custom Controls dialog box.
 
2. In the Custom Controls dialog box, clear the checkboxes of the unneeded
  controls. Click OK to close this dialog box.
 
3. From the Tools menu, click References to display the References dialog box.
  Clear the checkboxes of the unneeded controls. Click OK to close this dialog
  box.

 
0
 

Author Comment

by:elzohry
ID: 7072967
Thanks of your comment, and Sorry for Grading B.

elzohry
0
 
LVL 4

Expert Comment

by:gencross
ID: 7073180
Ok, but why grade B?
0
 

Author Comment

by:elzohry
ID: 7079442
Because i am sure that my error msg is
==
Run-time error '429'
- You do not have an appropriate license to use this functionality
==
and i belive that the error due to registry probelm, but i dont know why.
and i lastly found that when i compile my project and run it in XP it shows the error msg, and in another time it works ok.
My be a GOUST!!!

elzohry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now