Solved

OCX self updating

Posted on 2002-05-14
5
257 Views
Last Modified: 2010-05-02
Is it possible to make an ocx self-updating.
Ie. the ocx detects that a new version is available, quit, uninstall, and reinstall new version?
See what i mean, how do i approach this problem ?
0
Comment
Question by:Gunsen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7008130
Update from where? A folder on the network? In this case, write a small batch file that will copy files from the network folder to the local folder, register any DLL/OCX and the launch your application.
0
 
LVL 3

Author Comment

by:Gunsen
ID: 7008249
But if the OCX is in use...?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 7008297
it won't be allowed to be copied. I synchronize some applications like this (using a batch file) and have not much problem because OCX that I upgrade are my own and are not always in memory.

an other way of doing this can be to call the upgrade batch file in the login script. this way you ensure that your OCX is not already in memory.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7060681
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065880
Thanks, emoreau  for your help here.

I have finalized this question, and will monitor it for comments.

Moondancer - EE Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

729 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