|
Question : Another missing reference question
|
|
I recently added a date picker object to my database which requires the following refernce: Microsoft Windows Common Controls-2 6.0 (SP3) this reference is located at: C:\WINDOWS\system32\MSCOMCT2.OCX this file is an Active X Control.
There are several users who do not have this file in their computers which of course throughs a missing reference error everytime the form with the datepicker is loaded.
Is it possible to simply copy C:\WINDOWS\system32\MSCOMCT2.OCX from my computer and paste into the C:\WINDOWS\system32 folder of the other machines to repair the reference or are changes to the registry neccesary for this to work?
If this is not possible and I delete the date picker will I need to remove the references in my machine on save to stop the missing reference error on the other boxes or will the missing reference be ignored if it is not called?
Is there a third option I have overlooked?
Thanks A Buch!!! Browsen
|
|
Answer : Another missing reference question
|
|
You can put Walt's line in a batch file:
@Echo Off regsvr32 "C:\Windows\System32\MSCOMT2.OCX"
Name it something link "regcom.bat" then have your users doubleclick this to run it. If you're using a professional installation program (Wise, InstallShield, etc) then your installer can do this for you. Are you sure that you have the necessary licensing to distribute this? You'd need the Developer version of Access to do this, and be SURE to distribute the control that ships with that Developer edition, NOT the control that ships with VB ...
|
|
|