Solved

OCX self updating

Posted on 2002-05-14
5
222 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
  • 3
5 Comments
 
LVL 69

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 69

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 69

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

757 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

22 Experts available now in Live!

Get 1:1 Help Now