473,498 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.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 1910
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
458
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
1524
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
4989
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
1694
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
1025
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
2545
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
1704
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
3151
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
1175
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
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
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
7203
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...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.