Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Steve Dingle
  Where is Steve Dingle?
 Weybridge
 United Kingdom
 Steve Dingle
 Tags
Subject: Check then register Activex Ctrl
Thread ID: 196626 Message ID: 196626 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Active X Controls & OLE Automation
Date: Sunday, September 28, 2008 8:58:50 AM         
   


Heya All,

Been going back and forth on whether to use msft treeview or the DBI one in my browser app and and I have decided to use the DBI, there is just so much more functionality IMHO (Title bar, columns, subtext, printing etc..) and I already have class set up for it.

The problem I have is I was hoping to avoid distributing an setup.exe file with the browser but without an install process I will have to register the treeview control if it's not already registered on application start up. So I was wondering if that is possible/viable.

What I was thinking I would do in my 'main.prg' was:

- Check if control registered
- If not, ask user if it's ok to register (or maybe just tell them)
- then register control

I assume I can shell out and call regsrv3r but I'm not sure how to tell if the control is registered or not (I'm crap at the registry)

Also is it the same process for Win 2K, WinXP, Server 2003 and Vista?

Any thoughts would be greatly appreciated.

Thanks,
Steve Dingle
http://weblogs.foxite.com/SteveDingle/
www.dsbusinesssolutions.co.uk



COMPLETE THREAD
Check then register Activex Ctrl Posted by Steve Dingle @ 9/28/2008 8:58:50 AM
RE: Check then register Activex Ctrl Posted by Anil Sharma @ 9/28/2008 9:22:18 AM
RE: Check then register Activex Ctrl Posted by Steve Dingle @ 9/28/2008 2:36:38 PM
RE: Check then register Activex Ctrl Posted by Anil Sharma @ 9/28/2008 5:19:30 PM
RE: Check then register Activex Ctrl Posted by Steve Dingle @ 9/29/2008 8:37:49 AM
RE: Check then register Activex Ctrl Posted by Anil Sharma @ 9/28/2008 12:05:12 PM
RE: Check then register Activex Ctrl Posted by Stefan Wuebbe @ 9/28/2008 2:59:08 PM
RE: Check then register Activex Ctrl Posted by Steve Dingle @ 9/29/2008 8:36:05 AM
RE: Check then register Activex Ctrl Posted by tushar @ 9/29/2008 8:48:42 AM