Solved

OCX Question

Posted on 1998-09-28
1
164 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
ID: 1437181
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

777 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