473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

.NET Application Updater Component: how to handle an OCX?

Hi,

I have an VB.NET application that uses an OCX for some control. I integrated
the application with the .NET Application Updater Component
(http://windowsforms.net/articles/appupdater.aspx) to copy automaticly new
versions of the application to the clients.

The problem is: it copies the OCX, but the OCX isn't registered. Everything
works fine until the the directory of the old version is deleted: The
application doesn't find anymore a registered ocx, and therefore throws an
error.

Is there anyway how I could work aroudn this problem? Can I make it
registered automaticly? Or make it in some way that it shouldn't be
registered? Maybe be playing with the way I reference it in VS.NET? Or some
way I can put it in my first setup so I won't have this problem with other
updates?

Thanks a lot in advance,

Pieter
Jul 21 '05 #1
3 1902
Check the documentation under:

ms-help://MS.VSCC/MS.MSDNQTR.2004JAN.1033/vbcon/html/vboriInstallationCompon
ents.htm

Essentially you'll add a class that, after the installation of the
components, can manually register the component for you. The classes in the
..NET Framwork make this pretty easy to do.

Pete
"DraguVaso" <pi**********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I have an VB.NET application that uses an OCX for some control. I integrated the application with the .NET Application Updater Component
(http://windowsforms.net/articles/appupdater.aspx) to copy automaticly new
versions of the application to the clients.

The problem is: it copies the OCX, but the OCX isn't registered. Everything works fine until the the directory of the old version is deleted: The
application doesn't find anymore a registered ocx, and therefore throws an
error.

Is there anyway how I could work aroudn this problem? Can I make it
registered automaticly? Or make it in some way that it shouldn't be
registered? Maybe be playing with the way I reference it in VS.NET? Or some way I can put it in my first setup so I won't have this problem with other
updates?

Thanks a lot in advance,

Pieter

Jul 21 '05 #2
Hi Dragu,

I had a similar problem. Basically you have to modify your application
launcher. This is called the AppStart in the updater application block. This
is the main process that will copy the downloaded files into the current
directory. As you see .ocx file you have to do your manual registration of
the component.

HTH,
Hi,

I have an VB.NET application that uses an OCX for some control. I integrated the application with the .NET Application Updater Component
(http://windowsforms.net/articles/appupdater.aspx) to copy automaticly new
versions of the application to the clients.

The problem is: it copies the OCX, but the OCX isn't registered. Everything works fine until the the directory of the old version is deleted: The
application doesn't find anymore a registered ocx, and therefore throws an
error.

Is there anyway how I could work aroudn this problem? Can I make it
registered automaticly? Or make it in some way that it shouldn't be
registered? Maybe be playing with the way I reference it in VS.NET? Or some way I can put it in my first setup so I won't have this problem with other
updates?

Thanks a lot in advance,

Pieter

Jul 21 '05 #3
Great idea's!! Thanks guys!!!

"wesley" <we*@inthemix.com.au> wrote in message
news:u7*************@tk2msftngp13.phx.gbl...
Hi Dragu,

I had a similar problem. Basically you have to modify your application
launcher. This is called the AppStart in the updater application block. This is the main process that will copy the downloaded files into the current
directory. As you see .ocx file you have to do your manual registration of
the component.

HTH,
Hi,

I have an VB.NET application that uses an OCX for some control. I

integrated
the application with the .NET Application Updater Component
(http://windowsforms.net/articles/appupdater.aspx) to copy automaticly new versions of the application to the clients.

The problem is: it copies the OCX, but the OCX isn't registered.

Everything
works fine until the the directory of the old version is deleted: The
application doesn't find anymore a registered ocx, and therefore throws an error.

Is there anyway how I could work aroudn this problem? Can I make it
registered automaticly? Or make it in some way that it shouldn't be
registered? Maybe be playing with the way I reference it in VS.NET? Or

some
way I can put it in my first setup so I won't have this problem with other updates?

Thanks a lot in advance,

Pieter


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nick | last post by:
Hi, I would like to make my application to automatically check on updates from a source and if any, downloads it and automatically updates itself with the new version. Now because the...
1
by: Charles A. Lackman | last post by:
Hello, I have created an application and when the application is started it checkes for an update to the software on a web service. All the implementation works great but now I am trying to...
0
by: Rhon Stewart via DotNetMonster.com | last post by:
Hi please visit this link : http://www.eggheadcafe.com/articles/pfc/selfupdater.asp I followed all the steps for listed on the link , when I execute the application it it gives me the following...
0
by: Rhon Stewart via DotNetMonster.com | last post by:
Please visit the following link: http://www.eggheadcafe.com/articles/pfc/selfupdater.asp Here A complete code for using Application updater , I downloaded the code from the link. When I run the...
0
by: Kenneth P | last post by:
Hi, http://windowsforms.net/articles/appupdater.aspx is the url to the windowsforms updater component. Would it be possible to use that one on an ASP.NET Intranet Application? TIA
3
by: DraguVaso | last post by:
Hi, I have an VB.NET application that uses an OCX for some control. I integrated the application with the .NET Application Updater Component (http://windowsforms.net/articles/appupdater.aspx) to...
1
by: SouthSpawn | last post by:
I am looking for a way to distrubute my client application. Once I distrubute my application, I will want it to automatically update itself. I will put the new files on the webserver. I have seen...
1
by: marc.fuehnen | last post by:
hi everybody, tried the framework and build a little SQL Update, triggered by a JS function: <a href="Javascript:updateData()"><img src="../images/thumbs/thumb_blue.png" border="0" /></a> ...
1
by: ITG | last post by:
I am using appupdater component in my application for update a new version of window based application. While using this component with "app doain mode", The old version of application runs...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.