Re: Programatically using Regsvr32

Author: Mike Copeland

Posted: 2015-06-10 at 11:24:25

Dave

There's additional info about DllRegisterServer on Fox.wikis.com and

several other fox-centric websites.

One caveat...I have not used that code on Windows 7 (and therefore with

UAC.) It wouldn't surprise me if there was a need for admin level clearance.

It worked very well with WinXP. I had a routine that, during program

startup, determined if several OCXs were registered. If not, it

registered them.

Mike

Dave Crozier wrote:

> Ted,

> If all else fails then I may set up an Inno package and fork out to run it if the OCX throws an error.

>

> Meanwhile I will investigate Mike's solution which looks promising.

>

> Dave

>

> -----Original Message-----

> From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Ted Roche

> Sent: 10 June 2015 17:07

> To: profox@leafe.com

> Subject: Re: Programatically using Regsvr32

>

> On Wed, Jun 10, 2015 at 9:16 AM, Dave Crozier <DaveC@flexipol.co.uk> wrote:

>> Has anyone in this wonderful throng of people had any success using regsvr32 to register an OCX programmatically in VFP.

>>

> Dave:

>

> Isn't this more an installation issue? Aren't you trying to copy, install, and register an ActiveX control on a new machine? Why not just whip up a small InnoSetup package and have the users run it, click "Next" and done?

>

>

> --

> Ted Roche

> Ted Roche & Associates, LLC

> http://www.tedroche.com

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

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/557864B9.1040609@ggisoft.com

** 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.

©2015 Mike Copeland