Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OCX registry
Message
From
24/03/2003 08:23:27
 
 
To
All
General information
Forum:
Microsoft Office
Category:
Access
Title:
OCX registry
Miscellaneous
Thread ID:
00769184
Message ID:
00769184
Views:
36
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
Map
View

Click here to load this message in the networking platform