Mike, Wish it did. I manually register it with in a Command Window run as Administrator and get the message stating it was successful. Yet, still not entries in the registry.
Tracy -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Mike Sent: Thursday, March 22, 2018 6:00 PM To: [email protected] Subject: Re: ActiveX control refuses to register Tracy, Just a WAG, but I ran into a "Silent Failure" of Regsvr32 the other day on a Win10 Pro system. I would run regsvr32 /s thecontrol.ocx from within my application's folder where the OCX files were located...then when my app tried to use the controls, it would throw an error. I got it to work by adding the explicit path of the OCX control to the command line. In other words regsvr32 /s "c:\myprogram\thecontrol.ocx" worked. Go figure. Hope this helps. Mike Copeland Tracy Pearson wrote: > Eric, > > I wish I could just put it into the local folder. However, ActiveX controls > don't work that way. > > I have unregistered the control, and registered the control after, > restarted, uninstalled Symantec Endpoint and tried it all again. Same > problem. > I manually created some of the registry values to attempt to get around the > problem. It still persist. > I say some, because the DLL has several COM classes in it. > I created an EXE that creates the control differently and it works: > Form.CreateObject("test", "oleobject","activexserver.class") > > But my main project has it in a Classlib, with some additional code in it. > No code in the INIT of the oleControl. > The error that form gets is "Class is not registered". Which I see in the > Registry it isn't, until I manually put those key parts it to get the other > one working. Still get the same error in the main project. > > > Trying other things, but this one is challenging. > > Thank you, > Tracy > > > -----Original Message----- > From: ProfoxTech [mailto:[email protected]] On Behalf Of Eric > Selje > Sent: Thursday, March 22, 2018 5:01 PM > To: [email protected] > Subject: Re: ActiveX control refuses to register > > I'm not sure, especially if the result says it registered successfully. > Can you just put the control in the app's default folder so it can be found? > > Eric > > On Thu, Mar 22, 2018 at 9:53 AM, Tracy Pearson <[email protected]> > wrote: > >> I have some client workstation that refuse to register an ActiveX control > I >> use in my VFP app. >> Even manually typing the RegSvr32 command. The message that appears states >> it registered successfully. However, the Registry is never updated. >> >> What ideas can I use to track down this problem? >> >> Thank you, >> Tracy >> > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

