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
Solved

OCX self updating

Posted on 2002-05-14
5
248 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 82
VB 6 error 5 in windows 10 but not in XP 7 63
RUNRMTCMD from AS/400 12 68
how to Classify of email (pdf attachments) 7 45
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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