Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering ocx fails
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2008 R2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01637397
Message ID:
01637528
Vues:
133
You have to be an Administrator in order to register components as they are written to HKLM which is not accessible in user mode. So as such you won't be able to register a component from within the application - this should be an installer task, or otherwise has to be performed manually with elevated rights.

Use 'Run As Administrator` when you run the command window and then do the `regsvr32` call to register the component.

+++ Rick ---

>Hi all,
>
>Have not dug into this in depth but just got a call from a user and they are switching a VFP app to new Win 10 machines. When they fire up their report writer - Foxfire, older ver 6, it tries to register actbar.ocx (1999 vintage). It fails. I am not onsite yet to try it (and my current OS is 8.1).
>
>Should the program code (in Foxfire) be able to register this component or is Win 10 just that much more restrictive? I know the old "manual" way to register it was via RegSvr32 actbar.ocx. I don't have the source code for Foxfire to know what it's trying to do. Thought I would ask first before a lot of work just to find out Win 10 is blocking.
>
>Thanks,
>
>Albert Gostick
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform