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
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