|
|
Question : The espresson On Click you entered as the event property setting produced the following error
|
|
I get the error below when a user attempts to open a file on disk using the GetOpenFileName() function:
The espresson On Click you entered as the event property setting produced the following error: License information for this component not found. You do not have an appropriate license to use this functionality in the designed environment.
* The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, event, or macro.
This program works fine on all but one workstation in the office. It even runs fine on the offending workstation until the user attempt to open a file. I have the following declaration in the program:
Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
Why would this one computer be blowing up on this? As usual, the error message sounds like it is telling me something, but I can't decipher its meaning.
|
Answer : The espresson On Click you entered as the event property setting produced the following error
|
|
Is this DLL (comdlg32.dll) registered on the workstation that the program is not working on? Based on the error it appears like the DLL is not registered or is missing on the computer.
|
|
|
|
|