Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying and registering an ocx under Win10
Message
From
26/08/2016 14:02:59
 
 
To
25/08/2016 01:32:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2008 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01639815
Message ID:
01640048
Views:
100
Thanks Al. I'll see if they want to go this route or just update all 35 pc's...


>It might be possible to use an installation product like Inno Setup to streamline this operation.
>
>http://www.jrsoftware.org/isinfo.php
>
>>Update: figured out that this comdlg32.ocx now needs to be in syswow64. But cannot use copy command to COPY (lcSource) TO (lcTarget) to copy it into this directory (probably because it is a system directory). If you do it manually via file explorer, you get a dialog asking if you want to continue (assuming you have enough rights).
>>
>>Am I going to have to use some other process to copy this file into place (perhaps a powershell script with elevated rights - which I have no idea how to write) or will their IT help desk have to install and register this manually on all their PC's?
>>
>>Albert
>>
>>
>>>Hi all,
>>>
>>>Used the comdlg32.ocx in an app to allow the user to multi-select files. To automate the setup for the user, I had a utility that checked for this file in their windows\system32 directory and if not found, copy it in and register it. This now fails under Windows 10. Have read some forums and want to confirm:
>>>
>>>- should it still go in \system32 or should it now be in syswow64?
>>>- should the regsvr32 call be from system32 or syswow64 (I have not checked this yet so not sure...wanted to throw this up here before leaving for the night).
>>>
>>>I noticed there is a more recent comdlg32.DLL in system32 now (the .ocx was 1999 vintage) but did not really want to have to figure out how to setup and call that (unless someone has used it and has some quick code for me to convert to that).
>>>
>>>Thanks,
>>>Albert
Previous
Reply
Map
View

Click here to load this message in the networking platform