Hi
I need to roll out a new version of my EXE to my staff which takes on new functionality.
The new EXE uses new controls-library:
wiaaut.dll
AResize.ocx
I don't really want to create a new installation package which will mean me doing the rounds to our 30 staff.
They already use an application ( Launch MIC.exe ) which copies a server EXE locally : Part code follows:
LocFile = "C:\Program Files\MIC Office\Method-Office.exe"
SerFile = "L:\MMPDF\EC-Update\Method-Office.exe"
If fso.FileExists("C:\Program Files\MIC Office\Method-Office.exe") Then
fso.DeleteFile LocFile
fso.CopyFile SerFile, LocFile
My question is can I copy the new OCX and DLL to the users System32 and register them using the Launch MIC.exe so when they run Method-Office.exe the controls it needs are registered. This would save me hours of running from office to office.
Cheers
Register DLL - OCX at runtime
-
- SilverLounger
- Posts: 1728
- Joined: 25 Jan 2010, 08:34
- Location: Stoke on Trent - Staffordshire - England
Register DLL - OCX at runtime
Cheers ...
Dave.
Dave.
-
- Administrator
- Posts: 79561
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Register DLL - OCX at runtime
You can copy the DLL and OCX the same way you do the EXE.
See How To Register Your Custom ActiveX DLL from a Client.
Another method is shown in Register DLL's at runtime (to allow for late-binding).
See How To Register Your Custom ActiveX DLL from a Client.
Another method is shown in Register DLL's at runtime (to allow for late-binding).
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 1728
- Joined: 25 Jan 2010, 08:34
- Location: Stoke on Trent - Staffordshire - England
Re: Register DLL - OCX at runtime
Cheers Hans
I also found this one on the Microsoft site.
I'll do some testing next week.
Have a great weekend !!
Regards
Dave
I also found this one on the Microsoft site.
I'll do some testing next week.
Have a great weekend !!
Regards
Dave
Cheers ...
Dave.
Dave.