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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement