General information
Category:
COM/DCOM and OLE Automation
I had a similar user problem but i cannot recall the exact error msg. But it was MSword and automation. For an admin user, no problem. But for non-admin users, MSWord was displaying a "Accept the EULA" dialogue box to the user, which they never saw with the vfp automation. They had to get an admin user to launch Word via the START button, and accept the EULA. That fixed the problem. The non-admin's could not accept the EULA themselves. (Actually they could, but they would always be prompted regardless.) They were not aware of any windows/office updates that may have caused it. And they had been using Word before.
>I had a support call today for a VFP application that was written by someone else. I have not had the opportunity to review the source code on this. I believe the application is written in VFP8. The behavior was demonstrated to me when running under Windows Server 2008 but it also happens on Vista.
>
>The application has a Word mail merge feature that appears to be started via automation. The application works as expected when the administrator runs the application. When a user other than administrator runs the application an error occurs. The error is "OLE cannot find object" (sorry I forgot to get the exact error message). If the application is run 'as administrator' it works but the user is forced to enter the admin credentials.
>
>I'm guessing that this has something to do with the UAC.
>
>Is there something short of 'run as admin' that will allow VFP to start Word?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only