Solved

OCX Question

Posted on 1998-09-28
1
162 Views
Last Modified: 2010-04-30
I have written a program that I have installed on 150+ networked computers already.  My delima is that I need to register a new OCX to each machine. I don't want to re-install the app on all the machines. Is there a way to register the OCX through code?
0
Comment
Question by:gwaltersii
1 Comment
 
LVL 1

Accepted Solution

by:
khaledc earned 50 total points
Comment Utility
Consider using Shell command as follows:
You need to know the path of regsvr32.exe on your computer, hence:
Shell "Regsvr32.exe File.OCX"
This will register OCX for you.

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now