RE: RegFree Comm for ActiveX controls and VFP

Author: Tracy Pearson

Posted: 2011-12-12 at 18:16:12

Kent Belan wrote on 2011-12-12:

> Hello,

>

> I am using DBI controls in my application and have not had any problem

> installing the ActiveX controls at a client site till now.

>

> Today during the install, the OCX controls would register when the

> administrator was logged in, but when a regular user logged in the

controls

> were not registered.

>

> Tried to manually register but still did not work.

>

> Has anyone used RegFree Com and manifest files with a VFP9 SP2

application

> to deploy the ActiveX controls ?

>

> Thanks,

> Kent

Kent,

I heard you can do it, I looked into it, found it required editing an XML

document then modifying the compiled executable adding the XML into it. It

was more time consuming than I had time to work on the process.

Christof Wollenhaupt gave a presentation once at SWFox that showed you can

add the registry entries that normally appear in the HKEY_CLASSES_ROOT,

HKCR\CSLID and HKCR\TypeLib areas into the users area that matches.

That all being available, what I found out, which is usually the case with

confused ActiveX applications is one of two things.

1) Rights - either the user doesn't have rights to read that entries in the

registry, or access to the files or dependencies of the DLL.

2) The users TEMP file has more than 60,000 files in it.

I test the second one first. Open a command window, make a new directory

(i.e. c:\myapp\temp), set both TEMP and TMP to this path (i.e. SET

TEMP=C:\MYAPP\TEMP), then CD to my applications directory and start the app

in the command window. If the ActiveX still fails, look at rights.

Regedit.exe, right click on a key, select Permissions. Group Policies and

Local Policies can play a part in access rights too.

HTH,

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/003901ccb924$0aa10df0$1fe329d0$@powerchurch.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.

©2011 Tracy Pearson