Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OCX registry
Message
De
24/03/2003 08:23:27
 
 
À
Tous
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Titre:
OCX registry
Divers
Thread ID:
00769184
Message ID:
00769184
Vues:
35
Hi All,

I have a problem with the registration of MSChart.Ocx in one form which is designed in MSAccess'97.
I had a problem with the graph ocx registry being lost when
another version or copy of the program was un-installed. One of the
solutions to this was to make sure that there was a section of code that
would automatically register a local copy of the Mschart.ocx if the
registry was not located by the program. In the current installation
process I am placing a copy of the chart ocx in the windows system
directory and registering it to that location as well as placing a copy of
the ocx in the local state directory (un-registered). The code for registration is..

If Dir(CurrentDir & "Regsvr32.exe") = "" Then
MsgBox "Files (Regsvr32.exe) required for the chart functions were not found in the " _
& " directory"
Else
Shell CurrentDir & "Regsvr32 /s " & CurrentDir & "Mschart.ocx"
End If

It appears as this above code for Mschart.ocx is no longer functioning.

Anyone knows what are the possibilities here ?

Thanks in advance,
Shilpa
Répondre
Fil
Voir

Click here to load this message in the networking platform